X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=epoll.h;h=57179d22c90d2b12b1915c0c0b9ad593c76ecea4;hb=6a736221313a18d611bc5e2c49f4fa8b354390f2;hp=f4e1453428ed95cef76073b2624fd623c97ebccc;hpb=7f5b0a5a99d73ee8d39a692ab3d289399a408e39;p=apps%2Fpfixtools.git diff --git a/epoll.h b/epoll.h index f4e1453..57179d2 100644 --- a/epoll.h +++ b/epoll.h @@ -33,9 +33,14 @@ * Copyright © 2007 Pierre Habouzit */ -#include +#ifndef PFIXTOOLS_EPOLL_H +#define PFIXTOOLS_EPOLL_H +#include #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