diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-10-25 18:15:25 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-10-25 18:15:25 +0000 |
commit | e8275fa9644181e9347e983f74b28f313103b888 (patch) | |
tree | 649389331a75ded168bc08d1d12a9ddc2a92e643 /lib/libalpm/db.h | |
parent | ea9e9ae22e674f73028906db7699e3e4207d4f61 (diff) | |
download | pacman-e8275fa9644181e9347e983f74b28f313103b888.tar.xz |
Moved downloaded db unpacking to the backend files, to easier allow conversion
from db to whatever format we need.
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index 571bf2ee..bffae081 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -51,7 +51,9 @@ pmdb_t *_alpm_db_new(char *root, char *dbpath, char *treename); void _alpm_db_free(void *data); int _alpm_db_cmp(const void *db1, const void *db2); pmlist_t *_alpm_db_search(pmdb_t *db, pmlist_t *needles); + /* Prototypes for backends functions */ +int _alpm_db_install(pmdb_t *db, const char *dbfile); int _alpm_db_open(pmdb_t *db); void _alpm_db_close(pmdb_t *db); void _alpm_db_rewind(pmdb_t *db); |