Code

Added option to invert search results
[nagiosplug.git] / lib / parse_ini.h
index 61149a216d1a6b33467b496d118e74bab8c6a3f5..e0ba8164b02ed8e71770c4ae129c37a21fa90cf7 100644 (file)
@@ -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
@@ -57,3 +59,4 @@ typedef struct np_arg_el {
 np_arg_list* np_get_defaults(const char *locator, const char *default_section);
 
 #endif /* _PARSE_INI_H_ */
+