17 #include <sys/types.h>
18 #include <sys/socket.h>
19 #include <sys/ioctl.h>
20 #include <sys/queue.h>
22 #include <bsd/string.h>
30 enum cne_ev_handle_type { CNE_EV_HANDLE_MEM, CNE_EV_HANDLE_EXT, CNE_EV_HANDLE_MAX };
36 enum cne_ev_handle_type type;
void(* cne_ev_unregister_callback_fn)(struct cne_ev_handle *ev_handle, void *cb_arg)
CNDP_API int cne_ev_callback_unregister_pending(const struct cne_ev_handle *ev_handle, cne_ev_callback_fn cb_fn, void *cb_arg, cne_ev_unregister_callback_fn ucb_fn)
void(* cne_ev_callback_fn)(void *cb_arg)
CNDP_API int cne_ev_callback_register(const struct cne_ev_handle *ev_handle, cne_ev_callback_fn cb_fn, void *cb_arg)
CNDP_API int cne_ev_callback_unregister(const struct cne_ev_handle *ev_handle, cne_ev_callback_fn cb_fn, void *cb_arg)