00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00028
00029 #ifndef FILTRE_HPP
00030 #define FILTRE_HPP
00031
00032 #include "../my_config.h"
00033 #include <vector>
00034 #include "mask.hpp"
00035 #include "compressor.hpp"
00036 #include "catalogue.hpp"
00037 #include "path.hpp"
00038 #include "statistics.hpp"
00039
00040 namespace libdar
00041 {
00042
00043 extern void filtre_restore(user_interaction & dialog,
00044 const mask &filtre,
00045 const mask & subtree,
00046 catalogue & cat,
00047 bool detruire,
00048 const path & fs_racine,
00049 bool fs_allow_overwrite,
00050 bool fs_warn_overwrite,
00051 bool info_details,
00052 statistics & st,
00053 bool only_if_more_recent,
00054 const mask & ea_mask,
00055 bool flat,
00056 inode::comparison_fields what_to_check,
00057 bool warn_remove_no_match,
00058 const infinint & hourshift,
00059 bool empty,
00060 bool ea_erase,
00061 bool display_skipped);
00062
00063 extern void filtre_sauvegarde(user_interaction & dialog,
00064 const mask &filtre,
00065 const mask &subtree,
00066 compressor *stockage,
00067 catalogue & cat,
00068 catalogue &ref,
00069 const path & fs_racine,
00070 bool info_details,
00071 statistics & st,
00072 bool make_empty_dir,
00073 const mask & ea_mask,
00074 const mask &compr_mask,
00075 const infinint & min_compr_size,
00076 bool nodump,
00077 const infinint & hourshift,
00078 bool alter_time,
00079 bool same_fs,
00080 inode::comparison_fields what_to_check,
00081 bool snapshot,
00082 bool cache_directory_tagging,
00083 bool display_skipped,
00084 const infinint & fixed_date);
00085
00086 extern void filtre_difference(user_interaction & dialog,
00087 const mask &filtre,
00088 const mask &subtree,
00089 catalogue & cat,
00090 const path & fs_racine,
00091 bool info_details,
00092 statistics & st,
00093 const mask & ea_mask,
00094 bool alter_time,
00095 inode::comparison_fields what_to_check,
00096 bool display_skipped);
00097
00098 extern void filtre_test(user_interaction & dialog,
00099 const mask &filtre,
00100 const mask &subtree,
00101 catalogue & cat,
00102 bool info_details,
00103 statistics & st,
00104 bool display_skipped);
00105
00106 extern void filtre_isolate(user_interaction & dialog,
00107 catalogue & cat,
00108 catalogue & ref,
00109 bool info_details);
00110
00111 extern void filtre_merge(user_interaction & dialog,
00112 const mask & filtre,
00113 const mask & subtree,
00114 compressor *stockage,
00115 catalogue & cat,
00116 catalogue * ref1,
00117 catalogue * ref2,
00118 bool info_details,
00119 statistics & st,
00120 bool make_empty_dir,
00121 const mask & ea_mask,
00122 const mask & compr_mask,
00123 const infinint & min_compr_size,
00124 bool display_skipped,
00125 bool keep_compressed);
00126
00127 }
00128
00129 #endif