diff options
Diffstat (limited to 'iocp-internal.h')
-rw-r--r-- | iocp-internal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/iocp-internal.h b/iocp-internal.h index 4fd507c9..9d49a7c0 100644 --- a/iocp-internal.h +++ b/iocp-internal.h @@ -31,6 +31,7 @@ extern "C" { #endif +struct event_overlapped; typedef void (*iocp_callback)(struct event_overlapped *, uintptr_t, ssize_t); struct event_overlapped { @@ -40,11 +41,14 @@ struct event_overlapped { struct event_iocp_port { HANDLE port; - int shutdown = 0; }; void event_overlapped_init(struct event_overlapped *, iocp_callback cb); +struct evbuffer; +int evbuffer_launch_write(struct evbuffer *buf, ssize_t atmost); +int evbuffer_launch_read(struct evbuffer *buf, size_t atmost); + #ifdef __cplusplus } #endif |