From af71e9fc0ef268b322c4f4677773273c07926a7a Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Wed, 26 Mar 2008 09:46:27 +0000 Subject: write ini-file lookup function + tests git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1962 f882894a-f735-0410-b71e-b25c423dba1c --- lib/parse_ini.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/parse_ini.h') 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 -- cgit v1.2.3