alpm_sys

Function alpm_db_set_servers

Source
pub unsafe extern "C" fn alpm_db_set_servers(
    db: *mut alpm_db_t,
    servers: *mut alpm_list_t,
) -> c_int
Expand description

Sets the list of servers for the database to use. @param db the database to set the servers. The list will be duped and the original will still need to be freed by the caller. @param servers a char* list of servers.