rpm  4.11.1-rc1
rpmstrpool.h
Go to the documentation of this file.
1 #ifndef _RPMSTRPOOL_H
2 #define _RPMSTRPOOL_H
3 
4 #include <rpm/rpmtypes.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
15 
23 
30 
39 void rpmstrPoolFreeze(rpmstrPool pool, int keephash);
40 
48 
58 rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create);
59 
71 rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create);
72 
79 const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid);
80 
89 size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid);
90 
101 int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA,
102  rpmstrPool poolB, rpmsid sidB);
103 
111 
112 #ifdef __cplusplus
113 }
114 #endif
115 
116 #endif /* _RPMSIDPOOL_H */