Last change
on this file since 2380 was 2352, checked in by Bruno Cornec, 15 years ago |
Change inerface of evaluate_mountlist and spread_flaws_across_three_lines in order to solve bugs linked to strings management in these functions. May fix a restoration crash seen by some customers (backport from 2.2.9)
|
-
Property svn:keywords
set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[1] | 1 | /* libmondo-mountlist-EXT.h */
|
---|
| 2 |
|
---|
[2352] | 3 | extern char *evaluate_mountlist(struct mountlist_itself *mountlist, int *res);
|
---|
[128] | 4 | extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
|
---|
| 5 | char *device);
|
---|
| 6 | extern int look_for_duplicate_mountpoints(struct mountlist_itself
|
---|
| 7 | *mountlist, char *flaws_str);
|
---|
| 8 | extern int make_list_of_drives_in_mountlist(struct mountlist_itself *,
|
---|
| 9 | struct list_of_disks *);
|
---|
| 10 | extern long long size_of_specific_device_in_mountlist(struct
|
---|
| 11 | mountlist_itself
|
---|
| 12 | *mountlist,
|
---|
| 13 | char *device);
|
---|
[1] | 14 |
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 |
|
---|
[128] | 18 | extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
|
---|
| 19 | extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
---|
| 20 | extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
|
---|
| 21 | char *fname);
|
---|
| 22 | extern void sort_mountlist_by_mountpoint(struct mountlist_itself
|
---|
| 23 | *mountlist, bool reverse);
|
---|
| 24 | extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
---|
| 25 | extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
|
---|
| 26 | int a, int b);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.