summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-02-26 22:48:59 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-02-26 22:48:59 +0100
commitceab08e222fadc68c3330dbfe2b47db34bf7141f (patch)
tree6c504cfaa92b4624985547d823933d81c9168402
parent5777431cf43a89846d0b7bb00829604042015e03 (diff)
openpgp: Complete the binding -> bundle rename.
-rw-r--r--openpgp-ffi/include/sequoia/openpgp.h2
-rw-r--r--openpgp-ffi/src/cert.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h
index bc098339..dd0b0fa0 100644
--- a/openpgp-ffi/include/sequoia/openpgp.h
+++ b/openpgp-ffi/include/sequoia/openpgp.h
@@ -939,7 +939,7 @@ int pgp_cert_is_tsk(pgp_cert_t cert);
/*/
/// Returns an iterator over the `UserIDBundle`s.
/*/
-pgp_user_id_bundle_iter_t pgp_cert_user_id_binding_iter (pgp_cert_t cert);
+pgp_user_id_bundle_iter_t pgp_cert_user_id_bundle_iter (pgp_cert_t cert);
/*/
/// Returns an iterator over all `Key`s in a Cert.
diff --git a/openpgp-ffi/src/cert.rs b/openpgp-ffi/src/cert.rs
index 6624d0dc..81b19123 100644
--- a/openpgp-ffi/src/cert.rs
+++ b/openpgp-ffi/src/cert.rs
@@ -403,9 +403,9 @@ pub extern "C" fn pgp_user_id_bundle_selfsig(
/* UserIDBundleIter */
-/// Returns an iterator over the Cert's user id bindings.
+/// Returns an iterator over the Cert's user id bundles.
#[::sequoia_ffi_macros::extern_fn] #[no_mangle]
-pub extern "C" fn pgp_cert_user_id_binding_iter(cert: *const Cert)
+pub extern "C" fn pgp_cert_user_id_bundle_iter(cert: *const Cert)
-> *mut UserIDBundleIter<'static>
{
let cert = cert.ref_raw();