source: MondoRescue/branches/stable/mondo/src/common/libmondo-filelist-EXT.h @ 1663

Last change on this file since 1663 was 1663, checked in by Bruno Cornec, 12 years ago
  • Fix bug #197 (based on an initial patch of Scott Cummings)
  • Fix a bug where df was using locale to print messages and wasn't filtered correctly
  • mkdtemp checked in configure
  • reset_bkpinfo called as early as possible by both main program.
  • It creates a tmpdir cleanly with mkdtemp in setup_tmpdir subfunction, which takes in account TMPIR and TMP env var. Remains to see what tmpfs does and tests
  • should also be filtered.
  • Remove g_bkpinfo_DONTUSETHIS
  • remove bkpinfo also from header files
  • Render bkpinfo global (potential issue on thread, but should not be a problem as that structure is indeed static during archive)
  • Apply patch from Andree Leidenfrost, modified a bit to use bkpinfo->tmpdir instead of /tmp or MINDI_CACHE when appropriate. Fix security issues in mondo. Thanks al ot Andree for catching all those issues.
  • /tmp => /var/log for mondorestore.log in mindi
  • Update linux terminfo to fix a color issue (Andree Leidenfrost)
  • Removes useless log file (Andree Leidenfrost)
  • replace vi with find_my_editor during restore (Andree Leidenfrost)
  • sync in bg in mindi (VMWare issue to look at)
  • mindi/mindi-busybox have a different version than mondo for pb
  • PB-SUF also added to spec file
  • Fix a bug for pb build (omission of PB-SUF declaration)

(merge -r1631:1662 $SVN_M/branches/2.2.5)

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