syslog-ng source
plugin_template_parser.c File Reference
#include "driver.h"
#include "cfg-parser.h"
#include "@PLUGIN_NAME@-grammar.h"
Include dependency graph for plugin_template_parser.c:

Functions

int PLUGIN_NAME_US _parse (CfgLexer *lexer, LogDriver **instance, gpointer arg)
 

Variables

int PLUGIN_NAME_US _debug
 
CfgParser PLUGIN_NAME_US _parser
 

Function Documentation

◆ _parse()

int PLUGIN_NAME_US _parse ( CfgLexer *  lexer,
LogDriver **  instance,
gpointer  arg 
)

Variable Documentation

◆ _debug

int PLUGIN_NAME_US _debug
extern

◆ _parser

CfgParser PLUGIN_NAME_US _parser
Initial value:
=
{
.name = "@PLUGIN_NAME@",
.keywords = @PLUGIN_NAME_US@_keywords,
.parse = (gint (*)(CfgLexer *, gpointer *, gpointer)) @PLUGIN_NAME_US@_parse,
.cleanup = (void (*)(gpointer)) log_pipe_unref,
}
gboolean log_pipe_unref(LogPipe *self)
Definition: logpipe.c:197
int PLUGIN_NAME_US _parse(CfgLexer *lexer, LogDriver **instance, gpointer arg)