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:
authorDan McGee <dan@archlinux.org>2011-06-03 12:44:01 -0500
committerDan McGee <dan@archlinux.org>2011-06-03 12:44:01 -0500
commit307a6de17a3bca9f8666b33aa3fb9a8dd88c300b (patch)
treee6d4c595be6dec9b4fe286a6733eb866c9a5df50 /lib/libalpm/db.h
parent4015b23e8ef1e5a0e8d103ffefca0ffc4ad9e6c0 (diff)
Remove global handle from some package and db code
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r--lib/libalpm/db.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 8d92bd2d..3a7ab72f 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -77,8 +77,8 @@ const char *_alpm_db_path(pmdb_t *db);
int _alpm_db_version(pmdb_t *db);
int _alpm_db_cmp(const void *d1, const void *d2);
alpm_list_t *_alpm_db_search(pmdb_t *db, const alpm_list_t *needles);
-pmdb_t *_alpm_db_register_local(void);
-pmdb_t *_alpm_db_register_sync(const char *treename);
+pmdb_t *_alpm_db_register_local(pmhandle_t *handle);
+pmdb_t *_alpm_db_register_sync(pmhandle_t *handle, const char *treename);
void _alpm_db_unregister(pmdb_t *db);
/* be_*.c, backend specific calls */