summaryrefslogtreecommitdiff
path: root/rpmio
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
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')
-rw-r--r--rpmio/digest.h8
-rw-r--r--rpmio/rpmpgp.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/rpmio/digest.h b/rpmio/digest.h
index abd96d4f1..9a13902d5 100644
--- a/rpmio/digest.h
+++ b/rpmio/digest.h
@@ -45,14 +45,6 @@ struct pgpDigParams_s {
pgpDigAlg alg;
};
-/** \ingroup rpmio
- * Container for values parsed from an OpenPGP signature and public key.
- */
-struct pgpDig_s {
- struct pgpDigParams_s signature;
- struct pgpDigParams_s pubkey;
-};
-
pgpDigAlg pgpPubkeyNew(int algo);
pgpDigAlg pgpSignatureNew(int algo);
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;