summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-23 15:31:47 +0200
committerMichael Schroeder <mls@suse.de>2013-04-23 15:31:47 +0200
commit7c91488051f947cbe912c0faa6fce3f161ac95d9 (patch)
treec0c1c36549c6a65b0997e62c3742f4b74ab2a139
parent843dc7e190acc4e55c3613a8ae05b43dd73bfa33 (diff)
downloadlibsolv-7c91488051f947cbe912c0faa6fce3f161ac95d9.tar.gz
libsolv-7c91488051f947cbe912c0faa6fce3f161ac95d9.tar.bz2
libsolv-7c91488051f947cbe912c0faa6fce3f161ac95d9.zip
add add_rpmdb_reffp method to bindings
-rw-r--r--bindings/solv.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/solv.i b/bindings/solv.i
index e495719..3756668 100644
--- a/bindings/solv.i
+++ b/bindings/solv.i
@@ -1424,6 +1424,9 @@ rb_eval_string(
bool add_rpmdb(int flags = 0) {
return repo_add_rpmdb($self, 0, flags);
}
+ bool add_rpmdb_reffp(FILE *reffp, int flags = 0) {
+ return repo_add_rpmdb_reffp($self, reffp, flags);
+ }
Id add_rpm(const char *name, int flags = 0) {
return repo_add_rpm($self, name, flags);
}