source: MondoRescue/branches/stable/mondo/src/common/libmondo-mountlist-EXT.h@ 1156

Last change on this file since 1156 was 128, checked in by bcornec, 18 years ago

indent on all the C code

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