satsolver
0.17.2
|
#include "pooltypes.h"
Go to the source code of this file.
Macros | |
#define | EVRCMP_COMPARE 0 |
#define | EVRCMP_MATCH_RELEASE 1 |
#define | EVRCMP_MATCH 2 |
#define | EVRCMP_COMPARE_EVONLY 3 |
Functions | |
int | sat_vercmp (const char *s1, const char *q1, const char *s2, const char *q2) |
int | pool_evrcmp_str (const Pool *pool, const char *evr1, const char *evr2, int mode) |
int | pool_evrcmp (const Pool *pool, Id evr1id, Id evr2id, int mode) |
int | pool_evrmatch (const Pool *pool, Id evrid, const char *epoch, const char *version, const char *release) |
static int | vercmp (const char *s1, const char *q1, const char *s2, const char *q2) |
static int | evrcmp_str (const Pool *pool, const char *evr1, const char *evr2, int mode) |
static int | evrcmp (const Pool *pool, Id evr1id, Id evr2id, int mode) |
static int | evrmatch (const Pool *pool, Id evrid, const char *epoch, const char *version, const char *release) |
#define EVRCMP_COMPARE 0 |
Definition at line 22 of file evr.h.
Referenced by classify_cmp_pkgs(), obsq_sortcmp(), policy_findupdatepackages(), policy_is_illegal(), pool_evrcmp_str(), prune_to_best_version(), and transaction_base_type().
#define EVRCMP_MATCH 2 |
Definition at line 24 of file evr.h.
Referenced by pool_evrcmp_str().
#define EVRCMP_COMPARE_EVONLY 3 |
Definition at line 25 of file evr.h.
Referenced by jobtodisablelist(), and pool_evrcmp_str().
int sat_vercmp | ( | const char * | s1, |
const char * | q1, | ||
const char * | s2, | ||
const char * | q2 | ||
) |
Definition at line 79 of file evr.c.
Referenced by pool_evrcmp_str(), pool_evrmatch(), and vercmp().
int pool_evrcmp_str | ( | const Pool * | pool, |
const char * | evr1, | ||
const char * | evr2, | ||
int | mode | ||
) |
Definition at line 143 of file evr.c.
References EVRCMP_COMPARE, EVRCMP_COMPARE_EVONLY, EVRCMP_MATCH, POOL_DEBUG, _Pool::promoteepoch, and sat_vercmp().
Referenced by evrcmp_str().
Definition at line 231 of file evr.c.
References evrcmp_str(), and id2str().
Referenced by evrcmp().
int pool_evrmatch | ( | const Pool * | pool, |
Id | evrid, | ||
const char * | epoch, | ||
const char * | version, | ||
const char * | release | ||
) |
Definition at line 242 of file evr.c.
References id2str(), and sat_vercmp().
Referenced by evrmatch().
|
inlinestatic |
Definition at line 34 of file evr.h.
References sat_vercmp().
|
inlinestatic |
Definition at line 42 of file evr.h.
References pool_evrcmp().
Referenced by classify_cmp_pkgs(), jobtodisablelist(), obsq_sortcmp(), policy_findupdatepackages(), policy_is_illegal(), pool_match_flags_evr(), pool_match_nevr_rel(), prune_to_best_version(), and transaction_base_type().
|
inlinestatic |
Definition at line 46 of file evr.h.
References pool_evrmatch().