summaryrefslogtreecommitdiff
path: root/lib/rpmts_internal.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-11-01 09:45:15 +0200
committerPanu Matilainen <pmatilai@redhat.com>2012-11-01 09:59:57 +0200
commit3ff6fdd688b8491acc14ad99a830607c1a80f3a7 (patch)
tree27c8f4abe8f6d62ec737eec7338caeb4df16a557 /lib/rpmts_internal.h
parent5ecfdcea4e80e58f133ffddd69130ee8df28b2ac (diff)
downloadrpm-3ff6fdd688b8491acc14ad99a830607c1a80f3a7.tar.gz
Hide the strpool-related rpmts/rpmfi/rpmds interfaces out of sight for now
- In the package/transaction related things the strpool is more of an internal implementation detail than an end-goal in itself, move string pool related interfaces of rpmts, rpmfi and rpmds to internal-only APIs for now. The kind interfaces we'll want to eventually export a) dont exist yet and b) are likely to be something very different. - The string pool itself remains exported however, its a handy data structure for all sorts of things and both librpm and librpmbuild heavily use it already.
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r--lib/rpmts_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h
index 39511d0e3..a22c89267 100644
--- a/lib/rpmts_internal.h
+++ b/lib/rpmts_internal.h
@@ -75,6 +75,14 @@ struct rpmts_s {
extern "C" {
#endif
+/** \ingroup rpmts
+ * Return transaction global string pool handle
+ * @param ts transaction set
+ * @return string pool handle (weak ref)
+ */
+RPM_GNUC_INTERNAL
+rpmstrPool rpmtsPool(rpmts ts);
+
RPM_GNUC_INTERNAL
tsMembers rpmtsMembers(rpmts ts);