diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:57:51 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:57:51 +0900 |
commit | bc8d0a48b41d6cc4d79f1c062dda7ed230841644 (patch) | |
tree | e12a8d822c2abccdbdcb194e5953d498652c84ba /bindings/solv.i | |
parent | a52345de1f81f92a1bd69365def64a91cfd782ff (diff) | |
download | libsolv-bc8d0a48b41d6cc4d79f1c062dda7ed230841644.tar.gz libsolv-bc8d0a48b41d6cc4d79f1c062dda7ed230841644.tar.bz2 libsolv-bc8d0a48b41d6cc4d79f1c062dda7ed230841644.zip |
Imported Upstream version 0.6.21upstream/0.6.21
Change-Id: Ie4bb940b0be2c8a3064162f4e8c40b241f2b1838
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'bindings/solv.i')
-rw-r--r-- | bindings/solv.i | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bindings/solv.i b/bindings/solv.i index 4c098b3..b21fbbc 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -1172,6 +1172,8 @@ typedef struct { static const Id SOLVER_DROP_ORPHANED = SOLVER_DROP_ORPHANED; static const Id SOLVER_USERINSTALLED = SOLVER_USERINSTALLED; static const Id SOLVER_ALLOWUNINSTALL = SOLVER_ALLOWUNINSTALL; + static const Id SOLVER_FAVOR = SOLVER_FAVOR; + static const Id SOLVER_DISFAVOR = SOLVER_DISFAVOR; static const Id SOLVER_JOBMASK = SOLVER_JOBMASK; static const Id SOLVER_WEAK = SOLVER_WEAK; static const Id SOLVER_ESSENTIAL = SOLVER_ESSENTIAL; @@ -1468,11 +1470,18 @@ typedef struct { static const int POOL_FLAG_NOINSTALLEDOBSOLETES = POOL_FLAG_NOINSTALLEDOBSOLETES; static const int POOL_FLAG_HAVEDISTEPOCH = POOL_FLAG_HAVEDISTEPOCH; static const int POOL_FLAG_NOOBSOLETESMULTIVERSION = POOL_FLAG_NOOBSOLETESMULTIVERSION; + static const int DISTTYPE_RPM = DISTTYPE_RPM; + static const int DISTTYPE_DEB = DISTTYPE_DEB; + static const int DISTTYPE_ARCH = DISTTYPE_ARCH; + static const int DISTTYPE_HAIKU = DISTTYPE_HAIKU; Pool() { Pool *pool = pool_create(); return pool; } + int setdisttype(int disttype) { + return pool_setdisttype($self, disttype); + } void set_debuglevel(int level) { pool_setdebuglevel($self, level); } |