syslog-ng source
control-server-dummy.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 Balabit
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17  *
18  * As an additional exemption you are allowed to compile & link against the
19  * OpenSSL libraries as published by the OpenSSL project. See the file
20  * COPYING for details.
21  *
22  */
23 #ifndef CONTROL_SERVER_DUMMY_H_INLCUDED
24 #define CONTROL_SERVER_DUMMY_H_INLCUDED 1
25 
26 #include "control/control-server.h"
27 
28 void control_connection_dummy_set_input(ControlConnection *s, const gchar *request);
29 const gchar *control_connection_dummy_get_output(ControlConnection *s);
30 void control_connection_dummy_reset_output(ControlConnection *s);
31 ControlConnection *control_connection_dummy_new(ControlServer *server);
32 ControlServer *control_server_dummy_new(void);
33 
34 
35 #endif
ControlConnection * control_connection_dummy_new(ControlServer *server)
Definition: control-server-dummy.c:115
ControlServer * control_server_dummy_new(void)
Definition: control-server-dummy.c:140
void control_connection_dummy_reset_output(ControlConnection *s)
Definition: control-server-dummy.c:106
const gchar * control_connection_dummy_get_output(ControlConnection *s)
Definition: control-server-dummy.c:98
void control_connection_dummy_set_input(ControlConnection *s, const gchar *request)
Definition: control-server-dummy.c:89