Displaying 1 result from an estimated 1 matches for "__iolist_h".
2004 Oct 25
0
[PATCH] move iolist functions into separate file
...pNX /usr/share/dontdiff -x debian dovecot-1.0-test51.vanilla/src/lib/iolist.h dovecot-1.0-test51/src/lib/iolist.h
--- dovecot-1.0-test51.vanilla/src/lib/iolist.h 1970-01-01 03:00:00.000000000 +0300
+++ dovecot-1.0-test51/src/lib/iolist.h 2004-10-24 16:36:57.000000000 +0400
@@ -0,0 +1,19 @@
+#ifndef __IOLIST_H
+#define __IOLIST_H
+
+enum {
+ IOLIST_INPUT,
+ IOLIST_OUTPUT,
+
+ IOLIST_IOS_PER_FD
+};
+
+struct io_list {
+ struct io *ios[IOLIST_IOS_PER_FD];
+};
+
+int iolist_add(struct io_list *list, struct io *io);
+int iolist_del(struct io_list *list, struct io *io);
+int iolist_events(struct io_list *list...