pub unsafe extern "C" fn alpm_db_add_server(
db: *mut alpm_db_t,
url: *const c_char,
) -> c_int
Expand description
Add a download 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)