mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-20 21:57:10 -04:00
20 lines
545 B
C
20 lines
545 B
C
|
|
#ifndef _PARSE_INI_H_
|
||
|
|
#define _PARSE_INI_H_
|
||
|
|
|
||
|
|
/*
|
||
|
|
* parse_ini.h: routines for loading nagios-plugin defaults from ini
|
||
|
|
* configuration files.
|
||
|
|
*/
|
||
|
|
|
||
|
|
/* NP_DEFAULT_INI_PATH: compile-time default location for ini file */
|
||
|
|
#ifndef NP_DEFAULT_INI_PATH
|
||
|
|
# define NP_DEFAULT_INI_PATH "/etc/nagios-plugins/plugins.ini"
|
||
|
|
#endif /* NP_DEFAULT_INI_PATH */
|
||
|
|
|
||
|
|
/* np_load_defaults: load the default configuration (if present) for
|
||
|
|
* a plugin from the ini file
|
||
|
|
*/
|
||
|
|
char* np_get_defaults(const char *locator, const char *default_section);
|
||
|
|
|
||
|
|
#endif /* _PARSE_INI_H_ */
|