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

Last change on this file since 1646 was 1646, checked in by Bruno Cornec, 17 years ago

Remove g_bkpinfo_DONTUSETHIS

  • 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 char *g_biggielist_txt;
15extern char *g_filelist_full;
16extern char *g_biggielist_pot;
17extern char *g_filelist_potential;
18extern char *g_filelist_imagedevs;
19extern char *g_filelist_restthese;
20extern char *g_biggielist_restthese;
21extern char *g_imagedevs_restthese;
22extern char *g_mondo_cfg_file;
23extern char *g_mountlist_fname;
24extern char *g_mondo_home;
25
26
27extern void ask_about_these_imagedevs(char *, char *);
28extern int catchall_mode(struct s_bkpinfo *, struct mountlist_itself *,
29 struct raidlist_itself *);
30extern void sort_mountlist_by_device(struct mountlist_itself *);
31extern void find_pathname_of_executable_preferably_in_RESTORING(char *,
32 char *,
33 char *);
34extern int interactive_mode(struct s_bkpinfo *, struct mountlist_itself *,
35 struct raidlist_itself *);
36extern int nuke_mode(struct s_bkpinfo *, struct mountlist_itself *,
37 struct raidlist_itself *);
38extern int compare_mode(struct s_bkpinfo *, struct mountlist_itself *,
39 struct raidlist_itself *);
40extern int iso_mode(struct s_bkpinfo *bkpinfo,
41 struct mountlist_itself *mountlist,
42 struct raidlist_itself *raidlist, bool nuke_me_please);
43extern int load_mountlist(struct mountlist_itself *, char *);
44extern int load_raidtab_into_raidlist(struct raidlist_itself *, char *);
45extern int restore_mode(struct s_bkpinfo *, struct mountlist_itself *,
46 struct raidlist_itself *);
47extern int save_raidlist_to_raidtab(struct raidlist_itself *, char *);
48extern void process_raidtab_line(FILE *, struct raid_device_record *,
49 char *, char *);
50extern int restore_a_biggiefile_from_CD(struct s_bkpinfo *, long,
51 struct s_node *);
52extern int restore_a_biggiefile_from_stream(struct s_bkpinfo *, char *,
53 long, char *, long long,
54 struct s_node *);
55extern int restore_a_tarball_from_CD(char *, int, struct s_node *);
56extern int restore_a_tarball_from_stream(struct s_bkpinfo *, char *, int,
57 struct s_node *, long long);
58extern int restore_all_biggiefiles_from_CD(struct s_bkpinfo *,
59 struct s_node *);
60extern int restore_all_biggiefiles_from_stream(struct s_bkpinfo *,
61 struct s_node *);
62extern int restore_all_tarballs_from_CD(struct s_bkpinfo *,
63 struct s_node *);
64extern int restore_all_tarballs_from_stream(struct s_bkpinfo *,
65 struct s_node *);
66extern int restore_everything(struct s_bkpinfo *, struct s_node *);
67extern int restore_live_from_monitas_server(struct s_bkpinfo *, char *,
68 char *, char *);
69extern int restore_to_live_filesystem(struct s_bkpinfo *);
70extern void swap_mountlist_entries(struct mountlist_itself *, int, int);
71extern void sort_mountlist_by_mountpoint(struct mountlist_itself *, bool);
72extern void sort_mountlist_by_device(struct mountlist_itself *);
73extern void twenty_seconds_til_yikes(void);
74extern int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
75extern int save_mountlist_to_disk(struct mountlist_itself *, char *);
76extern void save_raidrec_to_file(struct raid_device_record *raidrec,
77 FILE * fout);
78extern int save_raidlist_to_raidtab(struct raidlist_itself *raidlist,
79 char *fname);
80extern int what_number_cd_is_this(struct s_bkpinfo *);
81
82#ifdef __FreeBSD__
83#undef raid_device_record
84#endif
Note: See TracBrowser for help on using the repository browser.