syslog-ng source
riemann-worker.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 One Identity
3  * Copyright (c) 2013, 2014 Balabit
4  * Copyright (c) 2013, 2014, 2015 Gergely Nagy
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_RIEMANN_WORKER_H_INCLUDED
26 #define SNG_RIEMANN_WORKER_H_INCLUDED
27 
29 
30 typedef struct
31 {
32  LogThreadedDestWorker super;
33  riemann_client_t *client;
34 
35  struct
36  {
37  riemann_event_t **list;
38  gint n;
39  } event;
41 
42 LogThreadedDestWorker *riemann_dw_new(LogThreadedDestDriver *owner, gint worker_index);
43 
44 #endif
LogThreadedDestWorker * riemann_dw_new(LogThreadedDestDriver *owner, gint worker_index)
Definition: riemann-worker.c:462
Definition: riemann-worker.h:31
riemann_client_t * client
Definition: riemann-worker.h:33
riemann_event_t ** list
Definition: riemann-worker.h:37
gint n
Definition: riemann-worker.h:38
LogThreadedDestWorker super
Definition: riemann-worker.h:32