pub unsafe extern "C" fn pomp_ctx_new(
cb: pomp_event_cb_t,
userdata: *mut c_void,
) -> *mut pomp_ctxExpand description
Create a new context structure. @param cb : function to be called when connection/disconnection/message events occur. @param userdata : user data to give in cb. @return context structure or NULL in case of error.