pub unsafe extern "C" fn alpm_option_set_logcb(
handle: *mut alpm_handle_t,
cb: alpm_cb_log,
ctx: *mut c_void,
) -> c_int
Expand description
Sets the callback used for logging. @param handle the context handle @param cb the cb to use @param ctx user-provided context to pass to cb @return 0 on success, -1 on error (pm_errno is set accordingly)