mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 05:50:41 +01:00
23 lines
679 B
C
23 lines
679 B
C
#ifndef PARSERIF_H_DEFINED
|
|
#define PARSERIF_H_DEFINED
|
|
#include "rainerscript.h"
|
|
int cnfSetLexFile(char*);
|
|
int yyparse();
|
|
char *cnfcurrfn;
|
|
void dbgprintf(char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
|
void parser_errmsg(char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
|
void tellLexEndParsing(void);
|
|
extern int yydebug;
|
|
extern int yylineno;
|
|
|
|
/* entry points to be called after the parser has processed the
|
|
* element in question. Actual processing must than be done inside
|
|
* these functions.
|
|
*/
|
|
void cnfDoObj(struct cnfobj *o);
|
|
void cnfDoScript(struct cnfstmt *script);
|
|
void cnfDoCfsysline(char *ln);
|
|
void cnfDoBSDTag(char *ln);
|
|
void cnfDoBSDHost(char *ln);
|
|
#endif
|