X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvppcom.h;h=5085e950af46f15cbfd17a8f22b3419cc9dae1fe;hb=30e273b3055174f0b6fefd240a39fe93253669cd;hp=4c7d2092599133f0ae1ef693071b27eae91fa611;hpb=742582f4156b249b5a4f60070ae6491dd9b6e7c0;p=vpp.git diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h index 4c7d2092599..5085e950af4 100644 --- a/src/vcl/vppcom.h +++ b/src/vcl/vppcom.h @@ -144,7 +144,7 @@ typedef struct _vcl_poll uint32_t fds_ndx; uint32_t sid; short events; - short *revents; + short revents; } vcl_poll_t; typedef struct vppcom_data_segment_ @@ -262,6 +262,7 @@ extern int vppcom_poll (vcl_poll_t * vp, uint32_t n_sids, double wait_for_time); extern int vppcom_mq_epoll_fd (void); extern int vppcom_session_index (uint32_t session_handle); +extern int vppcom_session_handle (uint32_t session_index); extern int vppcom_session_read_segments (uint32_t session_handle, vppcom_data_segments_t ds);