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

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

indent on all the C code

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/* libmondo-mountlist.h
2 * $Id: libmondo-mountlist.h 128 2005-11-19 01:27:41Z 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,
9                       char *flaws_str_A, char *flaws_str_B,
10                       char *flaws_str_C);
11int find_device_in_mountlist(struct mountlist_itself *mountlist,
12                             char *device);
13int look_for_duplicate_mountpoints(struct mountlist_itself *mountlist,
14                                   char *flaws_str);
15int look_for_weird_formats(struct mountlist_itself *mountlist,
16                           char *flaws_str);
17int make_list_of_drives_in_mountlist(struct mountlist_itself *,
18                                     struct list_of_disks *);
19long long size_of_specific_device_in_mountlist(struct mountlist_itself
20                                               *mountlist, char *device);
21
22
23int load_mountlist(struct mountlist_itself *mountlist, char *fname);
24void sort_mountlist_by_device(struct mountlist_itself *mountlist);
25int save_mountlist_to_disk(struct mountlist_itself *mountlist,
26                           char *fname);
27void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist,
28                                  bool reverse);
29void sort_mountlist_by_device(struct mountlist_itself *mountlist);
30void swap_mountlist_entries(struct mountlist_itself *mountlist, int a,
31                            int b);
Note: See TracBrowser for help on using the repository browser.