index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/db.h | 4 |
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index 07fa1ef2..e2cd8aa9 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -48,7 +48,9 @@ typedef struct __pmdb_t { pmdb_t *db_open(char *root, char *dbpath, char *treename); void db_close(pmdb_t *db); int db_create(char *root, char *dbpath, char *treename); -int db_update(char *root, char *dbpath, char *treename, char *archive); + +int db_getlastupdate(pmdb_t *db, char *root, char *dbpath, char *ts); +int db_update(pmdb_t *db, char *root, char *dbpath, char *archive, char *ts); void db_rewind(pmdb_t *db); pmpkg_t *db_scan(pmdb_t *db, char *target, unsigned int inforeq); |