mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-03-14 06:32:45 -04:00
loop. Added extra tests for possible duplicate filesystems. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1449 f882894a-f735-0410-b71e-b25c423dba1c
30 lines
713 B
C
30 lines
713 B
C
/* Header file for utils_disk */
|
|
|
|
#include "mountlist.h"
|
|
|
|
struct name_list
|
|
{
|
|
char *name;
|
|
struct name_list *next;
|
|
};
|
|
|
|
struct parameter_list
|
|
{
|
|
char *name;
|
|
int found;
|
|
int found_len;
|
|
uintmax_t w_df;
|
|
uintmax_t c_df;
|
|
double w_dfp;
|
|
double c_dfp;
|
|
double w_idfp;
|
|
double c_idfp;
|
|
struct mount_entry *best_match;
|
|
struct parameter_list *name_next;
|
|
};
|
|
|
|
void np_add_name (struct name_list **list, const char *name);
|
|
int np_find_name (struct name_list *list, const char *name);
|
|
int np_seen_name (struct name_list *list, const char *name);
|
|
struct parameter_list *np_add_parameter(struct parameter_list **list, const char *name);
|
|
int search_parameter_list (struct parameter_list *list, const char *name);
|