2
* Copyright (c) 2002-2010 BalaBit IT Ltd, Budapest, Hungary
3
* Copyright (c) 1998-2010 Balázs Scheidler
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
10
* This library 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 GNU
13
* Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
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.
25
#ifndef DGROUP_H_INCLUDED
26
#define DGROUP_H_INCLUDED
28
#include "syslog-ng.h"
33
typedef struct _LogDestGroup
38
guint32 *processed_messages;
41
static inline LogDestGroup *
42
log_dest_group_ref(LogDestGroup *self)
44
return (LogDestGroup *) log_pipe_ref(&self->super);
48
log_dest_group_unref(LogDestGroup *self)
50
log_pipe_unref(&self->super);
53
LogDestGroup *log_dest_group_new(gchar *name, LogDriver *drivers);