|
Last change
on this file since 3152 was 688, checked in by bcornec, 19 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 |
|
|---|
| 3 | extern int evaluate_mountlist(struct mountlist_itself *mountlist,
|
|---|
| 4 | char *flaws_str_A, char *flaws_str_B,
|
|---|
| 5 | char *flaws_str_C);
|
|---|
| 6 | extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
|
|---|
| 7 | char *device);
|
|---|
| 8 | extern int look_for_duplicate_mountpoints(struct mountlist_itself
|
|---|
| 9 | *mountlist, char *flaws_str);
|
|---|
| 10 | extern int make_list_of_drives_in_mountlist(struct mountlist_itself *,
|
|---|
| 11 | struct list_of_disks *);
|
|---|
| 12 | extern long long size_of_specific_device_in_mountlist(struct
|
|---|
| 13 | mountlist_itself
|
|---|
| 14 | *mountlist,
|
|---|
| 15 | char *device);
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
|
|---|
| 21 | extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
|---|
| 22 | extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
|
|---|
| 23 | char *fname);
|
|---|
| 24 | extern void sort_mountlist_by_mountpoint(struct mountlist_itself
|
|---|
| 25 | *mountlist, bool reverse);
|
|---|
| 26 | extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
|---|
| 27 | extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
|
|---|
| 28 | int a, int b);
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.