1 | /* mondo-restore.h
|
---|
2 | * $Id: mondo-restore.h 30 2005-09-28 23:32:28Z bcornec $
|
---|
3 | */
|
---|
4 |
|
---|
5 | /**************************************************************************
|
---|
6 | * Prototypes: *
|
---|
7 | **************************************************************************/
|
---|
8 |
|
---|
9 | void ask_about_these_imagedevs(char*,char*);
|
---|
10 | int catchall_mode(struct s_bkpinfo *, struct mountlist_itself *, struct raidlist_itself*);
|
---|
11 | void find_pathname_of_executable_preferably_in_RESTORING(char *, char*, char*);
|
---|
12 | int interactive_mode(struct s_bkpinfo *, struct mountlist_itself *, struct raidlist_itself *);
|
---|
13 | int nuke_mode(struct s_bkpinfo *, struct mountlist_itself *, struct raidlist_itself *);
|
---|
14 | int compare_mode(struct s_bkpinfo *, struct mountlist_itself *, struct raidlist_itself *);
|
---|
15 | int iso_mode(struct s_bkpinfo *bkpinfo,
|
---|
16 | struct mountlist_itself *mountlist,
|
---|
17 | struct raidlist_itself *raidlist,
|
---|
18 | bool nuke_me_please);
|
---|
19 | int restore_mode(struct s_bkpinfo *, struct mountlist_itself *, struct raidlist_itself *);
|
---|
20 | int restore_a_biggiefile_from_CD(struct s_bkpinfo *, long, struct s_node*, char*);
|
---|
21 | int restore_a_biggiefile_from_stream(struct s_bkpinfo*, char*, long , char*, long long, struct s_node*, int, char*);
|
---|
22 | int restore_a_tarball_from_CD(char *, long, struct s_node*);
|
---|
23 | int restore_a_tarball_from_stream(struct s_bkpinfo*, char *, long, struct s_node*, long long, char*, char*);
|
---|
24 | int restore_all_biggiefiles_from_CD(struct s_bkpinfo*, struct s_node*);
|
---|
25 | int restore_all_biggiefiles_from_stream(struct s_bkpinfo*, struct s_node*);
|
---|
26 | int restore_all_tarballs_from_CD(struct s_bkpinfo*, struct s_node*);
|
---|
27 | int restore_all_tarballs_from_stream(struct s_bkpinfo*, struct s_node*);
|
---|
28 | int restore_everything(struct s_bkpinfo*,struct s_node*);
|
---|
29 | int restore_live_from_monitas_server(struct s_bkpinfo *, char*, char*, char*);
|
---|
30 | int restore_to_live_filesystem(struct s_bkpinfo*);
|
---|
31 | void swap_mountlist_entries(struct mountlist_itself*,int,int);
|
---|
32 | void sort_mountlist_by_mountpoint(struct mountlist_itself*,bool);
|
---|
33 | void sort_mountlist_by_device(struct mountlist_itself*);
|
---|
34 | int what_number_cd_is_this(struct s_bkpinfo*);
|
---|