26 #ifndef MACRO_TOOLS_HPP
27 #define MACRO_TOOLS_HPP
29 #include "../my_config.h"
53 #define BUFFER_SIZE 102400
55 #if SSIZE_MAX < BUFFER_SIZE
57 #define BUFFER_SIZE SSIZE_MAX
64 extern const archive_version macro_tools_supported_version;
65 extern const std::string LIBDAR_STACK_LABEL_UNCOMPRESSED;
66 extern const std::string LIBDAR_STACK_LABEL_CLEAR;
67 extern const std::string LIBDAR_STACK_LABEL_UNCYPHERED;
68 extern const std::string LIBDAR_STACK_LABEL_LEVEL1;
70 extern void macro_tools_open_archive(user_interaction & dialog,
71 const path &sauv_path,
72 const std::string &basename,
73 const infinint & min_digits,
74 const std::string &extension,
76 const secu_string &pass,
80 const std::string &input_pipe,
81 const std::string &output_pipe,
82 const std::string & execute,
83 infinint & second_terminateur_offset,
89 extern catalogue *macro_tools_get_derivated_catalogue_from(user_interaction & dialog,
92 const header_version & ver,
95 const infinint & second_terminateur_offset,
98 extern catalogue *macro_tools_get_catalogue_from(user_interaction & dialog,
100 const header_version & ver,
103 const infinint & second_terminateur_offset,
106 extern catalogue *macro_tools_lax_search_catalogue(user_interaction & dialog,
108 const archive_version & edition,
111 bool even_partial_catalogues,
112 const label & layer1_data_name);
116 extern infinint macro_tools_get_terminator_start(generic_file & f,
const archive_version & reading_ver);
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
class pile definition. Used to manage a stack of generic_file objects
the crypto algoritm definition
crypto_algo
the different cypher available for encryption (strong or weak)
class escape definition, used for sequential reading of archivesThe class escape is used to insert es...
switch module to limitint (32 ou 64 bits integers) or infinint
compression
the different compression algorithm available
compression engine implementation
contains the definition of the scrambler class, a very weak encryption scheme
here is defined the many classed which is build of the catalogue