summaryrefslogtreecommitdiffstats
path: root/runtime/sigprov.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-03-05 12:52:28 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-03-05 12:52:28 +0100
commit8f32f09d7e688091f432e0c0e156d3a9eec78a4b (patch)
tree4ac0e193728730cb8302960d647984c71faf3b00 /runtime/sigprov.h
parent3a68c5cda88336af1fde3755180f4e293735da5d (diff)
downloadrsyslog-8f32f09d7e688091f432e0c0e156d3a9eec78a4b.tar.gz
rsyslog-8f32f09d7e688091f432e0c0e156d3a9eec78a4b.tar.bz2
rsyslog-8f32f09d7e688091f432e0c0e156d3a9eec78a4b.zip
logsig: more interface plumbing
Diffstat (limited to 'runtime/sigprov.h')
-rw-r--r--runtime/sigprov.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/sigprov.h b/runtime/sigprov.h
index f0eb9350..0154a1f4 100644
--- a/runtime/sigprov.h
+++ b/runtime/sigprov.h
@@ -27,7 +27,10 @@
/* interface */
BEGINinterface(sigprov) /* name must also be changed in ENDinterface macro! */
rsRetVal (*Construct)(void *ppThis);
- rsRetVal (*Destruct)(void **ppThis);
+ rsRetVal (*Destruct)(void *ppThis);
+ rsRetVal (*OnFileOpen)(void *pThis, uchar *fn);
+ rsRetVal (*OnRecordWrite)(void *pThis, uchar *rec, rs_size_t lenRec);
+ rsRetVal (*OnFileClose)(void *pThis);
ENDinterface(sigprov)
#define sigprovCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */
#endif /* #ifndef INCLUDED_SIGPROV_H */