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