diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1590,6 +1590,14 @@ Pkg_flag_selected(pkg) RETVAL int +Pkg_flag_available(pkg) + URPM::Package pkg + CODE: + RETVAL = pkg->flag & FLAG_INSTALLED || (pkg->flag & FLAG_UPGRADE ? pkg->flag & (FLAG_REQUESTED | FLAG_REQUIRED) : 0); + OUTPUT: + RETVAL + +int Pkg_rate(pkg) URPM::Package pkg CODE: |