evr.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef SATSOLVER_EVR_H
00014 #define SATSOLVER_EVR_H
00015
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019
00020 #include "pooltypes.h"
00021
00022 #define EVRCMP_COMPARE 0
00023 #define EVRCMP_MATCH_RELEASE 1
00024 #define EVRCMP_MATCH 2
00025
00026 extern int vercmp(const char *s1, const char *q1, const char *s2, const char *q2);
00027 extern int evrcmp_str(const Pool *pool, const char *evr1, const char *evr2, int mode);
00028 extern int evrcmp(const Pool *pool, Id evr1id, Id evr2id, int mode);
00029 extern int evrmatch(const Pool *pool, Id evrid, const char *epoch, const char *version, const char *release);
00030
00031 #ifdef __cplusplus
00032 }
00033 #endif
00034
00035 #endif