check_pgsql: update copyright
[monitoring-plugins.git] / lib / parse_ini.h
blobe37601b53df88aba94061f7f7ac7c7c525c4f345
1 #ifndef _PARSE_INI_H_
2 #define _PARSE_INI_H_
4 /*
5 * parse_ini.h: routines for loading monitoring-plugin defaults from ini
6 * configuration files.
7 */
9 /* np_arg_list is a linked list of arguments passed between the ini
10 * parser and the argument parser to construct the final array */
11 typedef struct np_arg_el {
12 char *arg;
13 struct np_arg_el *next;
14 } np_arg_list;
16 /* np_load_defaults: load the default configuration (if present) for
17 * a plugin from the ini file
19 np_arg_list *np_get_defaults(const char *locator, const char *default_section);
21 #endif /* _PARSE_INI_H_ */