summaryrefslogtreecommitdiff
path: root/epoll2.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:55:28 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:55:28 +0200
commit83ef345503943cc6f7c2f02381f71113601e8261 (patch)
treec86227397301650996a2b2db5d4b75b8ad33f7d1 /epoll2.h
parent7bd73747fff54cf51642dbbf042c621e59a2c005 (diff)
xutils: eliminate xutils, move rest to epoll2
Finally eliminate xutils.{c,h} and move the rest to epoll2. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'epoll2.h')
-rw-r--r--epoll2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/epoll2.h b/epoll2.h
new file mode 100644
index 0000000..1ecf5f0
--- /dev/null
+++ b/epoll2.h
@@ -0,0 +1,7 @@
+#ifndef __EPOLL_H
+#define __EPOLL_H
+
+extern void set_epoll_descriptor(int fd_epoll, int action, int fd_toadd, int events);
+extern int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events);
+
+#endif /* __EPOLL_H */