VCL: add epoll_* functions.
Change-Id: Ife27795ea96919c116fb6ff33d106663b54df72d
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
diff --git a/src/uri/vppcom.h b/src/uri/vppcom.h
index 4b048e0..b7c8028 100644
--- a/src/uri/vppcom.h
+++ b/src/uri/vppcom.h
@@ -18,6 +18,7 @@
#include <netdb.h>
#include <errno.h>
+#include <sys/epoll.h>
/*
* VPPCOM Public API Definitions, Enums, and Data Structures
@@ -141,6 +142,13 @@
unsigned long *write_map,
unsigned long *except_map, double wait_for_time);
+extern int vppcom_epoll_create (void);
+extern int vppcom_epoll_ctl (uint32_t vep_idx, int op,
+ uint32_t session_index,
+ struct epoll_event *event);
+extern int vppcom_epoll_wait (uint32_t vep_idx, struct epoll_event *events,
+ int maxevents, double wait_for_time);
+
#endif /* included_vppcom_h */
/*