source: MondoRescue/trunk/mondo/src/common/libmondo-mountlist-EXT.h@ 835

Last change on this file since 835 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.1 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 make_list_of_drives_in_mountlist(struct mountlist_itself *,
11 struct list_of_disks *);
12extern long long size_of_specific_device_in_mountlist(struct
13 mountlist_itself
14 *mountlist,
15 char *device);
16
17
18
19
20extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
21extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
22extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
23 char *fname);
24extern void sort_mountlist_by_mountpoint(struct mountlist_itself
25 *mountlist, bool reverse);
26extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
27extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
28 int a, int b);
Note: See TracBrowser for help on using the repository browser.