syslog-ng source
python-dest.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014-2015 Balabit
3  * Copyright (c) 2014 Gergely Nagy <algernon@balabit.hu>
4  * Copyright (c) 2014-2015 Balazs Scheidler <balazs.scheidler@balabit.com>
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published
8  * by the Free Software Foundation, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  *
19  * As an additional exemption you are allowed to compile & link against the
20  * OpenSSL libraries as published by the OpenSSL project. See the file
21  * COPYING for details.
22  *
23  */
24 
25 #ifndef _SNG_PYTHON_DEST_H
26 #define _SNG_PYTHON_DEST_H
27 
28 #include "python-module.h"
29 #include "python-binding.h"
30 #include "driver.h"
31 #include "logwriter.h"
33 
34 LogDriver *python_dd_new(GlobalConfig *cfg);
35 void python_dd_set_value_pairs(LogDriver *d, ValuePairs *vp);
37 LogTemplateOptions *python_dd_get_template_options(LogDriver *d);
38 
40 
41 #endif
PythonBinding * python_dd_get_binding(LogDriver *d)
Definition: python-dest.c:79
LogTemplateOptions * python_dd_get_template_options(LogDriver *d)
Definition: python-dest.c:96
LogDriver * python_dd_new(GlobalConfig *cfg)
Definition: python-dest.c:648
void python_dd_set_value_pairs(LogDriver *d, ValuePairs *vp)
Definition: python-dest.c:87
void py_log_destination_global_init(void)
Definition: python-dest.c:693
Definition: python-binding.h:29
GlobalConfig * cfg
Definition: test_batched_ack_tracker.c:34