summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-04-03 10:45:05 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-04-03 11:34:01 +0200
commit8ebaf6e4ada1cea0b9e6f6dfee61c22cfdc9748c (patch)
treec93d8620f2326a642bd7428f69ab53f063f64a62 /openpgp-ffi
parentc4fe56a578de532fdcd7ecadb4cf064b061e37e6 (diff)
openpgp: Rename ComponentIter to ComponentBundleIter
- Rename `ComponentIter` to `ComponentBundleIter`, which is more accurate. - Rename the module from `cert/component_iter.rs` to `cert/bundle/iter.rs`.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r--openpgp-ffi/src/cert.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp-ffi/src/cert.rs b/openpgp-ffi/src/cert.rs
index eb32d5a0..4541c03e 100644
--- a/openpgp-ffi/src/cert.rs
+++ b/openpgp-ffi/src/cert.rs
@@ -377,7 +377,7 @@ fn pgp_cert_primary_user_id(cert: *const Cert, policy: *const Policy,
/// Wraps a UserIDIter for export via the FFI.
pub struct UserIDIterWrapper<'a> {
pub(crate) // For serialize.rs.
- iter: Option<ComponentIter<'a, openpgp::packet::UserID>>,
+ iter: Option<ComponentBundleIter<'a, openpgp::packet::UserID>>,
// Whether next has been called.
next_called: bool,
}
@@ -449,7 +449,7 @@ pub extern "C" fn pgp_cert_user_id_iter_next<'a>(
/// Wraps a ValidKeyIter for export via the FFI.
pub struct ValidUserIDIterWrapper<'a> {
pub(crate) // For serialize.rs.
- iter: Option<ValidComponentIter<'a, openpgp::packet::UserID>>,
+ iter: Option<ValidComponentBundleIter<'a, openpgp::packet::UserID>>,
// Whether next has been called.
next_called: bool,
}