source: MondoRescue/branches/2.2.10/mondo/src/common/libmondo-mountlist.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: 981 bytes
Line 
1/* libmondo-mountlist.h
2 * $Id: libmondo-mountlist.h 2352 2009-08-28 00:46:29Z bruno $
3 */
4
5
6char *evaluate_mountlist(struct mountlist_itself *mountlist, int *res);
7int find_device_in_mountlist(struct mountlist_itself *mountlist,
8 char *device);
9int look_for_duplicate_mountpoints(struct mountlist_itself *mountlist,
10 char *flaws_str);
11int make_list_of_drives_in_mountlist(struct mountlist_itself *,
12 struct list_of_disks *);
13long long size_of_specific_device_in_mountlist(struct mountlist_itself
14 *mountlist, char *device);
15
16
17int load_mountlist(struct mountlist_itself *mountlist, char *fname);
18void sort_mountlist_by_device(struct mountlist_itself *mountlist);
19int save_mountlist_to_disk(struct mountlist_itself *mountlist,
20 char *fname);
21void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist,
22 bool reverse);
23void sort_mountlist_by_device(struct mountlist_itself *mountlist);
24void swap_mountlist_entries(struct mountlist_itself *mountlist, int a,
25 int b);
Note: See TracBrowser for help on using the repository browser.