source: branches/2.2.5/mondo/src/common/libmondo-mountlist-EXT.h @ 1855

Last change on this file since 1855 was 1295, checked in by Bruno Cornec, 13 years ago
  • evaluate_drive_within_mountlist is a private function
  • support UUID in mondorestore (Improvements for #103)
  • Fix a bug in size computation for cciss and similar devices needing a p before their partition name
  • Property svn:keywords set to Id
File size: 1.2 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 look_for_weird_formats(struct mountlist_itself *mountlist,
11                                  char *flaws_str);
12extern int make_list_of_drives_in_mountlist(struct mountlist_itself *,
13                                            struct list_of_disks *);
14extern long long size_of_specific_device_in_mountlist(struct
15                                                      mountlist_itself
16                                                      *mountlist,
17                                                      char *device);
18
19
20
21
22extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
23extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
24extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
25                                  char *fname);
26extern void sort_mountlist_by_mountpoint(struct mountlist_itself
27                                         *mountlist, bool reverse);
28extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
29extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
30                                   int a, int b);
Note: See TracBrowser for help on using the repository browser.