alpm_sys

Function alpm_option_remove_hookdir

Source
pub unsafe extern "C" fn alpm_option_remove_hookdir(
    handle: *mut alpm_handle_t,
    hookdir: *const c_char,
) -> c_int
Expand description

Remove a hookdir from the configured hookdirs. @param handle the context handle @param hookdir the hookdir to remove @return 0 on success, -1 on error (pm_errno is set accordingly)