diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-22 20:14:49 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-22 20:14:49 +0000 |
commit | 8179f7cbaa62d4dccf85683b78206d9751d513d7 (patch) | |
tree | d438461b9c396d06e1d4f9abb34fb37dc2664d28 /lib/libalpm/db.h | |
parent | 621e241279c37f00775f5e06f15f6928b969cdc7 (diff) | |
download | pacman-8179f7cbaa62d4dccf85683b78206d9751d513d7.tar.xz |
- added db_setlastupdate to db.c
- moved db_update from db.c to alpm.c
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index e2cd8aa9..2f0ec279 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -49,8 +49,8 @@ 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_getlastupdate(pmdb_t *db, char *root, char *dbpath, char *ts); -int db_update(pmdb_t *db, char *root, char *dbpath, char *archive, char *ts); +int db_getlastupdate(pmdb_t *db, char *ts); +int db_setlastupdate(pmdb_t *db, char *ts); void db_rewind(pmdb_t *db); pmpkg_t *db_scan(pmdb_t *db, char *target, unsigned int inforeq); |