2
* Copyright (c) 2002, 2003, 2004 BalaBit IT Ltd, Budapest, Hungary
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 2 as published
6
* by the Free Software Foundation.
8
* Note that this permission is granted for only version 2 of the GPL.
10
* As an additional exemption you are allowed to compile & link against the
11
* OpenSSL libraries as published by the OpenSSL project. See the file
12
* COPYING for details.
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24
#ifndef DGROUP_H_INCLUDED
25
#define DGROUP_H_INCLUDED
27
#include "syslog-ng.h"
32
typedef struct _LogDestGroup
37
guint32 *processed_messages;
40
#define log_dgrp_ref(s) ((LogDestGroup *) log_pipe_ref((LogPipe *) s))
41
#define log_dgrp_unref(s) log_pipe_unref((LogPipe *) s)
43
LogDestGroup *log_dest_group_new(gchar *name, LogDriver *drivers);