Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 19:31:20 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 19:31:20 +0000
commit606c70fdc9a0ee295fe81ec7e6efbbbe142d01be (patch)
tree81a14a4b7111a8f18399aeaf7db820f52bc27dad /lib/libalpm/db.h
parent5faecdb523a8a6d1bff082f55d35d4ada6b9a257 (diff)
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.h1
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);