]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
ulogd: provide default configure implementation
authorCorubba Smith <corubba@gmx.de>
Wed, 12 Mar 2025 14:55:55 +0000 (15:55 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 12 Mar 2025 15:28:51 +0000 (16:28 +0100)
commit51d46956e78b0bc204209f2fbbd0f2ce8d366aa7
tree40ecac74ce11ded0e8981a1fe858dc06d328f1e1
parenta6229ae0bbeb8fcb7f9ee5d1dddaae98c0c71176
ulogd: provide default configure implementation

Provide a default implementation for the configure hook which simply
calls ulogd_parse_configfile(), so simple plugins only need to provide
the config_keyset. This also triggers an "unknown key" error if a
plugin defines no config_keyset (aka it has no options), but the config
file contains directives for it.

Signed-off-by: Corubba Smith <corubba@gmx.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
src/conffile.c
src/ulogd.c