diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-05 12:52:28 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-05 12:52:28 +0100 |
commit | 8f32f09d7e688091f432e0c0e156d3a9eec78a4b (patch) | |
tree | 4ac0e193728730cb8302960d647984c71faf3b00 /runtime/sigprov.h | |
parent | 3a68c5cda88336af1fde3755180f4e293735da5d (diff) | |
download | rsyslog-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.h | 5 |
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 */ |