source: MondoRescue/branches/2.2.5/mondo/src/mondorestore/mondo-restore-EXT.h@ 1547

Last change on this file since 1547 was 425, checked in by bcornec, 18 years ago

Applied Andree's patch to remove commercials :-)

  • Property svn:keywords set to Id
File size: 3.5 KB
Line 
1/* mondo-restore-EXT.h */
2
3#ifdef __FreeBSD__
4#define raid_device_record vinum_volume
5#endif
6
7extern bool g_sigpipe_caught;
8extern bool g_ISO_restore_mode; /* are we in Iso Mode? */
9extern bool g_I_have_just_nuked;
10extern char *g_tmpfs_mountpt;
11extern char *g_isodir_device;
12extern char *g_isodir_format;
13
14extern struct s_bkpinfo *g_bkpinfo_DONTUSETHIS;
15extern char *g_biggielist_txt;
16extern char *g_filelist_full;
17extern char *g_biggielist_pot;
18extern char *g_filelist_potential;
19extern char *g_filelist_imagedevs;
20extern char *g_filelist_restthese;
21extern char *g_biggielist_restthese;
22extern char *g_imagedevs_restthese;
23extern char *g_mondo_cfg_file;
24extern char *g_mountlist_fname;
25extern char *g_mondo_home;
26
27
28extern void ask_about_these_imagedevs(char *, char *);
29extern int catchall_mode(struct s_bkpinfo *, struct mountlist_itself *,
30 struct raidlist_itself *);
31extern void sort_mountlist_by_device(struct mountlist_itself *);
32extern void find_pathname_of_executable_preferably_in_RESTORING(char *,
33 char *,
34 char *);
35extern int interactive_mode(struct s_bkpinfo *, struct mountlist_itself *,
36 struct raidlist_itself *);
37extern int nuke_mode(struct s_bkpinfo *, struct mountlist_itself *,
38 struct raidlist_itself *);
39extern int compare_mode(struct s_bkpinfo *, struct mountlist_itself *,
40 struct raidlist_itself *);
41extern int iso_mode(struct s_bkpinfo *bkpinfo,
42 struct mountlist_itself *mountlist,
43 struct raidlist_itself *raidlist, bool nuke_me_please);
44extern int load_mountlist(struct mountlist_itself *, char *);
45extern int load_raidtab_into_raidlist(struct raidlist_itself *, char *);
46extern int restore_mode(struct s_bkpinfo *, struct mountlist_itself *,
47 struct raidlist_itself *);
48extern int save_raidlist_to_raidtab(struct raidlist_itself *, char *);
49extern void process_raidtab_line(FILE *, struct raid_device_record *,
50 char *, char *);
51extern int restore_a_biggiefile_from_CD(struct s_bkpinfo *, long,
52 struct s_node *);
53extern int restore_a_biggiefile_from_stream(struct s_bkpinfo *, char *,
54 long, char *, long long,
55 struct s_node *);
56extern int restore_a_tarball_from_CD(char *, int, struct s_node *);
57extern int restore_a_tarball_from_stream(struct s_bkpinfo *, char *, int,
58 struct s_node *, long long);
59extern int restore_all_biggiefiles_from_CD(struct s_bkpinfo *,
60 struct s_node *);
61extern int restore_all_biggiefiles_from_stream(struct s_bkpinfo *,
62 struct s_node *);
63extern int restore_all_tarballs_from_CD(struct s_bkpinfo *,
64 struct s_node *);
65extern int restore_all_tarballs_from_stream(struct s_bkpinfo *,
66 struct s_node *);
67extern int restore_everything(struct s_bkpinfo *, struct s_node *);
68extern int restore_live_from_monitas_server(struct s_bkpinfo *, char *,
69 char *, char *);
70extern int restore_to_live_filesystem(struct s_bkpinfo *);
71extern void swap_mountlist_entries(struct mountlist_itself *, int, int);
72extern void sort_mountlist_by_mountpoint(struct mountlist_itself *, bool);
73extern void sort_mountlist_by_device(struct mountlist_itself *);
74extern void twenty_seconds_til_yikes(void);
75extern int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
76extern int save_mountlist_to_disk(struct mountlist_itself *, char *);
77extern void save_raidrec_to_file(struct raid_device_record *raidrec,
78 FILE * fout);
79extern int save_raidlist_to_raidtab(struct raidlist_itself *raidlist,
80 char *fname);
81extern int what_number_cd_is_this(struct s_bkpinfo *);
82
83#ifdef __FreeBSD__
84#undef raid_device_record
85#endif
Note: See TracBrowser for help on using the repository browser.