26 #ifndef DATABASE_HEADER_HPP 27 #define DATABASE_HEADER_HPP 29 #include "../my_config.h" 48 extern generic_file *
database_header_create(user_interaction & dialog,
const std::string & filename,
bool overwrite);
56 extern generic_file *
database_header_open(user_interaction & dialog,
const std::string & filename,
unsigned char & db_version);
58 extern const unsigned char database_header_get_supported_version();
generic_file * database_header_create(user_interaction &dialog, const std::string &filename, bool overwrite)
create the header for a dar_manager database
generic_file * database_header_open(user_interaction &dialog, const std::string &filename, unsigned char &db_version)
read the header of a dar_manager database
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
defines the interaction between libdar and the user.Three classes are defined
switch module to limitint (32 ou 64 bits integers) or infinint
libdar namespace encapsulate all libdar symbols