diff options
author | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-03-30 08:53:58 +0000 |
---|---|---|
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-03-30 08:53:58 +0000 |
commit | 0f71b7d07a8badd9aa38ef8d847bd982ab2db72c (patch) | |
tree | fba1316686bdb6f891ac92ba67f4c3e4e4dc7940 /lib/utils_disk.h | |
parent | 0ff58b90631e9b62da23c4c9487d3d8d310f2d7f (diff) | |
download | monitoring-plugins-0f71b7d07a8badd9aa38ef8d847bd982ab2db72c.tar.gz |
check_disk: added regex functionality -r and -R. see np-devel mail (2007-02-10)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1658 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/utils_disk.h')
-rw-r--r-- | lib/utils_disk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils_disk.h b/lib/utils_disk.h index 331c16d7..6263339f 100644 --- a/lib/utils_disk.h +++ b/lib/utils_disk.h | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | #include "mountlist.h" | 3 | #include "mountlist.h" |
4 | #include "utils_base.h" | 4 | #include "utils_base.h" |
5 | #include "regex.h" | ||
5 | 6 | ||
6 | struct name_list | 7 | struct name_list |
7 | { | 8 | { |
@@ -32,3 +33,4 @@ struct parameter_list *np_add_parameter(struct parameter_list **list, const char | |||
32 | struct parameter_list *np_find_parameter(struct parameter_list *list, const char *name); | 33 | struct parameter_list *np_find_parameter(struct parameter_list *list, const char *name); |
33 | int search_parameter_list (struct parameter_list *list, const char *name); | 34 | int search_parameter_list (struct parameter_list *list, const char *name); |
34 | void np_set_best_match(struct parameter_list *desired, struct mount_entry *mount_list, int exact); | 35 | void np_set_best_match(struct parameter_list *desired, struct mount_entry *mount_list, int exact); |
36 | int np_regex_match_mount_entry (struct mount_entry* me, regex_t* re); | ||