source: MondoRescue/branches/2.2.10/mondo/src/common/libmondo-mountlist-EXT.h@ 2352

Last change on this file since 2352 was 2352, checked in by Bruno Cornec, 15 years ago

Change inerface of evaluate_mountlist and spread_flaws_across_three_lines in order to solve bugs linked to strings management in these functions. May fix a restoration crash seen by some customers (backport from 2.2.9)

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1/* libmondo-mountlist-EXT.h */
2
3extern char *evaluate_mountlist(struct mountlist_itself *mountlist, int *res);
4extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
5 char *device);
6extern int look_for_duplicate_mountpoints(struct mountlist_itself
7 *mountlist, char *flaws_str);
8extern int make_list_of_drives_in_mountlist(struct mountlist_itself *,
9 struct list_of_disks *);
10extern long long size_of_specific_device_in_mountlist(struct
11 mountlist_itself
12 *mountlist,
13 char *device);
14
15
16
17
18extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
19extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
20extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
21 char *fname);
22extern void sort_mountlist_by_mountpoint(struct mountlist_itself
23 *mountlist, bool reverse);
24extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
25extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
26 int a, int b);
Note: See TracBrowser for help on using the repository browser.