summaryrefslogtreecommitdiff
path: root/lib/fprint.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-09-13 21:13:47 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-09-14 13:31:27 +0300
commit56ba2dc3accddb783ae07f37a2fc8c4347fe04cc (patch)
tree26fe7dfb98b956939020b6b250638a7efb5cb2ad /lib/fprint.c
parentb78ba1ae51a3e0a9821b58963a642ed38b98dce4 (diff)
downloadlibrpm-tizen-56ba2dc3accddb783ae07f37a2fc8c4347fe04cc.tar.gz
librpm-tizen-56ba2dc3accddb783ae07f37a2fc8c4347fe04cc.tar.bz2
librpm-tizen-56ba2dc3accddb783ae07f37a2fc8c4347fe04cc.zip
Make fingerprint cache opaque outside fprint.c
- Not that it matters much when everything else is wide open but gotta start with something...
Diffstat (limited to 'lib/fprint.c')
-rw-r--r--lib/fprint.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/fprint.c b/lib/fprint.c
index ae37f8936..44e490031 100644
--- a/lib/fprint.c
+++ b/lib/fprint.c
@@ -24,6 +24,13 @@
#define HTDATATYPE const struct fprintCacheEntry_s *
#include "lib/rpmhash.C"
+/**
+ * Finger print cache.
+ */
+struct fprintCache_s {
+ rpmFpEntryHash ht; /*!< hashed by dirName */
+};
+
fingerPrintCache fpCacheCreate(int sizeHint)
{
fingerPrintCache fpc;