From f7f809c298104dc3026106fb498f474d5d8720cc Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Tue, 3 Oct 2017 01:48:42 -0400 Subject: VCL: add epoll_* functions. Change-Id: Ife27795ea96919c116fb6ff33d106663b54df72d Signed-off-by: Dave Wallace --- src/uri/vppcom.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/uri/vppcom.h') 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 #include +#include /* * 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 */ /* -- cgit 1.2.3-korg