libuv/ol_unix.h
Ryan Dahl 116bd967d6 ...
2011-03-23 20:40:55 -07:00

26 lines
362 B
C

/**
* Note can be cast to io_vec.
*/
typedef struct {
char* buf;
size_t len;
ngx_queue_s write_queue;
} ol_buf;
typedef struct {
int fd;
ol_handle_type type;
ol_read_cb read_cb;
ol_close_cb close_cb;
ol_connect_cb connect_cb;
ev_io read_watcher;
ev_io write_watcher;
ngx_queue_s write_queue;
ngx_queue_s all_handles;
} ol_handle;