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

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

Id property added on files to allow for better conf. management

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/* libmondo-mountlist.h
2 * $Id: libmondo-mountlist.h 30 2005-09-28 23:32:28Z bcornec $
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.