]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
output: DBI: fix deprecation warnings
authorJeremy Sowden <jeremy@azazel.net>
Tue, 30 Nov 2021 10:55:39 +0000 (10:55 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Nov 2021 22:06:38 +0000 (23:06 +0100)
commit97fd6fa529330024264e5fa1ee5481a494c47137
treea96c57e32d799d3f73638f5f3b4c7713219c5302
parent4958b0bf1221bdf3f7e30ff0fd235eb6321d5efb
output: DBI: fix deprecation warnings

The DBI output plugin uses some libdbi functions which have been
deprecated in favour of re-entrant equivalents.  Switch to the
re-entrant functions.

Remove superfluous `init` declaration.

Add destructor to clean up DBI instance on exit.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
output/dbi/ulogd_output_DBI.c