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
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