evrpc_register_generic

Function evrpc_register_generic 

Source
pub unsafe extern "C" fn evrpc_register_generic(
    base: *mut evrpc_base,
    name: *const c_char,
    callback: Option<unsafe extern "C" fn(arg1: *mut evrpc_req_generic, arg2: *mut c_void)>,
    cbarg: *mut c_void,
    req_new: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *mut c_void>,
    req_new_arg: *mut c_void,
    req_free: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    req_unmarshal: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut evbuffer) -> c_int>,
    rpl_new: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *mut c_void>,
    rpl_new_arg: *mut c_void,
    rpl_free: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
    rpl_complete: Option<unsafe extern "C" fn(arg1: *mut c_void) -> c_int>,
    rpl_marshal: Option<unsafe extern "C" fn(arg1: *mut evbuffer, arg2: *mut c_void)>,
) -> c_int