source: trunk/mondo/mondo/common/libmondo-mountlist.h @ 1

Last change on this file since 1 was 1, checked in by bcornec, 14 years ago

Initial import from latest mondo-2.04_cvs_20050503/mindi-1.04_cvs_20050503 on http://www.mondorescue.org

File size: 1.2 KB
Line 
1/* libmondo-mountlist.h
2 * $Id: libmondo-mountlist.h,v 1.2 2004/06/10 15:29:12 hugo Exp $
3 */
4
5
6int evaluate_drive_within_mountlist (struct mountlist_itself *mountlist,
7                 char *drive, char *flaws_str);
8int evaluate_mountlist (struct mountlist_itself *mountlist, char *flaws_str_A,
9            char *flaws_str_B, char *flaws_str_C);
10int find_device_in_mountlist (struct mountlist_itself *mountlist, char *device);
11int look_for_duplicate_mountpoints (struct mountlist_itself *mountlist, char *flaws_str);
12int look_for_weird_formats (struct mountlist_itself *mountlist, char *flaws_str);
13int make_list_of_drives_in_mountlist(struct mountlist_itself*, struct list_of_disks*);
14long long size_of_specific_device_in_mountlist (struct mountlist_itself *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, char *fname);
20void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist, bool reverse);
21void  sort_mountlist_by_device( struct mountlist_itself *mountlist);
22void swap_mountlist_entries(struct mountlist_itself *mountlist, int a, int b);
23
Note: See TracBrowser for help on using the repository browser.