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

Last change on this file since 1881 was 1784, checked in by Bruno Cornec, 16 years ago

Fix mindi for Debian x86_64 where /lib64 is a link

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