diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -190,6 +190,7 @@ get_nvra(Header h) { return NVRA; } +/* TODO: behaviour of rpmEVRcmp() & rpmEVRcompare() differs, is this correct? */ static int do_rpmEVRcmp(const char *a, const char *b) { int compare; @@ -3348,7 +3349,20 @@ int rpmvercmp(one, two) char *one char *two - + +int +rpmEVRcmp(one, two) + char *one + char *two + PREINIT: + int compare; + CODE: + compare = do_rpmEVRcmp(one, two); + RETVAL = compare; + OUTPUT: + RETVAL + + int Urpm_ranges_overlap(a, b) char *a |