alpm_sys

Function alpm_db_remove_cache_server

Source
pub unsafe extern "C" fn alpm_db_remove_cache_server(
    db: *mut alpm_db_t,
    url: *const c_char,
) -> c_int
Expand description

Remove a download cache server from a database. @param db database pointer @param url url of the server @return 0 on success, 1 on server not present, -1 on error (pm_errno is set accordingly)