Files | |
| file | rpmdpkg.c |
| file | rpmdpkg.h |
| Structure(s) and routine(s) used for dpkg EVR parsing and comparison. | |
| file | rpmds.c |
| file | rpmds.h |
| Structure(s) used for dependency tag sets. | |
| file | rpmevr.c |
| file | rpmevr.h |
| Structure(s) and routine(s) used for EVR parsing and comparison. | |
| file | rpmlib.h |
| In Memoriam: Steve Taylor <staylor@redhat.com> was here, now he's not. | |
| file | rpmns.c |
| file | rpmns.h |
| Structure(s) and routine(s) used for classifying and parsing names. | |
Typedefs | |
| typedef rpmds_s * | rpmds |
| Dependency tag sets from a header, so that a header can be discarded early. | |
| typedef rpmPRCO_s * | rpmPRCO |
| Container for commonly extracted dependency set(s). | |
Functions | |
| int | dpkgEVRcmp (const char *a, const char *b) |
| Segmented string compare. | |
| int | dpkgEVRparse (const char *evrstr, EVR_t evr) |
| Split EVR string into epoch, version, and release components. | |
| int | dpkgEVRcompare (const EVR_t a, const EVR_t b) |
| Compare EVR containers. | |
| 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. | |
| int | rpmEVRcompare (const EVR_t a, const EVR_t b) |
| Compare EVR containers. | |
| nsType | rpmnsArch (const char *str) |
| Is string a known arch suffix? | |
| nsType | rpmnsProbe (const char *str) |
| Is string a known probe namespace? | |
| nsType | rpmnsClassify (const char *str) |
| Classify a string as a dependency type. | |
| int | rpmnsParse (const char *str, rpmns ns) |
| Split NS string into namespace, name and arch components. | |
Variables | |
| int(*) | rpmvercmp (const char *a, const char *b) |
| Segmented string compare vector. | |
| typedef struct rpmds_s* rpmds |
| typedef struct rpmPRCO_s* rpmPRCO |
| int dpkgEVRcmp | ( | const char * | a, | |
| const char * | b | |||
| ) |
Segmented string compare.
| a | 1st string | |
| b | 2nd string |
Definition at line 31 of file rpmdpkg.c.
References dpkgEVRctype(), and xisdigit().
Referenced by dpkgEVRcompare().
Compare EVR containers.
| a | 1st EVR container | |
| b | 2nd EVR container |
Definition at line 64 of file rpmdpkg.c.
References dpkgEVRcmp().
| int dpkgEVRparse | ( | const char * | evrstr, | |
| EVR_t | evr | |||
| ) |
Split EVR string into epoch, version, and release components.
| evrstr | [epoch:]version[-release] string |
| *evr | parse results |
Definition at line 59 of file rpmdpkg.c.
References rpmEVRparse().
| int rpmEVRcmp | ( | const char * | a, | |
| const char * | b | |||
| ) |
Segmented string compare.
| a | 1st string | |
| b | 2nd string |
Definition at line 44 of file rpmevr.c.
References _invert_digits_alphas_comparison, MAX, xisdigit(), and xisrpmalpha().
Compare EVR containers.
| a | 1st EVR container | |
| b | 2nd EVR container |
Definition at line 140 of file rpmevr.c.
References compare_values().
Referenced by labelCompare().
| int rpmEVRparse | ( | const char * | evrstr, | |
| EVR_t | evr | |||
| ) |
Split EVR string into epoch, version, and release components.
| evrstr | [epoch:]version[-release] string |
| *evr | parse results |
Definition at line 96 of file rpmevr.c.
References strtoul, xisdigit(), and xstrdup().
Referenced by dpkgEVRparse(), and rpmdsCompare().
| nsType rpmnsArch | ( | const char * | str | ) |
Is string a known arch suffix?
| str | string |
Definition at line 44 of file rpmns.c.
References RPMNS_TYPE_ARCH, RPMNS_TYPE_UNKNOWN, and rpmnsArches.
Referenced by rpmnsClassify(), and rpmtsInitIterator().
| nsType rpmnsClassify | ( | const char * | str | ) |
Classify a string as a dependency type.
| str | string like "bing(bang).boom" |
Definition at line 127 of file rpmns.c.
References _rpmns_N_at_A, RPMNS_TYPE_ARCH, RPMNS_TYPE_COMPOUND, RPMNS_TYPE_DSO, RPMNS_TYPE_FUNCTION, RPMNS_TYPE_NAMESPACE, RPMNS_TYPE_PATH, RPMNS_TYPE_STRING, RPMNS_TYPE_UNKNOWN, RPMNS_TYPE_VERSION, rpmnsArch(), rpmnsProbe(), _rpmnsProbes_s::Type, and xisdigit().
Referenced by rpmnsParse().
| int rpmnsParse | ( | const char * | str, | |
| rpmns | ns | |||
| ) |
Split NS string into namespace, name and arch components.
| str | string like "bing(bang).boom" |
| *ns | parse results |
Definition at line 161 of file rpmns.c.
References _rpmns_N_at_A, rpmExpand(), RPMNS_TYPE_ACCESS, RPMNS_TYPE_ARCH, RPMNS_TYPE_COMPOUND, RPMNS_TYPE_CPUINFO, RPMNS_TYPE_DIGEST, RPMNS_TYPE_DISKSPACE, RPMNS_TYPE_DSO, RPMNS_TYPE_ENVVAR, RPMNS_TYPE_FUNCTION, RPMNS_TYPE_GETCONF, RPMNS_TYPE_GNUPG, RPMNS_TYPE_GROUP, RPMNS_TYPE_MACRO, RPMNS_TYPE_MOUNTED, RPMNS_TYPE_NAMESPACE, RPMNS_TYPE_PATH, RPMNS_TYPE_RPMLIB, RPMNS_TYPE_RUNNING, RPMNS_TYPE_SONAME, RPMNS_TYPE_STRING, RPMNS_TYPE_TAG, RPMNS_TYPE_UNAME, RPMNS_TYPE_UNKNOWN, RPMNS_TYPE_USER, RPMNS_TYPE_VERSION, and rpmnsClassify().
Referenced by rpmdsNewN().
| nsType rpmnsProbe | ( | const char * | str | ) |
Is string a known probe namespace?
| str | string |
Definition at line 111 of file rpmns.c.
References _rpmnsProbes_s::NS, RPMNS_TYPE_UNKNOWN, rpmnsProbes, and _rpmnsProbes_s::Type.
Referenced by rpmnsClassify().
| int(*) rpmvercmp(const char *a, const char *b) |
Segmented string compare vector.
| a | 1st string | |
| b | 2nd string |
Definition at line 153 of file rpmevr.c.
Referenced by compare_values(), rpmdsCompare(), and rpmVersionCompare().
1.5.2