The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
base.h
Go to the documentation of this file.
1 #pragma once
2 /*
3  * This program is free software; you can kafkatribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or (at
6  * your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16  */
17 
18 /**
19  * $Id: 2d9688ae7b2a8708380e1b9712bd21a4b0c2eee7 $
20  * @file lib/kafka/base.h
21  * @brief Common functions for interacting with kafk
22  *
23  * @author Arran Cudbard-Bell
24  *
25  * @copyright 2022 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
26  */
27 RCSIDH(kafka_base_h, "$Id: 2d9688ae7b2a8708380e1b9712bd21a4b0c2eee7 $")
28 
29 #ifdef HAVE_WDOCUMENTATION
30 DIAG_OFF(documentation-deprecated-sync)
31 DIAG_OFF(documentation)
32 #endif
33 #include <librdkafka/rdkafka.h>
34 #ifdef HAVE_WDOCUMENTATION
35 DIAG_ON(documentation)
36 DIAG_ON(documentation-deprecated-sync)
37 #endif
38 
39 #include <freeradius-devel/server/cf_parse.h>
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
47 
48 #ifdef __cplusplus
49 }
50 #endif
#define DIAG_ON(_x)
Definition: build.h:456
#define RCSIDH(h, id)
Definition: build.h:482
#define DIAG_OFF(_x)
Definition: build.h:455
Defines a CONF_PAIR to C data type mapping.
Definition: cf_parse.h:564
conf_parser_t const kafka_base_consumer_config[]
Definition: base.c:930
conf_parser_t const kafka_base_producer_config[]
Definition: base.c:1092