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

Functions

int example_destination_parse (CfgLexer *lexer, LogDriver **instance, gpointer arg)
 

Variables

int example_destination_debug
 
CfgParser example_destination_parser
 

Function Documentation

◆ example_destination_parse()

int example_destination_parse ( CfgLexer *  lexer,
LogDriver **  instance,
gpointer  arg 
)

Variable Documentation

◆ example_destination_debug

int example_destination_debug
extern

◆ example_destination_parser

CfgParser example_destination_parser
Initial value:
=
{
.name = "example_destination",
.keywords = example_destination_keywords,
.parse = (gint (*)(CfgLexer *, gpointer *, gpointer)) example_destination_parse,
.cleanup = (void (*)(gpointer)) log_pipe_unref,
}
int example_destination_parse(CfgLexer *lexer, LogDriver **instance, gpointer arg)
gboolean log_pipe_unref(LogPipe *self)
Definition: logpipe.c:197