26 #ifndef CAT_SIGNATURE_HPP
27 #define CAT_SIGNATURE_HPP
29 #include "../my_config.h"
74 static bool compatible_signature(
unsigned char a,
unsigned char b);
77 static constexpr U_8 SAVED_FAKE_BIT = 0x80;
78 static constexpr U_8 SAVED_NON_DELTA_BIT = 0x40;
class archive_version that rules which archive format to follow
the different status of data and EA
class archive_version manages the version of the archive format
class cat_signature combines the cat_entree::signature() of the object with its saved_status and read...
cat_signature(unsigned char original, saved_status status)
set a signature from running libdar
cat_signature(generic_file &f, const archive_version &reading_ver)
set a signature from an disk archive
bool read(generic_file &f, const archive_version &reading_ver)
read a signature from archive for an existing cat_signature object (overwrite its value)
unsigned char field
stores file type and status information
bool get_base_and_status(unsigned char &base, saved_status &saved) const
provide typ and status as read from the archive
this is the interface class from which all other data transfer classes inherit
class generic_file is defined here as well as class fichier
saved_status
data saved status for an entry
libdar namespace encapsulate all libdar symbols