26 #ifndef COMMAND_LINE_HPP
27 #define COMMAND_LINE_HPP
29 #include "../my_config.h"
41 using namespace libdar;
46 enum operation { noop, extract, create, diff, test, listing, isolate, merging };
50 enum dirty_behavior { dirtyb_ignore, dirtyb_warn, dirtyb_ok };
60 string * ref_filename;
69 U_I compression_level;
86 bool warn_remove_no_match;
92 bool cache_directory_tagging;
98 string * aux_filename;
101 U_32 aux_crypto_size;
102 bool keep_compressed;
112 bool furtive_read_mode;
114 bool use_sequential_marks;
115 bool sequential_read;
117 dirty_behavior dirty;
126 mask * backup_hook_mask;
127 string backup_hook_execute;
129 bool ignore_unknown_inode;
130 bool no_compare_symlink_date;
142 compress_mask = NULL;
146 backup_hook_mask = NULL;
154 if(sauv_root != NULL)
158 if(selection != NULL)
162 if(ref_filename != NULL)
166 if(compress_mask != NULL)
167 delete compress_mask;
170 if(aux_filename != NULL)
172 if(overwrite != NULL)
174 if(backup_hook_mask != NULL)
175 delete backup_hook_mask;
183 const vector<string> & dar_dcf_path,
184 const vector<string> & dar_duc_path,
contains classes that let the user define the policy for overwriting files
the generic class, parent of all masks
the archive class is defined in this module
This is a pure virtual class that is used by libdar when interaction with the user is required...
comparison_fields
flag used to only consider certain fields when comparing/restoring inodes
bool get_args(user_interaction &dialog, const char *home, const vector< string > &dar_dcf_path, const vector< string > &dar_duc_path, S_I argc, char *const argv[], line_param ¶m)
main routine to extract parameters from command-line and included files
here is the definition of the path classthe path class handle path and provide several operation on t...
listformat
defines the way archive listing is done:
the global action for overwriting
switch module to limitint (32 ou 64 bits integers) or infinint
here lies a collection of mask classes
compression
the different compression algorithm available
bool nodump()
returns whether nodump flag support has been activated at compilation time
compression engine implementation
the arbitrary large positive integer class
here is defined the many classed which is build of the catalogue
the class path is here to manipulate paths in the Unix notation: using'/'