diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-20 10:22:03 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-20 10:22:03 +0100 |
commit | 72c24395762c985e404f65f7ec1064efed1d44b5 (patch) | |
tree | c2841990bcb4d09359a215d9c48035b9e74506d3 /lib/libalpm/db.h | |
parent | 18db4c168bca90d3d44ccd9b4b4d076d2426516d (diff) | |
download | pacman-72c24395762c985e404f65f7ec1064efed1d44b5.tar.gz pacman-72c24395762c985e404f65f7ec1064efed1d44b5.tar.xz |
Added support for .lastupdate files (from pacman 2.9.1)
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |