syslog-ng source
logqueue-disk-reliable.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2002-2016 Balabit
3  * Copyright (c) 2016 Viktor Juhasz <viktor.juhasz@balabit.com>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 as published
7  * by the Free Software Foundation, or (at your option) any later version.
8  *
9  * This program 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
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; 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 
24 #ifndef LOGQUEUE_DISK_RELIABLE_H_
25 #define LOGQUEUE_DISK_RELIABLE_H_
26 
27 #include "logqueue-disk.h"
28 
29 typedef struct _LogQueueDiskReliable
30 {
31  LogQueueDisk super;
33  GQueue *backlog;
34  GQueue *front_cache;
37 
38 LogQueue *log_queue_disk_reliable_new(DiskQueueOptions *options, const gchar *filename, const gchar *persist_name,
39  gint stats_level, StatsClusterKeyBuilder *driver_sck_builder,
40  StatsClusterKeyBuilder *queue_sck_builder);
41 
42 #endif /* LOGQUEUE_DISK_RELIABLE_H_ */
LogQueue * log_queue_disk_reliable_new(DiskQueueOptions *options, const gchar *filename, const gchar *persist_name, gint stats_level, StatsClusterKeyBuilder *driver_sck_builder, StatsClusterKeyBuilder *queue_sck_builder)
Definition: logqueue-disk-reliable.c:493
Definition: diskq-options.h:33
Definition: logqueue-disk-reliable.h:30
GQueue * flow_control_window
Definition: logqueue-disk-reliable.h:32
gint front_cache_size
Definition: logqueue-disk-reliable.h:35
LogQueueDisk super
Definition: logqueue-disk-reliable.h:31
GQueue * front_cache
Definition: logqueue-disk-reliable.h:34
GQueue * backlog
Definition: logqueue-disk-reliable.h:33