diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-05 12:33:48 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-05 12:33:48 +0200 |
commit | f8e7c7e3656085bee11b1667f32828dfb4e3df06 (patch) | |
tree | a70921c7ae31d4174c7c166a05619f4506a7e62f /grammar/parserif.h | |
parent | 6175ce90b59d742976aa5a8b2603902761e540ae (diff) | |
download | rsyslog-f8e7c7e3656085bee11b1667f32828dfb4e3df06.tar.gz rsyslog-f8e7c7e3656085bee11b1667f32828dfb4e3df06.tar.xz rsyslog-f8e7c7e3656085bee11b1667f32828dfb4e3df06.zip |
milestone: some plumbing for rsyslog/stand alone parsing
Diffstat (limited to 'grammar/parserif.h')
-rw-r--r-- | grammar/parserif.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/grammar/parserif.h b/grammar/parserif.h index e22b7d34..b6986dd8 100644 --- a/grammar/parserif.h +++ b/grammar/parserif.h @@ -1,6 +1,8 @@ #ifndef PARSERIF_H_DEFINED #define PARSERIF_H_DEFINED -extern int cnfSetLexFile(char*); -extern int yyparse(); -extern int yydebug; +int cnfSetLexFile(char*); +int yyparse(); +int yydebug; +void dbgprintf(char *fmt, ...) __attribute__((format(printf, 1, 2))); +void parser_errmsg(char *fmt, ...) __attribute__((format(printf, 1, 2))); #endif |