afsocket: fix shift/reduce conflicts in grammar

Due to a stray colon, the grammar contained a conflict as both
source_systemd_syslog_option and its recursive parent
source_systemd_syslog_options permitted an empty evaluation.

By removing the extra colon, only the "options" rule allows the empty
match, which in turn removes the conflict.

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
afsocket: fix indentation issues in the grammar file
logproto-regexp-multiline-server: fix compilation warnings about mismatching character signs

The types used for detecting the message boundaries were not consistently
used and some of the call-sites lacked type-casts. This patch fixes
that up by consistently using guchar * for detecting line endings,
and only casting it to a gchar * when passing it on to pcre.

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
test_rewrite: always use the current config version in the tests

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
test_rewrite: fix compilation warning due to a pointer type mismatch

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
test_rewrite: rename local LogPipe API extension

The test program contained a function that was named like as it was part
of the LogPipe API, called log_pipe_queue_with_default_path_options().
call that invoke_rewrite_rule() instead, that reflects its purpose
much better. If we need the API extension, we should do that in the
core.

Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
Merge pull request #310 from balabit/f/fix-warnings

F/fix warnings