rpm: /srv/include/rpm/rpmver.h Source File

rpm 4.20.1 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
18 int 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
56 const char *rpmverE(rpmver rv);
57
62 const char *rpmverV(rpmver rv);
63
68 const char *rpmverR(rpmver rv);
69
74 char *rpmverEVR(rpmver rv);
75
83 int rpmverCmp(rpmver v1, rpmver v2);
84
93 int rpmverOverlap(rpmver v1, rpmsenseFlags f1, rpmver v2, rpmsenseFlags f2);
94
95#ifdef __cplusplus
96}
97#endif
98
99#endif /* _RPMVER_H */
rpmverNew
rpmver rpmverNew(const char *e, const char *v, const char *r)
rpmverCmp
int rpmverCmp(rpmver v1, rpmver v2)
rpmverParse
rpmver rpmverParse(const char *evr)
rpmverEVal
uint32_t rpmverEVal(rpmver rv)
rpmverE
const char * rpmverE(rpmver rv)
rpmverV
const char * rpmverV(rpmver rv)
rpmvercmp
int rpmvercmp(const char *a, const char *b)
rpmverFree
rpmver rpmverFree(rpmver rv)
rpmverOverlap
int rpmverOverlap(rpmver v1, rpmsenseFlags f1, rpmver v2, rpmsenseFlags f2)
rpmverR
const char * rpmverR(rpmver rv)
rpmverEVR
char * rpmverEVR(rpmver rv)
rpmds.h
rpmtypes.h