syslog-ng source
kafka-parser.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Pierre-Yves Ritschard <pyr@spootnik.org>
3  * Copyright (c) 2018 Kokan <kokaipeter@gmail.com>
4  * Copyright (c) 2019 Balabit
5  * Copyright (c) 2019 Balazs Scheidler
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License version 2 as published
9  * by the Free Software Foundation, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  *
20  * As an additional exemption you are allowed to compile & link against the
21  * OpenSSL libraries as published by the OpenSSL project. See the file
22  * COPYING for details.
23  *
24  */
25 
26 #ifndef KAFKA_PARSER_H_INCLUDED
27 #define KAFKA_PARSER_H_INCLUDED
28 
29 #include "cfg-parser.h"
30 #include "cfg-lexer.h"
31 #include "driver.h"
32 
33 extern CfgParser kafka_parser;
34 
35 CFG_PARSER_DECLARE_LEXER_BINDING(kafka_, KAFKA_, LogDriver **)
36 
37 #endif
#define CFG_PARSER_DECLARE_LEXER_BINDING(parser_prefix, PARSER_PREFIX, root_type)
Definition: cfg-parser.h:81
CfgParser kafka_parser
Definition: kafka-parser.c:63
Definition: cfg-parser.h:34