rpmver.h
Go to the documentation of this file.
#ifndef _RPMVER_H
#define _RPMVER_H
#include <rpm/rpmtypes.h>
#include <rpm/rpmds.h> /* sense flags */
#ifdef __cplusplus
extern "C" {
#endif
int rpmvercmp(const char * a, const char * b);
rpmver rpmverParse(const char *evr);
rpmver rpmverNew(const char *e, const char *v, const char *r);
rpmver rpmverFree(rpmver rv);
uint32_t rpmverEVal(rpmver rv);
const char *rpmverE(rpmver rv);
const char *rpmverV(rpmver rv);
const char *rpmverR(rpmver rv);
char *rpmverEVR(rpmver rv);
int rpmverCmp(rpmver v1, rpmver v2);
int rpmverOverlap(rpmver v1, rpmsenseFlags f1, rpmver v2, rpmsenseFlags f2);
#ifdef __cplusplus
}
#endif
#endif /* _RPMVER_H */
rpmver
struct rpmver_s * rpmver
Definition: rpmtypes.h:73
rpmverNew
rpmver rpmverNew(const char *e, const char *v, const char *r)
Create new rpm version handle from e, v, r components.
rpmverCmp
int rpmverCmp(rpmver v1, rpmver v2)
Compare two rpm version handles.
rpmverParse
rpmver rpmverParse(const char *evr)
Parse rpm version handle from evr string.
rpmverE
const char * rpmverE(rpmver rv)
rpmverEVal
uint32_t rpmverEVal(rpmver rv)
rpmvercmp
int rpmvercmp(const char *a, const char *b)
Segmented string compare for version or release strings.
rpmverFree
rpmver rpmverFree(rpmver rv)
Free rpm version handle.
rpmverR
const char * rpmverR(rpmver rv)
rpmverV
const char * rpmverV(rpmver rv)
rpmverOverlap
int rpmverOverlap(rpmver v1, rpmsenseFlags f1, rpmver v2, rpmsenseFlags f2)
Determine whether two versioned ranges overlap.
rpmverEVR
char * rpmverEVR(rpmver rv)
rpmds.h
Structure(s) used for dependency tag sets.
rpmsenseFlags
rpmFlags rpmsenseFlags
Definition: rpmds.h:57
rpmtypes.h
Typedefs for RPM abstract data types.