summaryrefslogtreecommitdiffstats
path: root/plugins/utils_disk.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/utils_disk.h')
-rw-r--r--plugins/utils_disk.h19
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
4struct name_list 5struct 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
11struct 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
10void np_add_name (struct name_list **list, const char *name); 26void np_add_name (struct name_list **list, const char *name);
11int np_find_name (struct name_list *list, const char *name); 27int np_find_name (struct name_list *list, const char *name);
12 28void np_add_parameter(struct parameter_list **list, const char *name);
29int search_parameter_list (struct parameter_list *list, const char *name);