Last change
on this file since 2272 was 2202, checked in by Bruno Cornec, 16 years ago |
- Remove useless function look_for_weird_formats
- Adds a test program for mountlist management to find a seg. fault bug when using a large mountlist file
|
-
Property svn:keywords
set to
Id
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1] | 1 | /* libmondo-mountlist.h
|
---|
[128] | 2 | * $Id: libmondo-mountlist.h 2202 2009-05-13 02:34:00Z bruno $
|
---|
[1] | 3 | */
|
---|
| 4 |
|
---|
| 5 |
|
---|
[128] | 6 | int evaluate_mountlist(struct mountlist_itself *mountlist,
|
---|
| 7 | char *flaws_str_A, char *flaws_str_B,
|
---|
| 8 | char *flaws_str_C);
|
---|
| 9 | int find_device_in_mountlist(struct mountlist_itself *mountlist,
|
---|
| 10 | char *device);
|
---|
| 11 | int look_for_duplicate_mountpoints(struct mountlist_itself *mountlist,
|
---|
| 12 | char *flaws_str);
|
---|
| 13 | int make_list_of_drives_in_mountlist(struct mountlist_itself *,
|
---|
| 14 | struct list_of_disks *);
|
---|
| 15 | long long size_of_specific_device_in_mountlist(struct mountlist_itself
|
---|
| 16 | *mountlist, char *device);
|
---|
[1] | 17 |
|
---|
| 18 |
|
---|
[128] | 19 | int load_mountlist(struct mountlist_itself *mountlist, char *fname);
|
---|
| 20 | void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
---|
| 21 | int save_mountlist_to_disk(struct mountlist_itself *mountlist,
|
---|
| 22 | char *fname);
|
---|
| 23 | void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist,
|
---|
| 24 | bool reverse);
|
---|
| 25 | void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
---|
| 26 | void swap_mountlist_entries(struct mountlist_itself *mountlist, int a,
|
---|
| 27 | int b);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.