uint32_t fds_ndx;
uint32_t sid;
short events;
- short *revents;
+ short revents;
} vcl_poll_t;
typedef struct vppcom_data_segment_
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);
*/
extern int vppcom_worker_register (void);
+/**
+ * Retrieve current worker index
+ */
+extern int vppcom_worker_index (void);
+
/* *INDENT-OFF* */
#ifdef __cplusplus
}