|
rpm
4.5
|

Go to the source code of this file.
Data Structures | |
| struct | EVRop_s |
Macros | |
| #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 [] |
| #define MAX | ( | x, | |
| y | |||
| ) | ( ((x)>(y))?(x):(y) ) |
Definition at line 17 of file rpmevr.c.
Referenced by rpmEVRcmp().
|
static |
Dressed rpmEVRcmp, handling missing values.
| a | 1st string |
| b | 2nd string |
Definition at line 139 of file rpmevr.c.
References rpmvercmp.
Referenced by rpmEVRcompare().
| rpmsenseFlags rpmEVRflags | ( | const char * | op, |
| const char ** | end | ||
| ) |
Return comparison operator sense flags.
| op | operator string (NULL or "" uses RPMSENSE_EQUAL) |
| *end | pointer to 1st character after operator (or NULL) |
Definition at line 184 of file rpmevr.c.
References cops, EVRop_s::operator, RPMSENSE_EQUAL, and EVRop_s::sense.
Referenced by parseRCPOT(), rpmdsPipe(), and rpmdsSysinfoFile().
|
inlinestatic |
Return rpm's analogue of xisalpha.
| c | character to test |
Definition at line 38 of file rpmevr.c.
References _rpmnotalpha, xisalpha(), and xispunct().
Referenced by rpmEVRcmp().
|
static |
Definition at line 26 of file rpmevr.c.
Referenced by rpmEVRcmp().
|
static |
Definition at line 31 of file rpmevr.c.
Referenced by xisrpmalpha().
|
static |
Referenced by rpmEVRflags().
1.8.2