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

Last change on this file since 2315 was 2202, checked in by Bruno Cornec, 15 years ago
  • Remove useless function look_for_weird_formats
  • Adds a test program for mountlist management to find a seg. fault bug when using a large mountlist file
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1/* libmondo-mountlist-EXT.h */
2
3extern int evaluate_mountlist(struct mountlist_itself *mountlist,
4 char *flaws_str_A, char *flaws_str_B,
5 char *flaws_str_C);
6extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
7 char *device);
8extern int look_for_duplicate_mountpoints(struct mountlist_itself
9 *mountlist, char *flaws_str);
10extern int make_list_of_drives_in_mountlist(struct mountlist_itself *,
11 struct list_of_disks *);
12extern long long size_of_specific_device_in_mountlist(struct
13 mountlist_itself
14 *mountlist,
15 char *device);
16
17
18
19
20extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
21extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
22extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
23 char *fname);
24extern void sort_mountlist_by_mountpoint(struct mountlist_itself
25 *mountlist, bool reverse);
26extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
27extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
28 int a, int b);
Note: See TracBrowser for help on using the repository browser.