diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-17 09:10:24 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-17 09:10:24 +0100 |
commit | f94a3034b6c2218f51be5ab84bae591269e07215 (patch) | |
tree | 687ef09644b4c315790becfff8088a05b1d9896e /runtime/nsdsel_ptcp.h | |
parent | 4af3a1d72d658a83b6b891ef37b0cd0471ba0e15 (diff) | |
parent | 30c2e42ec305bb97bd04172e5c02b89eeea53e35 (diff) | |
download | rsyslog-f94a3034b6c2218f51be5ab84bae591269e07215.tar.gz rsyslog-f94a3034b6c2218f51be5ab84bae591269e07215.tar.bz2 rsyslog-f94a3034b6c2218f51be5ab84bae591269e07215.zip |
integrating varmojfekoj's "unlimited select()" patch into v4-devel
Diffstat (limited to 'runtime/nsdsel_ptcp.h')
-rw-r--r-- | runtime/nsdsel_ptcp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/nsdsel_ptcp.h b/runtime/nsdsel_ptcp.h index 6c0c7fa7..f9ec8210 100644 --- a/runtime/nsdsel_ptcp.h +++ b/runtime/nsdsel_ptcp.h @@ -31,8 +31,13 @@ typedef nsdsel_if_t nsdsel_ptcp_if_t; /* we just *implement* this interface */ struct nsdsel_ptcp_s { BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */ int maxfds; +#ifdef USE_UNLIMITED_SELECT + fd_set *pReadfds; + fd_set *pWritefds; +#else fd_set readfds; fd_set writefds; +#endif }; /* interface is defined in nsd.h, we just implement it! */ |