pomp_timer_new

Function pomp_timer_new 

Source
pub unsafe extern "C" fn pomp_timer_new(
    loop_: *mut pomp_loop,
    cb: pomp_timer_cb_t,
    userdata: *mut c_void,
) -> *mut pomp_timer
Expand description

Create a new timer. @param loop : fd loop to use for notifications. @param cb : callback to use for notifications. @param userdata : user data for callback. @return new timer or NULL in case of error.