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

Last change on this file since 795 was 688, checked in by bcornec, 18 years ago

Huge memory management patch.
Still not finished but a lot as been done.
What remains is around some functions returning strings, and some structure members.
(Could not finish due to laptop failure !)

  • Property svn:keywords set to Id
File size: 1.0 KB
RevLine 
[1]1/* libmondo-mountlist.h
[59]2 * $Id: libmondo-mountlist.h 688 2006-07-17 13:44:46Z bcornec $
[1]3 */
4
5
[59]6int evaluate_mountlist(struct mountlist_itself *mountlist,
7 char *flaws_str_A, char *flaws_str_B,
8 char *flaws_str_C);
9int find_device_in_mountlist(struct mountlist_itself *mountlist,
10 char *device);
11int look_for_duplicate_mountpoints(struct mountlist_itself *mountlist,
12 char *flaws_str);
13int make_list_of_drives_in_mountlist(struct mountlist_itself *,
14 struct list_of_disks *);
15long long size_of_specific_device_in_mountlist(struct mountlist_itself
16 *mountlist, char *device);
[1]17
18
[59]19int load_mountlist(struct mountlist_itself *mountlist, char *fname);
20void sort_mountlist_by_device(struct mountlist_itself *mountlist);
21int save_mountlist_to_disk(struct mountlist_itself *mountlist,
22 char *fname);
23void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist,
24 bool reverse);
25void sort_mountlist_by_device(struct mountlist_itself *mountlist);
26void swap_mountlist_entries(struct mountlist_itself *mountlist, int a,
27 int b);
Note: See TracBrowser for help on using the repository browser.