Displaying 1 result from an estimated 1 matches for "epoll_list_input".
2004 Oct 25
0
[PATCH] move iolist functions into separate file
...st51/src/lib/ioloop-epoll.c 2004-10-24 16:42:09.000000000 +0400
@@ -12,6 +12,7 @@
/* @UNSAFE: whole file */
#include "lib.h"
+#include "iolist.h"
#include "ioloop-internal.h"
#ifdef IOLOOP_EPOLL
@@ -21,13 +22,6 @@
#define INITIAL_EPOLL_EVENTS 128
-enum {
- EPOLL_LIST_INPUT,
- EPOLL_LIST_OUTPUT,
-
- EPOLL_IOS_PER_FD
-};
-
struct ioloop_handler_data {
int epfd;
int events_size, events_pos;
@@ -37,10 +31,6 @@ struct ioloop_handler_data {
struct io_list **fd_index;
};
-struct io_list {
- struct io *ios[EPOLL_IOS_PER_FD];
-};
-
void io_loop_handler_init(struct...