69 #include "../my_config.h"
99 #define LIBDAR_XXXXXXXX
102 #define LIBDAR_NOEXCEPT 0
104 #define LIBDAR_EMEMORY 1
106 #define LIBDAR_EBUG 2
108 #define LIBDAR_EINFININT 3
110 #define LIBDAR_ELIMITINT 4
112 #define LIBDAR_ERANGE 5
114 #define LIBDAR_EDECI 6
116 #define LIBDAR_EFEATURE 7
118 #define LIBDAR_EHARDWARE 8
120 #define LIBDAR_EUSER_ABORT 9
122 #define LIBDAR_EDATA 10
124 #define LIBDAR_ESCRIPT 11
126 #define LIBDAR_ELIBCALL 12
128 #define LIBDAR_UNKNOWN 13
130 #define LIBDAR_ECOMPILATION 14
132 #define LIBDAR_THREAD_CANCEL 15
174 extern void get_version(U_I & major, U_I & medium, U_I & minor,
bool init_libgcrypt =
true);
189 extern void get_version_noexcept(U_I & major, U_I & medium, U_I & minor, U_16 & exception, std::string & except_msg,
bool init_libgcrypt =
true);
204 extern void close_and_clean();
222 const path & chem,
const std::string & basename,
223 const std::string & extension,
226 std::string & except_msg);
235 const path & fs_root,
236 const path & sauv_path,
237 const std::string & filename,
238 const std::string & extension,
242 std::string & except_msg);
252 const path &sauv_path,
254 const std::string & filename,
255 const std::string & extension,
258 std::string & except_msg);
266 const path & sauv_path,
268 const std::string & filename,
269 const std::string & extension,
273 std::string & except_msg);
283 std::string & except_msg);
297 std::string & except_msg);
309 std::string & except_msg);
319 const path & fs_root,
320 const archive_options_diff & options,
323 std::string & except_msg);
336 std::string & except_msg);
346 const std::string & dir,
348 std::string & except_msg);
382 inline extern void cancel_thread(pthread_t tid,
bool immediate =
true, U_64 flag = 0) { thread_cancellation::cancel(tid, immediate, flag); }
388 inline extern bool cancel_status(pthread_t tid) {
return thread_cancellation::cancel_status(tid); }
395 inline extern bool cancel_clear(pthread_t tid) {
return thread_cancellation::clear_pending_request(tid); }