diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 20:31:20 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 20:31:20 +0100 |
commit | 606c70fdc9a0ee295fe81ec7e6efbbbe142d01be (patch) | |
tree | 81a14a4b7111a8f18399aeaf7db820f52bc27dad /lib/libalpm/db.h | |
parent | 5faecdb523a8a6d1bff082f55d35d4ada6b9a257 (diff) | |
download | pacman-606c70fdc9a0ee295fe81ec7e6efbbbe142d01be.tar.gz pacman-606c70fdc9a0ee295fe81ec7e6efbbbe142d01be.tar.xz |
Added a db_update() function to manage sync databases updates.
The API provides a wrapper alpm_db_update().
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index b4161871..fc56f410 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -46,6 +46,7 @@ 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) void db_rewind(pmdb_t *db); pmpkg_t *db_scan(pmdb_t *db, char *target, unsigned int inforeq); |