From a546dbaac8fb3a9ab20582a82928cbe414f9ac84 Mon Sep 17 00:00:00 2001 From: nate skulic Date: Fri, 19 Oct 2012 22:49:31 +0200 Subject: [PATCH] - add add_rpmdb_root --- bindings/solv.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/solv.i b/bindings/solv.i index c65c96a..1ef447c 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -1128,6 +1128,12 @@ typedef struct { repo_add_rpmdb($self, ref, 0, flags); return 1; } + + bool add_rpmdb_root(Repo *ref, const char *root, int flags = 0) { + repo_add_rpmdb($self, ref, root, flags); + return 1; + } + Id add_rpm(const char *name, int flags = 0) { return repo_add_rpm($self, name, flags); } -- 2.7.4