source: MondoRescue/trunk/mondo/mondo/common/libmondo-filelist-EXT.h@ 783

Last change on this file since 783 was 120, checked in by bcornec, 18 years ago

libmondo-filelist.c memory review (asprintf and the like) - compiles but no test made yet

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1/* libmondo-filelist-EXT.h */
2
3extern int chop_filelist(char *filelist, char *outdir, long maxsetsizeK);
4extern int call_filelist_chopper(struct s_bkpinfo *bkpinfo);
5extern void free_filelist(struct s_node *filelist);
6extern int get_last_filelist_number(struct s_bkpinfo *bkpinfo);
7/* BERLIOS: Useless ?
8extern int add_string_at_node(struct s_node *startnode,
9 char *string_to_add);
10 */
11extern struct s_node *load_filelist(char *filelist_fname);
12extern void reload_filelist(struct s_node *filelist);
13extern void save_filelist(struct s_node *filelist, char *outfname);
14extern void toggle_all_root_dirs_on(struct s_node *filelist);
15extern void toggle_path_expandability(struct s_node *filelist,
16 char *pathname, bool on_or_off);
17extern void toggle_path_selection(struct s_node *filelist, char *pathname,
18 bool on_or_off);
19extern void toggle_node_selection(struct s_node *filelist, bool on_or_off);
20extern int prepare_filelist(struct s_bkpinfo *bkpinfo);
21
22extern long save_filelist_entries_in_common(char *needles_list_fname,
23 struct s_node *filelist,
24 char *matches_fname,
25 bool use_star);
26extern struct s_node *find_string_at_node(struct s_node *startnode,
27 char *string_to_find);
28
29extern int add_list_of_files_to_filelist(struct s_node *filelist,
30 char *list_of_files_fname,
31 bool flag_em);
32
33extern void show_filelist(struct s_node *node);
34extern int get_fattr_list(char *filelist, char *fattr_fname);
35extern int get_acl_list(char *filelist, char *acl_fname);
36extern int set_fattr_list(char *masklist, char *fattr_fname);
37extern int set_acl_list(char *masklist, char *acl_fname);
Note: See TracBrowser for help on using the repository browser.