- add SOLVER_NOAUTOSET to disable automatic SET deduction
[platform/upstream/libsolv.git] / src / evr.h
index 62f6896..e9a96f4 100644 (file)
--- a/src/evr.h
+++ b/src/evr.h
@@ -19,14 +19,15 @@ extern "C" {
 
 #include "pooltypes.h"
 
-#define EVRCMP_COMPARE                  0
-#define EVRCMP_MATCH_RELEASE            1
-#define EVRCMP_MATCH                    2
+#define EVRCMP_COMPARE                 0
+#define EVRCMP_MATCH_RELEASE           1
+#define EVRCMP_MATCH                   2
+#define EVRCMP_COMPARE_EVONLY          3
 
 extern int vercmp(const char *s1, const char *q1, const char *s2, const char *q2);
-extern int evrcmp_str(Pool *pool, const char *evr1, const char *evr2, int mode);
-extern int evrcmp(Pool *pool, Id evr1id, Id evr2id, int mode);
-extern int evrmatch(Pool *pool, Id evrid, const char *epoch, const char *version, const char *release);
+extern int evrcmp_str(const Pool *pool, const char *evr1, const char *evr2, int mode);
+extern int evrcmp(const Pool *pool, Id evr1id, Id evr2id, int mode);
+extern int evrmatch(const Pool *pool, Id evrid, const char *epoch, const char *version, const char *release);
 
 #ifdef __cplusplus
 }