#include "system.h"
#include <rpmio.h>
#include <rpmevr.h>
#include "debug.h"
Include dependency graph for rpmevr.c:
Go to the source code of this file.
Data Structures | |
struct | EVRop_s |
Defines | |
#define | _RPMEVR_INTERNAL |
#define | MAX(x, y) ( ((x)>(y))?(x):(y) ) |
Functions | |
static int | xisrpmalpha (int c) |
Return rpm's analogue of xisalpha. | |
int | rpmEVRcmp (const char *a, const char *b) |
Segmented string compare. | |
int | rpmEVRparse (const char *evrstr, EVR_t evr) |
Split EVR string into epoch, version, and release components. | |
static int | compare_values (const char *a, const char *b) |
Dressed rpmEVRcmp, handling missing values. | |
int | rpmEVRcompare (const EVR_t a, const EVR_t b) |
Compare EVR containers. | |
rpmsenseFlags | rpmEVRflags (const char *op, const char **end) |
Return comparison operator sense flags. | |
Variables | |
int | _rpmevr_debug = 0 |
static int | _invert_digits_alphas_comparison = -1 |
static const char * | _rpmnotalpha = ".:-" |
int(* | rpmvercmp )(const char *a, const char *b) = rpmEVRcmp |
Segmented string compare vector. | |
static struct EVRop_s | cops [] |
Definition in file rpmevr.c.
|
|
|
|
|
Dressed rpmEVRcmp, handling missing values.
Definition at line 134 of file rpmevr.c. References rpmvercmp. Referenced by rpmds_compare(), and rpmEVRcompare(). |
|
Return comparison operator sense flags.
Definition at line 179 of file rpmevr.c. References cops, EVRop_s::operator, RPMSENSE_EQUAL, and EVRop_s::sense. Referenced by parseRCPOT(), rpmdsPipe(), and rpmdsSysinfoFile(). |
|
Return rpm's analogue of xisalpha.
Definition at line 33 of file rpmevr.c. References _rpmnotalpha, xisalpha(), and xispunct(). Referenced by rpmEVRcmp(). |
|
Definition at line 22 of file rpmevr.c. Referenced by rpmEVRcmp(). |
|
|
|
Definition at line 26 of file rpmevr.c. Referenced by xisrpmalpha(). |
|
Referenced by rpmEVRflags(). |