diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-02-16 21:02:39 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-02-16 21:02:39 +0000 |
commit | 58a7e85534f260a49a324dd5b3f408ce1e21cd18 (patch) | |
tree | f0b60c1c8a26a58400522ceee54fb908866a64a0 /lib/libalpm/db.h | |
parent | dc0bacf18cfe2481516778905051879bd008f517 (diff) | |
download | pacman-58a7e85534f260a49a324dd5b3f408ce1e21cd18.tar.xz |
- db_write: add support to write both local and sync entries
- code cleanup
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index cd53d01c..a07ed52f 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -47,9 +47,8 @@ typedef struct __pmdb_t { PMList *grpcache; } pmdb_t; -pmdb_t *db_open(char *root, char *dbpath, char *treename, int mode); +pmdb_t *db_open(char *path, char *treename, int mode); void db_close(pmdb_t *db); - void db_rewind(pmdb_t *db); pmpkg_t *db_scan(pmdb_t *db, char *target, unsigned int inforeq); int db_read(pmdb_t *db, char *name, unsigned int inforeq, pmpkg_t *info); |