alpm_sys

Function alpm_option_set_assumeinstalled

Source
pub unsafe extern "C" fn alpm_option_set_assumeinstalled(
    handle: *mut alpm_handle_t,
    deps: *mut alpm_list_t,
) -> c_int
Expand description

Sets the list of dependencies that are assumed to be met @param handle the context handle @param deps a list of *alpm_depend_t The list will be duped and the original will still need to be freed by the caller. @return 0 on success, -1 on error (pm_errno is set accordingly)