diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 13 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- add URPM::DB::verify() + Version 3.00 - 11 December 2007, by Pascal "Pixel" Rigaux - replace ->import_needed_pubkeys and ->import_pubkey in favor of @@ -2780,6 +2780,19 @@ Db_rebuild(prefix="") OUTPUT: RETVAL +int +Db_verify(prefix="") + char *prefix + PREINIT: + rpmts ts; + CODE: + ts = rpmtsCreate(); + rpmtsSetRootDir(ts, prefix); + RETVAL = rpmtsVerifyDB(ts) == 0; + ts = rpmtsFree(ts); + OUTPUT: + RETVAL + void Db_DESTROY(db) URPM::DB db |