summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.h
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-11-17 13:06:44 +0100
committerDan McGee <dan@archlinux.org>2007-11-17 09:50:05 -0600
commitc8be7540a50583194e971918099006a1736cfab7 (patch)
treef60c90adfe74a3a30535f0252880fa36b2d6264b /lib/libalpm/db.h
parentd311ad067f47608252b9276df90087db98b1100f (diff)
downloadpacman-c8be7540a50583194e971918099006a1736cfab7.tar.xz
Remove provide.c and provide.h .
This file only contained one private function : _alpm_db_whatprovides . And the public alpm_db_whatprovides was in db.c , so I moved everything there. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> [Dan: updated POTFILES.in as well] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r--lib/libalpm/db.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index 4c559866..3d952126 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -57,6 +57,9 @@ 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);
+/* Provision */
+alpm_list_t *_alpm_db_whatprovides(pmdb_t *db, const char *package);
+
/* be.c, backend specific calls */
int _alpm_db_install(pmdb_t *db, const char *dbfile);
int _alpm_db_open(pmdb_t *db);