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

Functions

int json_parser_parse (CfgLexer *lexer, LogParser **instance, gpointer arg)
 

Variables

int json_parser_debug
 
CfgParser json_parser_parser
 

Function Documentation

◆ json_parser_parse()

int json_parser_parse ( CfgLexer *  lexer,
LogParser **  instance,
gpointer  arg 
)

Variable Documentation

◆ json_parser_debug

int json_parser_debug
extern

◆ json_parser_parser

CfgParser json_parser_parser
Initial value:
=
{
.name = "json-parser",
.keywords = json_parser_keywords,
.parse = (gint (*)(CfgLexer *, gpointer *, gpointer)) json_parser_parse,
.cleanup = (void (*)(gpointer)) log_pipe_unref,
}
int json_parser_parse(CfgLexer *lexer, LogParser **instance, gpointer arg)
gboolean log_pipe_unref(LogPipe *self)
Definition: logpipe.c:197