1 | /* mondo-restore.h
|
---|
2 | * $Id: mondo-restore.h 128 2005-11-19 01:27:41Z 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 *,
|
---|
11 | struct raidlist_itself *);
|
---|
12 | void find_pathname_of_executable_preferably_in_RESTORING(char *, char *,
|
---|
13 | char *);
|
---|
14 | int interactive_mode(struct s_bkpinfo *, struct mountlist_itself *,
|
---|
15 | struct raidlist_itself *);
|
---|
16 | int nuke_mode(struct s_bkpinfo *, struct mountlist_itself *,
|
---|
17 | struct raidlist_itself *);
|
---|
18 | int compare_mode(struct s_bkpinfo *, struct mountlist_itself *,
|
---|
19 | struct raidlist_itself *);
|
---|
20 | int iso_mode(struct s_bkpinfo *bkpinfo, struct mountlist_itself *mountlist,
|
---|
21 | struct raidlist_itself *raidlist, bool nuke_me_please);
|
---|
22 | int restore_mode(struct s_bkpinfo *, struct mountlist_itself *,
|
---|
23 | struct raidlist_itself *);
|
---|
24 | int restore_a_biggiefile_from_CD(struct s_bkpinfo *, long, struct s_node *,
|
---|
25 | char *);
|
---|
26 | int restore_a_biggiefile_from_stream(struct s_bkpinfo *, char *, long,
|
---|
27 | char *, long long, struct s_node *,
|
---|
28 | int, char *);
|
---|
29 | int restore_a_tarball_from_CD(char *, long, struct s_node *);
|
---|
30 | int restore_a_tarball_from_stream(struct s_bkpinfo *, char *, long,
|
---|
31 | struct s_node *, long long, char *,
|
---|
32 | char *);
|
---|
33 | int restore_all_biggiefiles_from_CD(struct s_bkpinfo *, struct s_node *);
|
---|
34 | int restore_all_biggiefiles_from_stream(struct s_bkpinfo *,
|
---|
35 | struct s_node *);
|
---|
36 | int restore_all_tarballs_from_CD(struct s_bkpinfo *, struct s_node *);
|
---|
37 | int restore_all_tarballs_from_stream(struct s_bkpinfo *, struct s_node *);
|
---|
38 | int restore_everything(struct s_bkpinfo *, struct s_node *);
|
---|
39 | int restore_live_from_monitas_server(struct s_bkpinfo *, char *, char *,
|
---|
40 | char *);
|
---|
41 | int restore_to_live_filesystem(struct s_bkpinfo *);
|
---|
42 | void swap_mountlist_entries(struct mountlist_itself *, int, int);
|
---|
43 | void sort_mountlist_by_mountpoint(struct mountlist_itself *, bool);
|
---|
44 | void sort_mountlist_by_device(struct mountlist_itself *);
|
---|
45 | int what_number_cd_is_this(struct s_bkpinfo *);
|
---|