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

Last change on this file since 1817 was 1663, checked in by Bruno Cornec, 17 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
  • configure.in 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.4 KB
Line 
1/* libmondo-filelist.h
2 * $Id: libmondo-filelist.h 1663 2007-09-27 10:21:18Z bruno $
3 */
4
5int chop_filelist(char *filelist, char *outdir, long maxsetsizeK);
6int call_filelist_chopper();
7void free_filelist(struct s_node *filelist);
8int get_last_filelist_number();
9int add_string_at_node(struct s_node *startnode, char *string_to_add);
10struct s_node *load_filelist(char *filelist_fname);
11void reload_filelist(struct s_node *filelist);
12void save_filelist(struct s_node *filelist, char *outfname);
13void toggle_all_root_dirs_on(struct s_node *filelist);
14void toggle_path_expandability(struct s_node *filelist, char *pathname,
15 bool on_or_off);
16void toggle_path_selection(struct s_node *filelist, char *pathname,
17 bool on_or_off);
18void toggle_node_selection(struct s_node *filelist, bool on_or_off);
19int prepare_filelist();
20
21long save_filelist_entries_in_common(char *needles_list_fname,
22 struct s_node *filelist,
23 char *matches_fname, bool use_star);
24struct s_node *find_string_at_node(struct s_node *startnode,
25 char *string_to_find);
26
27int add_list_of_files_to_filelist(struct s_node *filelist,
28 char *list_of_files_fname, bool flag_em);
29void show_filelist(struct s_node *node);
30int get_fattr_list(char *filelist, char *fattr_fname);
31int get_acl_list(char *filelist, char *acl_fname);
32int set_fattr_list(char *masklist, char *fattr_fname);
33int set_acl_list(char *masklist, char *acl_fname);
Note: See TracBrowser for help on using the repository browser.