diff options
Diffstat (limited to 'plugins/utils_disk.h')
-rw-r--r-- | plugins/utils_disk.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/plugins/utils_disk.h b/plugins/utils_disk.h index f173c916..c1919fe9 100644 --- a/plugins/utils_disk.h +++ b/plugins/utils_disk.h | |||
@@ -1,5 +1,6 @@ | |||
1 | /* Header file for utils_disk */ | 1 | /* Header file for utils_disk */ |
2 | 2 | ||
3 | #include "mountlist.h" | ||
3 | 4 | ||
4 | struct name_list | 5 | struct name_list |
5 | { | 6 | { |
@@ -7,6 +8,22 @@ struct name_list | |||
7 | struct name_list *next; | 8 | struct name_list *next; |
8 | }; | 9 | }; |
9 | 10 | ||
11 | struct parameter_list | ||
12 | { | ||
13 | char *name; | ||
14 | int found; | ||
15 | int found_len; | ||
16 | uintmax_t w_df; | ||
17 | uintmax_t c_df; | ||
18 | double w_dfp; | ||
19 | double c_dfp; | ||
20 | double w_idfp; | ||
21 | double c_idfp; | ||
22 | struct mount_entry *best_match; | ||
23 | struct parameter_list *name_next; | ||
24 | }; | ||
25 | |||
10 | void np_add_name (struct name_list **list, const char *name); | 26 | void np_add_name (struct name_list **list, const char *name); |
11 | int np_find_name (struct name_list *list, const char *name); | 27 | int np_find_name (struct name_list *list, const char *name); |
12 | 28 | void np_add_parameter(struct parameter_list **list, const char *name); | |
29 | int search_parameter_list (struct parameter_list *list, const char *name); | ||