Function alpm_sys::alpm_db_set_usage
source · pub unsafe extern "C" fn alpm_db_set_usage(
db: *mut alpm_db_t,
usage: c_int
) -> c_int
Expand description
Sets the usage of a database. @param db pointer to the package database to set the status for @param usage a bitmask of alpm_db_usage_t values @return 0 on success, or -1 on error