diff options
author | laforge <laforge> | 2000-09-12 14:29:36 +0000 |
---|---|---|
committer | laforge <laforge> | 2000-09-12 14:29:36 +0000 |
commit | ab31159090e427a495f4ad77a6291923ab939160 (patch) | |
tree | 2d1c07d3de4ee826c6b0e307061b352646c40ae6 /ulogd/conffile.h | |
parent | afc217efb583f0a4afa4efb63cb4cc0e6b62ebc4 (diff) |
added example config file
bugfixes in conffile.c
ulogd_log still prints obsolete \n
cosmetic fixes
Diffstat (limited to 'ulogd/conffile.h')
-rw-r--r-- | ulogd/conffile.h | 9 |
1 files changed, 6 insertions, 3 deletions
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 <laforge@gnumonks.org> * - * $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); |