mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-05 15:03:27 +07:00
Yet another API section update.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -55,10 +55,10 @@ signals.
|
||||
*/
|
||||
void callback(uev_ctx_t *ctx, uev_t *w, void *arg, int events);
|
||||
|
||||
/* Event loop functions */
|
||||
/* Event loop functions, notice use of flags! */
|
||||
int uev_init (uev_ctx_t *ctx);
|
||||
int uev_exit (uev_ctx_t *ctx);
|
||||
int uev_run (uev_ctx_t *ctx, int flags); /* UEV_ONCE, UEV_NONBLOCK, or UEV_NONE(0) */
|
||||
int uev_run (uev_ctx_t *ctx, int flags); /* UEV_NONE, UEV_ONCE, and/or UEV_NONBLOCK */
|
||||
|
||||
/* I/O watcher: fd is non-blocking, events is UEV_READ and/or UEV_WRITE */
|
||||
int uev_io_init (uev_ctx_t *ctx, uev_t *w, uev_cb_t *cb, void *arg, int fd, int events);
|
||||
|
||||
Reference in New Issue
Block a user