diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-01-26 15:37:07 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-01-26 15:37:07 +0100 |
commit | 3049f535fff9d351480bceb7ea82667176a7c8a2 (patch) | |
tree | d633ee9f9801ad882e66504a18e07fac7c3d38f8 /runtime/nspoll.h | |
parent | 0e4373a6329a1f74dda8eceed5fd18ce92fe0d10 (diff) | |
download | rsyslog-3049f535fff9d351480bceb7ea82667176a7c8a2.tar.gz rsyslog-3049f535fff9d351480bceb7ea82667176a7c8a2.tar.xz rsyslog-3049f535fff9d351480bceb7ea82667176a7c8a2.zip |
interim commit: refactored epoll processing
this is a perquisite for multi-threading the input handler
Diffstat (limited to 'runtime/nspoll.h')
-rw-r--r-- | runtime/nspoll.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/nspoll.h b/runtime/nspoll.h index 4b066577..037f6c38 100644 --- a/runtime/nspoll.h +++ b/runtime/nspoll.h @@ -50,7 +50,7 @@ BEGINinterface(nspoll) /* name must also be changed in ENDinterface macro! */ rsRetVal (*Construct)(nspoll_t **ppThis); rsRetVal (*ConstructFinalize)(nspoll_t *pThis); rsRetVal (*Destruct)(nspoll_t **ppThis); - rsRetVal (*Wait)(nspoll_t *pNsdpoll, int timeout, int *numEntries, int idRdy[], void *ppUsr[]); + rsRetVal (*Wait)(nspoll_t *pNsdpoll, int timeout, int *numEntries, nsd_epworkset_t workset[]); rsRetVal (*Ctl)(nspoll_t *pNsdpoll, netstrm_t *pStrm, int id, void *pUsr, int mode, int op); rsRetVal (*IsEPollSupported)(void); /* static method */ ENDinterface(nspoll) |