rpm 4.10.90

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmstrpool.h
Go to the documentation of this file.

    00001 #ifndef _RPMSTRPOOL_H
    00002 #define _RPMSTRPOOL_H
    00003
    00004 #include <rpm/rpmtypes.h>
    00005
    00006 #ifdef __cplusplus
    00007 extern "C" {
    00008 #endif
    00009
    00014 rpmstrPool rpmstrPoolCreate(void);
    00015
    00022 rpmstrPool rpmstrPoolFree(rpmstrPool pool);
    00023
    00029 rpmstrPool rpmstrPoolLink(rpmstrPool pool);
    00030
    00039 void rpmstrPoolFreeze(rpmstrPool pool, int keephash);
    00040
    00047 void rpmstrPoolUnfreeze(rpmstrPool pool);
    00048
    00058 rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create);
    00059
    00071 rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create);
    00072
    00079 const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid);
    00080
    00089 size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid);
    00090
    00101 int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA,
    00102                     rpmstrPool poolB, rpmsid sidB);
    00103
    00110 rpmsid rpmstrPoolNumStr(rpmstrPool pool);
    00111
    00112 #ifdef __cplusplus
    00113 }
    00114 #endif
    00115
    00116 #endif /* _RPMSIDPOOL_H */