pub unsafe extern "C" fn pomp_evt_attach_to_loop(
evt: *mut pomp_evt,
loop_: *mut pomp_loop,
cb: pomp_evt_cb_t,
userdata: *mut c_void,
) -> c_intExpand description
Attach a pomp_evt to a loop. @param evt : event to attach. @param loop : loop to attach to. @param cb : callback for notifications. @param userdata user data for callback. @return 0 in case of success, negative errno value in case of error.