value-pairs: Support string list in key() and exclude()

This adds support to value-pairs for using multiple elements in the
key() and exclude() options. This makes it easier to wrap them in an SCL
block. Same feature was added to the command-line parser too.

These partially address #219.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
template_lib.c: Template assert should check the length of the formatted string as well.

Reported-by: Andras Mitzki <mitzkia@gmail.com>
Signed-off-by: Viktor Tusa <tusavik@gmail.com>
cryptofuncs: Length shouldn't be larger than the message disgest length.

Reported-by: Andras Mitzki <mitzkia@gmail.com>
Signed-off-by: Viktor Tusa <tusavik@gmail.com>
Merge pull request #224 from talien/f/cryptofuncs-fix

F/cryptofuncs fix
driver.h: add declaration of log_src_driver_queue_method() to fix compilation warnings

The function log_src_driver_queue_method() was undeclared, causing
warnings to be displayed during compilation.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>
Merge pull request #220 from algernon/f/value-pairs/string-list-for-globs

value-pairs: Support string list in key() and exclude()
journald-source: New source module is implemented

The module does not require installed systemd-journal development package
Unit tests also implemented and these tests can run on non-journald systems

Signed-off-by: Juhász Viktor <viktor.juhasz@balabit.com>
geoip: Fix local state initialisation

When running with threaded(yes), local state was never initialised,
because we did that at module load time, which happens in a different
thread. Instead, we now initialise the local state on each function
call, unless already initialised.

This fixes #228.

Reported-by: Fabien Wernli
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
afsocket: syslog-ng receives credentials via UDS only on FreeBSD and on Linux

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
Merge pull request #231 from lbudai/f/credential_pass

afsocket: syslog-ng receives credentials via UDS only on FreeBSD and on ...
Merge pull request #230 from algernon/h/3.6/geoip/threaded-fix

geoip: Fix local state initialisation
systemd-journal: make it possible to turn on/off systemd-journal usage

Signed-off-by: Juhász Viktor <viktor.juhasz@balabit.com>
Merge pull request #229 from juhaszviktor/3.6/f/journald-source

journald-source: New source module is implemented
systemd-journald: remove reference to non-existing header file

Signed-off-by: Juhász Viktor <viktor.juhasz@balabit.com>
Merge pull request #232 from juhaszviktor/3.6/f/journald-source

systemd-journald: remove reference to non-existing header file
systemd-journal: make log_fetch_limit option available via config file

Signed-off-by: Juhász Viktor <viktor.juhasz@balabit.com>
Merge pull request #233 from juhaszviktor/3.6/f/journald-source

systemd-journal: make log_fetch_limit option available via config file
Fix a few compiler warnings

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Merge pull request #234 from algernon/h/3.6/warning-fixes

Fix a few compiler warnings
service-management: use virtual functions