Function alpm_sys::alpm_option_add_hookdir[][src]

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

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