28#ifndef GET_LIBDAR_VERSION_HPP
29#define GET_LIBDAR_VERSION_HPP
31#include "//include/dar/libdar_my_config.h"
36#if LIBDAR_HAS_PTHREAD_H
43#include "//include/dar/integers.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);
114 extern void close_and_clean();
120#if LIBDAR_MUTEX_WORKS
128 extern void cancel_thread(pthread_t tid,
bool immediate =
true, U_64 flag = 0);
134 extern bool cancel_status(pthread_t tid);
141 extern bool cancel_clear(pthread_t tid);
144 extern U_I get_thread_count();
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
libdar namespace encapsulate all libdar symbols