syslog-ng source
linux-kmsg-format.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012 Balabit
3  * Copyright (c) 2012 Gergely Nagy <algernon@balabit.hu>
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 LINUX_KMSG_FORMAT_H_INCLUDED
25 #define LINUX_KMSG_FORMAT_H_INCLUDED
26 
27 #include "msg-format.h"
28 
30  LogMessage *msg,
31  const guchar *data, gsize length,
32  gsize *problem_position);
33 
34 void linux_msg_format_init (void);
35 
36 #endif
gboolean linux_kmsg_format_handler(const MsgFormatOptions *parse_options, LogMessage *msg, const guchar *data, gsize length, gsize *problem_position)
Definition: linux-kmsg-format.c:359
void linux_msg_format_init(void)
Definition: linux-kmsg-format.c:433
Definition: msg-format.h:69
MsgFormatOptions parse_options
Definition: test_filters_common.c:49
LogMessage * msg
Definition: test_rename.c:35