27 #ifndef COMPILE_TIME_FEATURES_HPP
28 #define COMPILE_TIME_FEATURES_HPP
30 #include "../my_config.h"
44 namespace compile_time
endian system_endian() noexcept
returns the detected integer endian of the system
bool FSA_linux_extX() noexcept
returns whether libdar has been built with support for linux ext2/3/4 FSA
bool remote_repository() noexcept
returns whether remote repository feature is available (implemented using libcurl)
bool nanosecond_read() noexcept
returns whether libdar is able to read timestamps at least at nanosecond accuracy
bool libthreadar() noexcept
returns whether libthreadar linking will be done, allowing libdar to span several threads
endian
type used to return the endian nature of the current system
bool libz() noexcept
returns whether libdar is dependent on libz and if so has gzip compression/decompression available
bool librsync() noexcept
returns whether delta compression is available and delta diff stuff with it
bool Linux_statx() noexcept
returns whether libdar has been built with support for Linux statx()
bool libxz() noexcept
returns whether libdar is dependent on liblxz/liblzma and if so has xz compression/decompression avai...
std::string libcurl_version() noexcept
returns the libcurl version used or empty string if not available
bool largefile() noexcept
returns whether largefile (>2GiB) support has been activated at compilation time
bool symlink_restore_dates() noexcept
returns whether libdar is able to restore dates of symlinks
bool libbz2() noexcept
returns whether libdar is dependent on libbz2 and if so has bzip2 compression/decompression available
bool liblzo() noexcept
returns whether libdar is dependent on liblzo and if so has lzo compression/decompression available
bool furtive_read() noexcept
returns whether libdar can support furtive read mode when run by privileged user
bool libzstd() noexcept
returns whether libdar is dependent on libzstd and if so has zstd compression/decompression available
bool public_key_cipher() noexcept
returns whether public key cipher (relying on gpgme) are available
bool libgcrypt() noexcept
returns whether libdar is dependent on libgcrypt and if so has strong encryption and hashing features...
bool microsecond_write() noexcept
returns whether libdar is able to write timestamps at least at microsecond accuracy
bool libargon2() noexcept
returns whether libdar is dependent on libargon2 and if it has thus argon2 hash algorithm feature ava...
U_I bits() noexcept
returns the internal integer type used
std::string libthreadar_version() noexcept
return libthreadar version or empty string libthreadar is not available
bool nanosecond_write() noexcept
returns whether libdar is able to write timestamps at least at nanosecond accuracy
bool FSA_birthtime() noexcept
returns whether libdar has been built with support for HFS+ FSA
bool special_alloc() noexcept
returns whether special allocation support has been activated at compilation time
bool fast_dir() noexcept
returns whether libdar has been built with speed optimization for last directory
bool liblz4() noexcept
returns whether libdar is dependen in liblz4 and if so has lz4 compression/decompression available
bool posix_fadvise() noexcept
returns true if libdar has support for posix_fadvise activated available
bool thread_safe() noexcept
returns whether the current libdar is thread safe
bool microsecond_read() noexcept
returns whether libdar is able to read timestamps at least at microsecond accuracy
bool ea() noexcept
returns whether EA support has been activated at compilation time
bool nodump() noexcept
returns whether nodump flag support has been activated at compilation time
libdar namespace encapsulate all libdar symbols