source: trunk/mondo/mondo/mondorestore/mondo-rstr-tools-EXT.h @ 688

Last change on this file since 688 was 688, checked in by bcornec, 13 years ago

Huge memory management patch.
Still not finished but a lot as been done.
What remains is around some functions returning strings, and some structure members.
(Could not finish due to laptop failure !)

  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1/*
2 * $Id: mondo-rstr-tools-EXT.h
3**/
4
5extern void free_MR_global_filenames();
6extern void get_cfg_file_from_archive_or_bust(struct s_bkpinfo *);
7extern bool is_file_in_list(char *, char *, char *);    /* needle, haystack, preamble */
8extern int iso_fiddly_bits(struct s_bkpinfo *bkpinfo, bool nuke_me_please);
9extern void kill_petris(void);
10extern int mount_cdrom(struct s_bkpinfo *bkpinfo);
11extern int mount_device(char *, char *, char *, bool);
12extern int mount_all_devices(struct mountlist_itself *, bool);
13extern void protect_against_braindead_sysadmins(void);
14extern int read_cfg_file_into_bkpinfo(char *cfg_file,
15                                      struct s_bkpinfo *bkpinfo);
16struct s_node *process_filelist_and_biggielist(struct s_bkpinfo *);
17extern int backup_crucial_file(char *path_root, char *filename);
18extern int run_boot_loader(bool);
19extern int run_grub(bool, char *);
20extern int run_lilo(bool);
21extern int run_elilo(bool);
22extern int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
23extern char *find_my_editor(void);
24
25extern void streamline_changes_file(char *, char *);
26extern void set_signals(int on);
27extern void setup_MR_global_filenames(struct s_bkpinfo *bkpinfo);
28extern void terminate_daemon(int);
29extern void termination_in_progress(int);
30extern int unmount_all_devices(struct mountlist_itself *);
31extern int get_cfg_file_from_archive(struct s_bkpinfo *bkpinfo);
32extern int
33extract_config_file_from_ramdisk(struct s_bkpinfo *bkpinfo,
34                                 char *ramdisk_fname,
35                                 char *output_cfg_file,
36                                 char *output_mountlist_file);
37
38extern void ask_about_these_imagedevs(char *infname, char *outfname);
39
40extern void wait_until_software_raids_are_prepped(char *mdstat_file,
41                                                  int wait_for_percentage);
Note: See TracBrowser for help on using the repository browser.