alpm_sys

Function alpm_db_add_cache_server

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

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