diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-01-19 20:45:12 +0100 |
---|---|---|
committer | Xavier Chantry <shiningxc@gmail.com> | 2009-01-20 14:04:54 +0100 |
commit | 14230869e6a37526f8a1bdb1fb88f23309b10aef (patch) | |
tree | 2edc0a14e297426af668acc54ae70f785911b98a /lib/libalpm/db.h | |
parent | eab96848376db6f54f05773a7e924faf0355137f (diff) | |
download | pacman-14230869e6a37526f8a1bdb1fb88f23309b10aef.tar.xz |
Remove some db abstraction crap.
These db_open and db_close looked quite useless. And they caused the db
directory to be opened on a simple registering of a database. This is
totally unneeded, this opening can be delayed to when we actually need it.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index edc4c93e..1af16355 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -41,7 +41,6 @@ typedef enum _pmdbinfrq_t { struct __pmdb_t { char *path; char *treename; - void *handle; unsigned short pkgcache_loaded; alpm_list_t *pkgcache; unsigned short grpcache_loaded; @@ -58,8 +57,6 @@ pmdb_t *_alpm_db_register_local(void); pmdb_t *_alpm_db_register_sync(const char *treename); /* be.c, backend specific calls */ -int _alpm_db_open(pmdb_t *db); -void _alpm_db_close(pmdb_t *db); int _alpm_db_populate(pmdb_t *db); int _alpm_db_read(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq); int _alpm_db_prepare(pmdb_t *db, pmpkg_t *info); |