rpmstrpool.h
Go to the documentation of this file.
#ifndef _RPMSTRPOOL_H
#define _RPMSTRPOOL_H
#include <rpm/rpmtypes.h>
#ifdef __cplusplus
extern "C" {
#endif
rpmstrPool rpmstrPoolCreate(void);
rpmstrPool rpmstrPoolFree(rpmstrPool pool);
rpmstrPool rpmstrPoolLink(rpmstrPool pool);
void rpmstrPoolFreeze(rpmstrPool pool, int keephash);
void rpmstrPoolUnfreeze(rpmstrPool pool);
rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create);
rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create);
const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid);
size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid);
int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA,
rpmstrPool poolB, rpmsid sidB);
rpmsid rpmstrPoolNumStr(rpmstrPool pool);
#ifdef __cplusplus
}
#endif
#endif /* _RPMSIDPOOL_H */