alpm_sys

Function alpm_option_set_overwrite_files

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

Sets the overwritable files. @param handle the context handle @param globs a char* list of overwritable file globs. 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)