diff options
author | Michael Schroeder <mls@suse.de> | 2007-12-10 14:58:44 +0000 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2007-12-10 14:58:44 +0000 |
commit | c9b149fcab3c154479acbcb3d356a3d976211650 (patch) | |
tree | 76c15ae810f1834a931b92908196b40f23226ab4 /src/evr.h | |
parent | d531ff2799ea9cbd4fa2817988054cb0e8a66f18 (diff) | |
download | libsolv-c9b149fcab3c154479acbcb3d356a3d976211650.tar.gz libsolv-c9b149fcab3c154479acbcb3d356a3d976211650.tar.bz2 libsolv-c9b149fcab3c154479acbcb3d356a3d976211650.zip |
- add evrcmp mode parameter
Diffstat (limited to 'src/evr.h')
-rw-r--r-- | src/evr.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -19,8 +19,12 @@ extern "C" { #include "pooltypes.h" -extern int vercmp( const char *s1, const char *q1, const char *s2, const char *q2 ); -extern int evrcmp( Pool *pool, Id evr1id, Id evr2id ); +#define EVRCMP_COMPARE 0 +#define EVRCMP_MATCH_RELEASE 1 +#define EVRCMP_MATCH 2 + +extern int vercmp(const char *s1, const char *q1, const char *s2, const char *q2); +extern int evrcmp(Pool *pool, Id evr1id, Id evr2id, int mode); #ifdef __cplusplus } |