aboutsummaryrefslogtreecommitdiff
path: root/lib/parse_ini.h
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-03-26 09:46:27 +0000
committerGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-03-26 09:46:27 +0000
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 61149a21..309dce52 100644
--- a/lib/parse_ini.h
+++ b/lib/parse_ini.h
@@ -13,10 +13,12 @@ typedef struct np_arg_el {
struct np_arg_el *next;
} np_arg_list;
-/* NP_DEFAULT_INI_PATH: compile-time default location for ini file
-#ifndef NP_DEFAULT_INI_PATH
-# define NP_DEFAULT_INI_PATH "/etc/nagios-plugins.ini"
-#endif NP_DEFAULT_INI_PATH */
+/* FIXME: This is in plugins/common.c. Should be eventually moved to lib/
+ * (although for this particular one a configure settings should be ideal)
+ */
+#ifndef MAX_INPUT_BUFFER
+# define MAX_INPUT_BUFFER 8192
+#endif /* MAX_INPUT_BUFFER */
/* Filenames (see below) */
#ifndef NP_DEFAULT_INI_FILENAME1