1 /* Header file for utils_disk */
4 #include "utils_base.h"
10 struct name_list
*next
;
16 thresholds
*freespace_bytes
;
17 thresholds
*freespace_units
;
18 thresholds
*freespace_percent
;
19 thresholds
*usedspace_bytes
;
20 thresholds
*usedspace_units
;
21 thresholds
*usedspace_percent
;
22 thresholds
*usedinodes_percent
;
23 thresholds
*freeinodes_percent
;
25 struct mount_entry
*best_match
;
26 struct parameter_list
*name_next
;
29 void np_add_name (struct name_list
**list
, const char *name
);
30 int np_find_name (struct name_list
*list
, const char *name
);
31 int np_seen_name (struct name_list
*list
, const char *name
);
32 struct parameter_list
*np_add_parameter(struct parameter_list
**list
, const char *name
);
33 struct parameter_list
*np_find_parameter(struct parameter_list
*list
, const char *name
);
34 struct parameter_list
*np_del_parameter(struct parameter_list
*item
, struct parameter_list
*prev
);
36 int search_parameter_list (struct parameter_list
*list
, const char *name
);
37 void np_set_best_match(struct parameter_list
*desired
, struct mount_entry
*mount_list
, int exact
);
38 int np_regex_match_mount_entry (struct mount_entry
* me
, regex_t
* re
);