summaryrefslogtreecommitdiffstats
path: root/plugins/ommysql
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-11-21 10:09:02 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-11-21 10:09:02 +0000
commit214c7bd7f8552f0a07a15373b4a222da6e9e6ba6 (patch)
treec27d4e7d17f3b85f3a75c4a4b1e1df7fd523a00b /plugins/ommysql
parent96b390934051e8b0de71ccf71538e8ae3319f00d (diff)
downloadrsyslog-214c7bd7f8552f0a07a15373b4a222da6e9e6ba6.tar.gz
rsyslog-214c7bd7f8552f0a07a15373b4a222da6e9e6ba6.tar.xz
rsyslog-214c7bd7f8552f0a07a15373b4a222da6e9e6ba6.zip
added new modExit() entry point to loadable module interface
Diffstat (limited to 'plugins/ommysql')
-rw-r--r--plugins/ommysql/Makefile.am2
-rw-r--r--plugins/ommysql/ommysql.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/ommysql/Makefile.am b/plugins/ommysql/Makefile.am
index f388d1a9..ee4b12bf 100644
--- a/plugins/ommysql/Makefile.am
+++ b/plugins/ommysql/Makefile.am
@@ -1,7 +1,7 @@
pkglibdir = $(libdir)/rsyslog
pkglib_LTLIBRARIES = ommysql.la
-ommysql_la_SOURCES = ommysql.c ommysql.h
+ommysql_la_SOURCES = ommysql.c ommysql.h ../../module-template.h
ommysql_la_CPPFLAGS = $(mysql_cflags) -I$(srcdir)/../..
ommysql_la_LDFLAGS = -module -avoid-version
ommysql_la_LIBADD = $(mysql_libs)
diff --git a/plugins/ommysql/ommysql.c b/plugins/ommysql/ommysql.c
index c132956a..33651a79 100644
--- a/plugins/ommysql/ommysql.c
+++ b/plugins/ommysql/ommysql.c
@@ -288,6 +288,11 @@ CODE_STD_FINALIZERparseSelectorAct
ENDparseSelectorAct
+BEGINmodExit
+CODESTARTmodExit
+ENDmodExit
+
+
BEGINqueryEtryPt
CODESTARTqueryEtryPt
CODEqueryEtryPt_STD_OMOD_QUERIES