source: branches/2.2.9/mondo/src/common/libmondo-mountlist.h @ 2394

Last change on this file since 2394 was 2394, checked in by Bruno Cornec, 11 years ago

Fix interface of evaluate_mountlist (remove 2nd param useless) and fix nuke mode which wasn't working.

  • Property svn:keywords set to Id
File size: 871 bytes
Line 
1/* libmondo-mountlist.h
2 * $Id: libmondo-mountlist.h 2394 2009-09-12 00:53:02Z bruno $
3 */
4
5
6char *evaluate_mountlist(struct mountlist_itself *mountlist);
7int find_device_in_mountlist(struct mountlist_itself *mountlist,
8                             char *device);
9int make_list_of_drives_in_mountlist(struct mountlist_itself *,
10                                     struct list_of_disks *);
11long long size_of_specific_device_in_mountlist(struct mountlist_itself
12                                               *mountlist, char *device);
13
14
15int load_mountlist(struct mountlist_itself *mountlist, char *fname);
16void sort_mountlist_by_device(struct mountlist_itself *mountlist);
17int save_mountlist_to_disk(struct mountlist_itself *mountlist,
18                           char *fname);
19void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist,
20                                  bool reverse);
21void sort_mountlist_by_device(struct mountlist_itself *mountlist);
22void swap_mountlist_entries(struct mountlist_itself *mountlist, int a,
23                            int b);
Note: See TracBrowser for help on using the repository browser.