]> git.ipfire.org Git - people/ms/rstp.git/blobdiff - epoll_loop.h
Remove code for passing STP BPDU via netlink
[people/ms/rstp.git] / epoll_loop.h
index f9cfbeec610abda6e1e67f7ac4ad833d7b773d0b..14d042359403fe05af3e301ba0f74e40f2bce286 100644 (file)
 #include <sys/time.h>
 #include <time.h>
 
-struct epoll_event_handler 
-{
-  int fd;
-  void *arg;
-  void (*handler)(uint32_t events, struct epoll_event_handler *p);
-  struct epoll_event *ref_ev; /* if set, epoll loop has reference to this,
-                                 so mark that ref as NULL while freeing */
+struct epoll_event_handler {
+       int fd;
+       void *arg;
+       void (*handler) (uint32_t events, struct epoll_event_handler * p);
+       struct epoll_event *ref_ev;     /* if set, epoll loop has reference to this,
+                                          so mark that ref as NULL while freeing */
 };
 
 int init_epoll(void);