65 #include "../my_config.h"
95 #define LIBDAR_XXXXXXXX
98 #define LIBDAR_NOEXCEPT 0
100 #define LIBDAR_EMEMORY 1
102 #define LIBDAR_EBUG 2
104 #define LIBDAR_EINFININT 3
106 #define LIBDAR_ELIMITINT 4
108 #define LIBDAR_ERANGE 5
110 #define LIBDAR_EDECI 6
112 #define LIBDAR_EFEATURE 7
114 #define LIBDAR_EHARDWARE 8
116 #define LIBDAR_EUSER_ABORT 9
118 #define LIBDAR_EDATA 10
120 #define LIBDAR_ESCRIPT 11
122 #define LIBDAR_ELIBCALL 12
124 #define LIBDAR_UNKNOWN 13
126 #define LIBDAR_ECOMPILATION 14
128 #define LIBDAR_THREAD_CANCEL 15
170 extern void get_version(U_I & major, U_I & medium, U_I & minor,
bool init_libgcrypt =
true);
185 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);
200 extern void close_and_clean();
218 const path & chem,
const std::string & basename,
219 const std::string & extension,
222 std::string & except_msg);
231 const path & fs_root,
232 const path & sauv_path,
233 const std::string & filename,
234 const std::string & extension,
238 std::string & except_msg);
248 const path &sauv_path,
250 const std::string & filename,
251 const std::string & extension,
254 std::string & except_msg);
262 const path & sauv_path,
264 const std::string & filename,
265 const std::string & extension,
269 std::string & except_msg);
279 std::string & except_msg);
293 std::string & except_msg);
305 std::string & except_msg);
315 const path & fs_root,
316 const archive_options_diff & options,
319 std::string & except_msg);
332 std::string & except_msg);
342 const std::string & dir,
344 std::string & except_msg);
378 inline extern void cancel_thread(pthread_t tid,
bool immediate =
true, U_64 flag = 0) { thread_cancellation::cancel(tid, immediate, flag); }
384 inline extern bool cancel_status(pthread_t tid) {
return thread_cancellation::cancel_status(tid); }
391 inline extern bool cancel_clear(pthread_t tid) {
return thread_cancellation::clear_pending_request(tid); }