summaryrefslogtreecommitdiff
path: root/include/event.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-05-25 15:14:31 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-05-25 15:14:31 +0200
commited49d60424a18635c31dafc77e2cb720f75cc4ff (patch)
treea03fa967fc353777eb20d5b81dfd46430e38c45e /include/event.h
parented50c346126f5385163d03bc9639d28ead6c8536 (diff)
downloadconntrack-tools-ed49d60424a18635c31dafc77e2cb720f75cc4ff.tar.gz
conntrack-tools-ed49d60424a18635c31dafc77e2cb720f75cc4ff.zip
add eventfd emulation to communicate receiver -> sender
Diffstat (limited to 'include/event.h')
-rw-r--r--include/event.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/event.h b/include/event.h
new file mode 100644
index 0000000..b6bff5a
--- /dev/null
+++ b/include/event.h
@@ -0,0 +1,14 @@
+#ifndef _EVENT_H_
+#define _EVENT_H_
+
+struct evfd *create_evfd(void);
+
+void destroy_evfd(struct evfd *e);
+
+int get_read_evfd(struct evfd *evfd);
+
+int write_evfd(struct evfd *evfd);
+
+int read_evfd(struct evfd *evfd);
+
+#endif