2
* Copyright (c) 2014 BalaBit IT Ltd, Budapest, Hungary
3
* Copyright (c) 2014 Gergely Nagy <algernon@balabit.hu>
4
* Copyright (c) 2014 Viktor Tusa <tusa@balabit.hu>
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.
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.
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
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
#include "monitor-source.h"
26
#include "monitor-source-parser.h"
29
#include "plugin-types.h"
31
extern CfgParser monitor_parser;
33
static Plugin monitor_plugin =
35
.type = LL_CONTEXT_SOURCE,
37
.parser = &monitor_parser,
41
monitor_module_init(GlobalConfig *cfg, CfgArgs *args G_GNUC_UNUSED)
43
plugin_register(cfg, &monitor_plugin, 1);
47
const ModuleInfo module_info =
49
.canonical_name = "monitor",
51
.description = "The monitor module provides stuff.",
52
.core_revision = VERSION_CURRENT_VER_ONLY,
53
.plugins = &monitor_plugin,