rpm 6.1.90
The RPM Package Manager
Loading...
Searching...
No Matches
rpmstrpool.h
Go to the documentation of this file.
1#ifndef _RPMSTRPOOL_H
2#define _RPMSTRPOOL_H
3
10
11#include <rpm/rpmtypes.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
21RPM_PUBLIC_API
22rpmstrPool rpmstrPoolCreate(void);
23
30RPM_PUBLIC_API
31rpmstrPool rpmstrPoolFree(rpmstrPool pool);
32
38RPM_PUBLIC_API
39rpmstrPool rpmstrPoolLink(rpmstrPool pool);
40
49RPM_PUBLIC_API
50void rpmstrPoolFreeze(rpmstrPool pool, int keephash);
51
58RPM_PUBLIC_API
59void rpmstrPoolUnfreeze(rpmstrPool pool);
60
70RPM_PUBLIC_API
71rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create);
72
84RPM_PUBLIC_API
85rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create);
86
93RPM_PUBLIC_API
94const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid);
95
104RPM_PUBLIC_API
105size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid);
106
117RPM_PUBLIC_API
118int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA,
119 rpmstrPool poolB, rpmsid sidB);
120
127RPM_PUBLIC_API
128rpmsid rpmstrPoolNumStr(rpmstrPool pool);
129
130#ifdef __cplusplus
131}
132#endif
133
134#endif /* _RPMSIDPOOL_H */
RPM_PUBLIC_API rpmstrPool rpmstrPoolFree(rpmstrPool pool)
RPM_PUBLIC_API rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create)
RPM_PUBLIC_API const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid)
RPM_PUBLIC_API rpmsid rpmstrPoolNumStr(rpmstrPool pool)
RPM_PUBLIC_API int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA, rpmstrPool poolB, rpmsid sidB)
RPM_PUBLIC_API rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create)
RPM_PUBLIC_API void rpmstrPoolUnfreeze(rpmstrPool pool)
RPM_PUBLIC_API rpmstrPool rpmstrPoolLink(rpmstrPool pool)
RPM_PUBLIC_API rpmstrPool rpmstrPoolCreate(void)
RPM_PUBLIC_API size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid)
RPM_PUBLIC_API void rpmstrPoolFreeze(rpmstrPool pool, int keephash)