evr.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2007, Novell Inc.
00003  *
00004  * This program is licensed under the BSD license, read LICENSE.BSD
00005  * for further information
00006  */
00007 
00008 /*
00009  * evr.h
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 #define EVRCMP_COMPARE_EVONLY           3
00026 
00027 extern int vercmp(const char *s1, const char *q1, const char *s2, const char *q2);
00028 extern int evrcmp_str(const Pool *pool, const char *evr1, const char *evr2, int mode);
00029 extern int evrcmp(const Pool *pool, Id evr1id, Id evr2id, int mode);
00030 extern int evrmatch(const Pool *pool, Id evrid, const char *epoch, const char *version, const char *release);
00031 
00032 #ifdef __cplusplus
00033 }
00034 #endif
00035 
00036 #endif /* SATSOLVER_EVR_H */
Generated on Mon Dec 12 11:44:12 2011 for satsolver by  doxygen 1.6.3