projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify.
[apps/pfixtools.git]
/
epoll.h
diff --git
a/epoll.h
b/epoll.h
index
f4e1453
..
57179d2
100644
(file)
--- a/
epoll.h
+++ b/
epoll.h
@@
-33,9
+33,14
@@
* Copyright © 2007 Pierre Habouzit
*/
* Copyright © 2007 Pierre Habouzit
*/
-#include <sys/epoll.h>
+#ifndef PFIXTOOLS_EPOLL_H
+#define PFIXTOOLS_EPOLL_H
+#include <sys/epoll.h>
#include "common.h"
#include "common.h"
-extern int epollfd;
+void epoll_register(int fd, uint32_t events, void *ptr);
+void epoll_modify(int fd, uint32_t events, void *ptr);
+int epoll_select(struct epoll_event *events, int maxevents, int timeout);
+#endif