diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-30 18:53:21 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-30 18:53:21 +0200 |
commit | da889001432c7a9242d8a6ef947fe6887dc366f3 (patch) | |
tree | ac25db9964e73292a06c0a5cbe99b106889eb32e /runtime/netstrms.h | |
parent | 7350595761d32b93c6ae0e2d31cbcb880371fd9c (diff) | |
download | rsyslog-da889001432c7a9242d8a6ef947fe6887dc366f3.tar.gz rsyslog-da889001432c7a9242d8a6ef947fe6887dc366f3.tar.xz rsyslog-da889001432c7a9242d8a6ef947fe6887dc366f3.zip |
added $InputTCPServerStreamDriverMode config directive
Diffstat (limited to 'runtime/netstrms.h')
-rw-r--r-- | runtime/netstrms.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/netstrms.h b/runtime/netstrms.h index 7dfc0d1d..8faccca7 100644 --- a/runtime/netstrms.h +++ b/runtime/netstrms.h @@ -31,6 +31,7 @@ struct netstrms_s { BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */ uchar *pBaseDrvrName; /**< nsd base driver name to use, or NULL if system default */ uchar *pDrvrName; /**< full base driver name (set when driver is loaded) */ + int iDrvrMode; /**< current default driver mode */ nsd_if_t Drvr; /**< our stream driver */ }; @@ -41,6 +42,8 @@ BEGINinterface(netstrms) /* name must also be changed in ENDinterface macro! */ rsRetVal (*ConstructFinalize)(netstrms_t *pThis); rsRetVal (*Destruct)(netstrms_t **ppThis); rsRetVal (*CreateStrm)(netstrms_t *pThis, netstrm_t **ppStrm); + rsRetVal (*SetDrvrMode)(netstrms_t *pThis, int iMode); + int (*GetDrvrMode)(netstrms_t *pThis); ENDinterface(netstrms) #define netstrmsCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */ |