From ab31159090e427a495f4ad77a6291923ab939160 Mon Sep 17 00:00:00 2001 From: laforge Date: Tue, 12 Sep 2000 14:29:36 +0000 Subject: added example config file bugfixes in conffile.c ulogd_log still prints obsolete \n cosmetic fixes --- ulogd/conffile.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ulogd/conffile.h') diff --git a/ulogd/conffile.h b/ulogd/conffile.h index 6b04695..976bd44 100644 --- a/ulogd/conffile.h +++ b/ulogd/conffile.h @@ -1,7 +1,7 @@ /* config file parser functions * (C) 2000 by Harald Welte * - * $Id: conffile.h,v 1.3 2000/09/09 18:35:26 laforge Exp $ + * $Id: conffile.h,v 1.4 2000/09/09 21:55:46 laforge Exp $ * * This code is distributed under the terms of GNU GPL */ @@ -55,9 +55,12 @@ typedef struct config_entry { /* if an error occurs, config_errce is set to the erroneous ce */ config_entry_t *config_errce; -/* parse the config file "fname", presume all config keys are registered +/* tell us the name of the config file */ +int config_register_file(const char *file); + +/* parse the config file , presume all config keys are registered * if final==1 */ -int config_parse_file(const char *fname, int final); +int config_parse_file(int final); /* register a linked list of config entries */ int config_register_key(config_entry_t *ce); -- cgit v1.2.3