rpm  5.4.14
rpmdpkg.h
Go to the documentation of this file.
1 #ifndef H_RPMDPKG
2 #define H_RPMDPKG
3 
9 #include "rpmevr.h"
10 
13 /*@-exportlocal@*/
14 /*@unchecked@*/
15 extern int _rpmdpkg_debug;
16 /*@=exportlocal@*/
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
28 int dpkgEVRcmp(/*@null@*/ const char *a, /*@null@*/ const char *b)
29  /*@*/;
30 
37 int dpkgEVRparse(const char * evrstr, EVR_t evr)
38  /*@modifies evrstr, evr @*/;
39 
46 int dpkgEVRcompare(const EVR_t a, const EVR_t b)
47  /*@*/;
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* H_RPMDPKG */
int dpkgEVRparse(const char *evrstr, EVR_t evr)
Split EVR string into epoch, version, and release components.
Definition: rpmdpkg.c:61
struct EVR_s * EVR_t
Definition: rpmevr.h:22
int dpkgEVRcmp(const char *a, const char *b)
Segmented string compare.
Definition: rpmdpkg.c:33
char * b
Definition: macro.c:746
int dpkgEVRcompare(const EVR_t a, const EVR_t b)
Compare EVR containers.
Definition: rpmdpkg.c:66
int _rpmdpkg_debug
Definition: rpmdpkg.c:17