#include "pooltypes.h"
Go to the source code of this file.
Defines | |
#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 |
#define EVRCMP_COMPARE_EVONLY 3 |
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 | |||
) |
Definition at line 143 of file evr.c.
References EVRCMP_COMPARE, EVRCMP_COMPARE_EVONLY, EVRCMP_MATCH, POOL_DEBUG, _Pool::promoteepoch, and vercmp().
Referenced by evrcmp_str().
Definition at line 231 of file evr.c.
References evrcmp_str(), and id2str().
Referenced by evrcmp().
static int vercmp | ( | const char * | s1, | |
const char * | q1, | |||
const char * | s2, | |||
const char * | q2 | |||
) | [inline, static] |
Definition at line 34 of file evr.h.
References sat_vercmp().
Referenced by pool_evrcmp_str(), and pool_evrmatch().
static int evrcmp_str | ( | const Pool * | pool, | |
const char * | evr1, | |||
const char * | evr2, | |||
int | mode | |||
) | [inline, static] |
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().