|
Last change
on this file since 2352 was 2352, checked in by Bruno Cornec, 16 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:
981 bytes
|
| Line | |
|---|
| 1 | /* libmondo-mountlist.h
|
|---|
| 2 | * $Id: libmondo-mountlist.h 2352 2009-08-28 00:46:29Z bruno $
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 | char *evaluate_mountlist(struct mountlist_itself *mountlist, int *res);
|
|---|
| 7 | int find_device_in_mountlist(struct mountlist_itself *mountlist,
|
|---|
| 8 | char *device);
|
|---|
| 9 | int look_for_duplicate_mountpoints(struct mountlist_itself *mountlist,
|
|---|
| 10 | char *flaws_str);
|
|---|
| 11 | int make_list_of_drives_in_mountlist(struct mountlist_itself *,
|
|---|
| 12 | struct list_of_disks *);
|
|---|
| 13 | long long size_of_specific_device_in_mountlist(struct mountlist_itself
|
|---|
| 14 | *mountlist, char *device);
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | int load_mountlist(struct mountlist_itself *mountlist, char *fname);
|
|---|
| 18 | void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
|---|
| 19 | int save_mountlist_to_disk(struct mountlist_itself *mountlist,
|
|---|
| 20 | char *fname);
|
|---|
| 21 | void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist,
|
|---|
| 22 | bool reverse);
|
|---|
| 23 | void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
|---|
| 24 | void swap_mountlist_entries(struct mountlist_itself *mountlist, int a,
|
|---|
| 25 | int b);
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.