Blame doc/librpm/html/rpmstrpool_8h_source.html

2ff057
2ff057
<html xmlns="http://www.w3.org/1999/xhtml">
2ff057
<head>
2ff057
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2ff057
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2ff057
<meta name="generator" content="Doxygen 1.8.14"/>
2ff057
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2ff057
<title>rpm: rpmstrpool.h Source File</title>
2ff057
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2ff057
<script type="text/javascript" src="jquery.js"></script>
2ff057
<script type="text/javascript" src="dynsections.js"></script>
2ff057
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2ff057
</head>
2ff057
<body>
2ff057
2ff057
2ff057
2ff057
 
2ff057
 
2ff057
  
2ff057
   
rpm
2ff057
    4.14.2
2ff057
   
2ff057
  
2ff057
 
2ff057
 
2ff057
2ff057
2ff057
2ff057
2ff057
<script type="text/javascript" src="menudata.js"></script>
2ff057
<script type="text/javascript" src="menu.js"></script>
2ff057
<script type="text/javascript">
2ff057
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
2ff057
$(function() {
2ff057
  initMenu('',false,false,'search.php','Search');
2ff057
});
2ff057
/* @license-end */</script>
2ff057
2ff057
2ff057
  
    2ff057
  • rpmio
  • 2ff057
    2ff057
    2ff057
    2ff057
      
    2ff057
    rpmstrpool.h
    2ff057
    2ff057
    2ff057
    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 
    22 
    30 
    37 
    46 void rpmstrPoolFreeze(rpmstrPool pool, int keephash);
    47 
    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 
    118 
    119 #ifdef __cplusplus
    120 }
    121 #endif
    122 
    123 #endif /* _RPMSIDPOOL_H */
    rpmsid rpmstrPoolNumStr(rpmstrPool pool)
    Return the number of strings stored in the pool.
    2ff057
    rpmstrPool rpmstrPoolFree(rpmstrPool pool)
    Free a string pool and its contents.
    2ff057
    rpmstrPool rpmstrPoolCreate(void)
    Create a new, empty string pool.
    2ff057
    const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid)
    Look up a string by its pool id.
    2ff057
    struct rpmstrPool_s * rpmstrPool
    Definition: rpmtypes.h:83
    2ff057
    uint32_t rpmsid
    Definition: rpmtypes.h:82
    2ff057
    void rpmstrPoolUnfreeze(rpmstrPool pool)
    Unfreeze a string pool to allow new additions again.
    2ff057
    size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid)
    Return length of a string by its pool id.
    2ff057
    rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create)
    Look up the id of a string with predetermined length.
    2ff057
    rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create)
    Look up the id of a string.
    2ff057
    rpmstrPool rpmstrPoolLink(rpmstrPool pool)
    Reference a string pool.
    2ff057
    void rpmstrPoolFreeze(rpmstrPool pool, int keephash)
    Freeze a string pool: new strings cannot be added to a frozen pool.
    2ff057
    int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA, rpmstrPool poolB, rpmsid sidB)
    Compare two strings for equality by their ids.
    2ff057
    2ff057
    2ff057

    <address class="footer"><small>
    2ff057
    Generated by  
    2ff057
    doxygen
    2ff057
     1.8.14
    2ff057
    </small></address>
    2ff057
    </body>
    2ff057
    </html>