source: MondoRescue/trunk/mondo/src/mondorestore/mondo-restore.h@ 1106

Last change on this file since 1106 was 783, checked in by Bruno Cornec, 18 years ago
  • Massive rewrite continues for memory management.
  • main structure should now have all parameters allocated dynamically
  • new lib libmr.a + dir + build process reviewed to support it.
  • new include subdir to host external definitions of the new lib
  • code now compiles. Still one remaining link issues for mondorestore. This should allow for some tests soon.

(goal is to separate completely reviewed code and functions and provide clean interfaces)

  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1/*
2 * $Id: mondo-restore.h 783 2006-08-31 15:09:20Z bruno $
3**/
4
5/**************************************************************************
6 * Prototypes: *
7 **************************************************************************/
8
9void ask_about_these_imagedevs(char *, char *);
10int catchall_mode(struct s_bkpinfo *, struct mountlist_itself *,
11 struct raidlist_itself *);
12int interactive_mode(struct s_bkpinfo *, struct mountlist_itself *,
13 struct raidlist_itself *);
14int nuke_mode(struct s_bkpinfo *, struct mountlist_itself *,
15 struct raidlist_itself *);
16int compare_mode(struct s_bkpinfo *, struct mountlist_itself *,
17 struct raidlist_itself *);
18int iso_mode(struct s_bkpinfo *bkpinfo, struct mountlist_itself *mountlist,
19 struct raidlist_itself *raidlist, bool nuke_me_please);
20int restore_mode(struct s_bkpinfo *, struct mountlist_itself *,
21 struct raidlist_itself *);
22char *restore_a_biggiefile_from_stream(struct s_bkpinfo *, char *, long,
23 struct s_node *, int);
24int restore_a_tarball_from_CD(char *, long, struct s_node *);
25int restore_a_tarball_from_stream(struct s_bkpinfo *, char *, long,
26 struct s_node *, long long, char *,
27 char *);
28int restore_all_biggiefiles_from_CD(struct s_bkpinfo *, struct s_node *);
29int restore_all_biggiefiles_from_stream(struct s_bkpinfo *,
30 struct s_node *);
31int restore_all_tarballs_from_CD(struct s_bkpinfo *, struct s_node *);
32int restore_all_tarballs_from_stream(struct s_bkpinfo *, struct s_node *);
33int restore_everything(struct s_bkpinfo *, struct s_node *);
34int restore_live_from_monitas_server(struct s_bkpinfo *, char *, char *,
35 char *);
36int restore_to_live_filesystem(struct s_bkpinfo *);
37void swap_mountlist_entries(struct mountlist_itself *, int, int);
38void sort_mountlist_by_mountpoint(struct mountlist_itself *, bool);
39void sort_mountlist_by_device(struct mountlist_itself *);
40int what_number_cd_is_this(struct s_bkpinfo *);
Note: See TracBrowser for help on using the repository browser.