summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-11-07 12:56:55 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-11-07 12:56:55 +0200
commit41a3fda32b9092bbf5562b1716463480b99b78d0 (patch)
treee3890ff20e382e8d765ed649e36e65a8d0617067 /rpmio/rpmpgp.c
parent598d059fc917657304898455fa819bae7d5f437b (diff)
downloadlibrpm-tizen-41a3fda32b9092bbf5562b1716463480b99b78d0.tar.gz
librpm-tizen-41a3fda32b9092bbf5562b1716463480b99b78d0.tar.bz2
librpm-tizen-41a3fda32b9092bbf5562b1716463480b99b78d0.zip
And finally, make pgpDig struct fully opaque
- As long as this was exposed and relied on, we couldn't really make any changes to how this stuff is stored. Now we have a chance...
Diffstat (limited to 'rpmio/rpmpgp.c')
-rw-r--r--rpmio/rpmpgp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index b14640e15..045740e43 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -17,6 +17,14 @@
static int _print = 0;
+/** \ingroup rpmio
+ * Container for values parsed from an OpenPGP signature and public key.
+ */
+struct pgpDig_s {
+ struct pgpDigParams_s signature;
+ struct pgpDigParams_s pubkey;
+};
+
typedef const struct pgpValTbl_s {
int val;
char const * const str;