summaryrefslogtreecommitdiffstats
path: root/runtime/nsd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-28 14:21:58 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-28 14:21:58 +0200
commita3ff7eaf859cd6e91f68421b70c4a46d5a41ff2c (patch)
treee707e999f119f68297ad15072561b894dfd21ce2 /runtime/nsd.h
parent10e06c833a55b972c0e4943eea3223f21ad73736 (diff)
downloadrsyslog-a3ff7eaf859cd6e91f68421b70c4a46d5a41ff2c.tar.gz
rsyslog-a3ff7eaf859cd6e91f68421b70c4a46d5a41ff2c.tar.xz
rsyslog-a3ff7eaf859cd6e91f68421b70c4a46d5a41ff2c.zip
added $ActionSendStreamDriverMode config directive
Diffstat (limited to 'runtime/nsd.h')
-rw-r--r--runtime/nsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/nsd.h b/runtime/nsd.h
index 1b3702a0..cc06c877 100644
--- a/runtime/nsd.h
+++ b/runtime/nsd.h
@@ -50,6 +50,7 @@ BEGINinterface(nsd) /* name must also be changed in ENDinterface macro! */
rsRetVal (*AcceptConnReq)(nsd_t *pThis, nsd_t **ppThis);
rsRetVal (*GetRemoteHName)(nsd_t *pThis, uchar **pszName);
rsRetVal (*GetRemoteIP)(nsd_t *pThis, uchar **pszIP);
+ rsRetVal (*SetMode)(nsd_t *pThis, int mode); /* sets a driver specific mode - see driver doc for details */
rsRetVal (*GetSock)(nsd_t *pThis, int *pSock);
rsRetVal (*SetSock)(nsd_t *pThis, int sock);
/* GetSock() and SetSock() return an error if the driver does not use plain