evr.h File Reference

#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 Documentation

#define EVRCMP_COMPARE   0

#define EVRCMP_MATCH_RELEASE   1

Definition at line 23 of file evr.h.

#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().


Function Documentation

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 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 vercmp().

Referenced by evrcmp_str().

int pool_evrcmp ( const Pool pool,
Id  evr1id,
Id  evr2id,
int  mode 
)

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 vercmp().

Referenced by evrmatch().

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 38 of file evr.h.

References pool_evrcmp_str().

Referenced by pool_evrcmp().

static int evrcmp ( const Pool pool,
Id  evr1id,
Id  evr2id,
int  mode 
) [inline, static]

static int evrmatch ( const Pool pool,
Id  evrid,
const char *  epoch,
const char *  version,
const char *  release 
) [inline, static]

Definition at line 46 of file evr.h.

References pool_evrmatch().


Generated on Mon Dec 15 17:56:24 2014 for satsolver by  doxygen 1.5.6