28#ifndef GET_VERSION_HPP
29#define GET_VERSION_HPP
85 extern void get_version(U_I & major, U_I & medium, U_I & minor,
bool init_libgcrypt =
true);
97 extern void get_version(U_I & major, U_I & medium, U_I & minor,
bool init_libgcrypt,
bool init_gpgme);
110 extern void get_version(U_I & major, U_I & medium, U_I & minor, U_I gcrypt_secured_memory,
bool init_gpgme);
127 extern void close_and_clean();
141 extern void cancel_thread(pthread_t tid,
bool immediate =
true, U_64 flag = 0);
147 extern bool cancel_status(pthread_t tid);
154 extern bool cancel_clear(pthread_t tid);
157 extern U_I get_thread_count();
unsigned int for_autoconf(unsigned int x)
in case you use autoconf AC_CHECK_LIB in your program to detect the availability of libdar
void get_version(U_I &major, U_I &medium, U_I &minor, bool init_libgcrypt=true)
return the libdar version, and make libdar initialization (may throw Exceptions)
constexpr U_I LIBDAR_COMPILE_TIME_MEDIUM
libdar Medium version defined at compilation time
constexpr U_I LIBDAR_COMPILE_TIME_MAJOR
libdar Major version defined at compilation time
constexpr U_I LIBDAR_COMPILE_TIME_MINOR
libdar Minor version defined at compilation time
are defined here basic integer types that tend to be portable
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols