rpm 4.19.92
The RPM Package Manager
Loading...
Searching...
No Matches
rpmver.h
1#ifndef _RPMVER_H
2#define _RPMVER_H
3
4#include <rpm/rpmtypes.h>
5#include <rpm/rpmds.h> /* sense flags */
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
18int rpmvercmp(const char * a, const char * b);
19
26rpmver rpmverParse(const char *evr);
27
36rpmver rpmverNew(const char *e, const char *v, const char *r);
37
44rpmver rpmverFree(rpmver rv);
45
50uint32_t rpmverEVal(rpmver rv);
51
56const char *rpmverE(rpmver rv);
57
62const char *rpmverV(rpmver rv);
63
68const char *rpmverR(rpmver rv);
69
74char *rpmverEVR(rpmver rv);
75
83int rpmverCmp(rpmver v1, rpmver v2);
84
93int rpmverOverlap(rpmver v1, rpmsenseFlags f1, rpmver v2, rpmsenseFlags f2);
94
95#ifdef __cplusplus
96}
97#endif
98
99#endif /* _RPMVER_H */
rpmver rpmverNew(const char *e, const char *v, const char *r)
int rpmverCmp(rpmver v1, rpmver v2)
rpmver rpmverParse(const char *evr)
uint32_t rpmverEVal(rpmver rv)
const char * rpmverE(rpmver rv)
const char * rpmverV(rpmver rv)
int rpmvercmp(const char *a, const char *b)
rpmver rpmverFree(rpmver rv)
int rpmverOverlap(rpmver v1, rpmsenseFlags f1, rpmver v2, rpmsenseFlags f2)
const char * rpmverR(rpmver rv)
char * rpmverEVR(rpmver rv)