1 | /* mondo-rstr-tools.h
|
---|
2 | * $Id: mondo-rstr-tools.h
|
---|
3 | */
|
---|
4 |
|
---|
5 | void free_global_filenames();
|
---|
6 | void get_cfg_file_from_archive_or_bust(struct s_bkpinfo*);
|
---|
7 | bool is_file_in_list(char*, char*, char*); /* needle, haystack, preamble */
|
---|
8 | int iso_fiddly_bits(struct s_bkpinfo *bkpinfo, bool nuke_me_please);
|
---|
9 | void kill_petris(void);
|
---|
10 | int modify_rclocal_one_time( char *path );
|
---|
11 | int mount_cdrom(struct s_bkpinfo *bkpinfo);
|
---|
12 | int mount_device(char*,char*,char*,bool);
|
---|
13 | int mount_all_devices(struct mountlist_itself*, bool);
|
---|
14 | void protect_against_braindead_sysadmins(void);
|
---|
15 | int read_cfg_file_into_bkpinfo( char* cfg_file, struct s_bkpinfo *bkpinfo);
|
---|
16 | struct s_node *process_filelist_and_biggielist(struct s_bkpinfo *);
|
---|
17 | int backup_crucial_file(char *path_root, char*filename);
|
---|
18 |
|
---|
19 | int run_boot_loader(bool);
|
---|
20 | int run_grub(bool, char*);
|
---|
21 | int run_lilo(bool);
|
---|
22 | int run_elilo(bool);
|
---|
23 | int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
|
---|
24 | char *find_my_editor(void);
|
---|
25 | void streamline_changes_file(char*,char*);
|
---|
26 | void set_signals( int on );
|
---|
27 | void setup_global_filenames(struct s_bkpinfo *bkpinfo);
|
---|
28 | //void setup_signals(int);
|
---|
29 | void success_message(void);
|
---|
30 | void twenty_seconds_til_yikes(void);
|
---|
31 | int run_raw_mbr(bool offer_to_hack_scripts, char*bd);
|
---|
32 | void terminate_daemon(int);
|
---|
33 | void termination_in_progress(int);
|
---|
34 | int unmount_all_devices(struct mountlist_itself*);
|
---|
35 | int get_cfg_file_from_archive(struct s_bkpinfo *bkpinfo);
|
---|
36 | void ask_about_these_imagedevs( char *infname, char *outfname );
|
---|
37 |
|
---|