diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-29 16:02:07 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-29 16:02:07 +0000 |
commit | a7eb97b930bbbd3133f336a6f2ccbfb55eebbcfb (patch) | |
tree | 54449d06aa387064b172423232c0ceb62dc09f90 /stream.h | |
parent | 20e9b14e39347608d03b41c93349ebe7017b9db9 (diff) | |
download | rsyslog-a7eb97b930bbbd3133f336a6f2ccbfb55eebbcfb.tar.gz rsyslog-a7eb97b930bbbd3133f336a6f2ccbfb55eebbcfb.tar.xz rsyslog-a7eb97b930bbbd3133f336a6f2ccbfb55eebbcfb.zip |
- added "debug" command to debug environment settings
- changed the object/interface system to use a new way of calling, giving
up the numerical object ID. This was necessary as we needed more
extensibility for third-party modules (which don't play at all with the
previous fixed object ID). This is stage work for the object loader.
Please note that I needed to change the object (de)serializer, I can't
outrule that I have introduced bugs there.
Diffstat (limited to 'stream.h')
-rw-r--r-- | stream.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -90,6 +90,12 @@ typedef struct strm_s { int bInRecord; /* if 1, indicates that we are currently writing a not-yet complete record */ } strm_t; +/* interfaces */ +BEGINinterface(strm) /* name must also be changed in ENDinterface macro! */ +ENDinterface(strm) +#define strmCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */ + + /* prototypes */ rsRetVal strmConstruct(strm_t **ppThis); rsRetVal strmConstructFinalize(strm_t __attribute__((unused)) *pThis); |