rpm  6.0.91
The RPM Package Manager
rpmstrpool.h
Go to the documentation of this file.
1 #ifndef _RPMSTRPOOL_H
2 #define _RPMSTRPOOL_H
3 
11 #include <rpm/rpmtypes.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
21 rpmstrPool rpmstrPoolCreate(void);
22 
29 rpmstrPool rpmstrPoolFree(rpmstrPool pool);
30 
36 rpmstrPool rpmstrPoolLink(rpmstrPool pool);
37 
46 void rpmstrPoolFreeze(rpmstrPool pool, int keephash);
47 
54 void rpmstrPoolUnfreeze(rpmstrPool pool);
55 
65 rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create);
66 
78 rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create);
79 
86 const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid);
87 
96 size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid);
97 
108 int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA,
109  rpmstrPool poolB, rpmsid sidB);
110 
117 rpmsid rpmstrPoolNumStr(rpmstrPool pool);
118 
119 #ifdef __cplusplus
120 }
121 #endif
122 
123 #endif /* _RPMSIDPOOL_H */
rpmsid rpmstrPoolNumStr(rpmstrPool pool)
rpmstrPool rpmstrPoolFree(rpmstrPool pool)
rpmstrPool rpmstrPoolCreate(void)
const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid)
void rpmstrPoolUnfreeze(rpmstrPool pool)
size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid)
rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create)
rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create)
rpmstrPool rpmstrPoolLink(rpmstrPool pool)
void rpmstrPoolFreeze(rpmstrPool pool, int keephash)
int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA, rpmstrPool poolB, rpmsid sidB)