summaryrefslogtreecommitdiffstats
path: root/lib/parse_ini.h
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-03-26 09:46:27 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-03-26 09:46:27 (GMT)
commitaf71e9fc0ef268b322c4f4677773273c07926a7a (patch)
treefa0b6b2a3b87b6cb5177acd4f2a4b48276313102 /lib/parse_ini.h
parenta34cf37404104ff5bb13fb5fecdf5e492401c6a3 (diff)
downloadmonitoring-plugins-af71e9fc0ef268b322c4f4677773273c07926a7a.tar.gz
write ini-file lookup function + tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1962 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/parse_ini.h')
-rw-r--r--lib/parse_ini.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/parse_ini.h b/lib/parse_ini.h
index 61149a2..309dce5 100644
--- a/lib/parse_ini.h
+++ b/lib/parse_ini.h
@@ -13,10 +13,12 @@ typedef struct np_arg_el {
13 struct np_arg_el *next; 13 struct np_arg_el *next;
14} np_arg_list; 14} np_arg_list;
15 15
16/* NP_DEFAULT_INI_PATH: compile-time default location for ini file 16/* FIXME: This is in plugins/common.c. Should be eventually moved to lib/
17#ifndef NP_DEFAULT_INI_PATH 17 * (although for this particular one a configure settings should be ideal)
18# define NP_DEFAULT_INI_PATH "/etc/nagios-plugins.ini" 18 */
19#endif NP_DEFAULT_INI_PATH */ 19#ifndef MAX_INPUT_BUFFER
20# define MAX_INPUT_BUFFER 8192
21#endif /* MAX_INPUT_BUFFER */
20 22
21/* Filenames (see below) */ 23/* Filenames (see below) */
22#ifndef NP_DEFAULT_INI_FILENAME1 24#ifndef NP_DEFAULT_INI_FILENAME1