summaryrefslogtreecommitdiffstats
path: root/src/uri/vppcom.h
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-10-03 01:48:42 -0400
committerKeith Burns <alagalah@gmail.com>2017-10-06 12:25:10 +0000
commitf7f809c298104dc3026106fb498f474d5d8720cc (patch)
tree17bd0793f63c407c92e94d19be698d24d76f8930 /src/uri/vppcom.h
parent4cd257667406d0500a81323ef91f5c7c8c902b25 (diff)
VCL: add epoll_* functions.
Change-Id: Ife27795ea96919c116fb6ff33d106663b54df72d Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/uri/vppcom.h')
-rw-r--r--src/uri/vppcom.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/uri/vppcom.h b/src/uri/vppcom.h
index 4b048e039ec..b7c802897d9 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 @@ extern int vppcom_select (unsigned long n_bits,
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 */
/*