summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-09-27 12:18:39 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-09-27 12:18:39 +0300
commitf93162a7023b536d439a7338ee462288017d6d57 (patch)
treea8530ec8e0351e72f07b47138044e244b2267459 /rpmio
parent3916fee0ccaea1034aac8129e8b9216ba8c47ca8 (diff)
downloadlibrpm-tizen-f93162a7023b536d439a7338ee462288017d6d57.tar.gz
librpm-tizen-f93162a7023b536d439a7338ee462288017d6d57.tar.bz2
librpm-tizen-f93162a7023b536d439a7338ee462288017d6d57.zip
Fixup string pool prototype argument names to match implementation
- Just a simple s/sidpool/pool/ to match the implementation, "sidpool" is a leftover from early draft version that somehow made its way to the master tree.
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmstrpool.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/rpmio/rpmstrpool.h b/rpmio/rpmstrpool.h
index 4089dc3c6..1778c36ed 100644
--- a/rpmio/rpmstrpool.h
+++ b/rpmio/rpmstrpool.h
@@ -13,25 +13,25 @@ extern "C" {
rpmstrPool rpmstrPoolCreate(void);
/* destroy a string pool (refcounted) */
-rpmstrPool rpmstrPoolFree(rpmstrPool sidpool);
+rpmstrPool rpmstrPoolFree(rpmstrPool pool);
/* reference a string pool */
-rpmstrPool rpmstrPoolLink(rpmstrPool sidpool);
+rpmstrPool rpmstrPoolLink(rpmstrPool pool);
/* freeze pool to free memory (keephash required for string -> id lookups) */
-void rpmstrPoolFreeze(rpmstrPool sidpool, int keephash);
+void rpmstrPoolFreeze(rpmstrPool pool, int keephash);
/* unfreeze pool (ie recreate hash table) */
-void rpmstrPoolUnfreeze(rpmstrPool sidpool);
+void rpmstrPoolUnfreeze(rpmstrPool pool);
/* get the id of a string, optionally storing if not already present */
-rpmsid rpmstrPoolId(rpmstrPool sidpool, const char *s, int create);
+rpmsid rpmstrPoolId(rpmstrPool pool, const char *s, int create);
/* get the id of a string + length, optionally storing if not already present */
-rpmsid rpmstrPoolIdn(rpmstrPool sidpool, const char *s, size_t slen, int create);
+rpmsid rpmstrPoolIdn(rpmstrPool pool, const char *s, size_t slen, int create);
/* get a string by its id */
-const char * rpmstrPoolStr(rpmstrPool sidpool, rpmsid sid);
+const char * rpmstrPoolStr(rpmstrPool pool, rpmsid sid);
/* get a strings length by its id (in constant time) */
size_t rpmstrPoolStrlen(rpmstrPool pool, rpmsid sid);