[−][src]Function alpm_sys_fork::alpm_register_syncdb
pub unsafe extern "C" fn alpm_register_syncdb(
handle: *mut alpm_handle_t,
treename: *const c_char,
level: c_int
) -> *mut alpm_db_t
Register a sync database of packages. @param handle the context handle @param treename the name of the sync repository @param level what level of signature checking to perform on the database; note that this must be a '.sig' file type verification @return an alpm_db_t* on success (the value), NULL on error