X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/blobdiff_plain/d613fd78298a9911b7917c06f3ea11de45462e76..32fc582f43a9a3841d2782674e055113729c2814:/secnet.h?ds=inline diff --git a/secnet.h b/secnet.h index e79352b..1e1e75c 100644 --- a/secnet.h +++ b/secnet.h @@ -215,13 +215,9 @@ typedef void afterpoll_fn(void *st, struct pollfd *fds, int nfds); /* Register interest in the main loop of the program. Before a call to poll() your supplied beforepoll function will be called. After - the call to poll() the supplied afterpoll function will be called. - max_nfds is a _hint_ about the maximum number of struct pollfd - structures you may require - you can always ask for more in - *nfds_io. */ + the call to poll() the supplied afterpoll function will be called. */ extern void register_for_poll(void *st, beforepoll_fn *before, - afterpoll_fn *after, int32_t max_nfds, - cstring_t desc); + afterpoll_fn *after, cstring_t desc); /***** END of scheduling support */