summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/include
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-03 17:38:49 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-04 13:20:26 +0100
commit807eee2432de52715a2e3c7167d5e859ca3315a8 (patch)
treeca712d38feec4caa46c0105f1f0f9d45400c7d55 /openpgp-ffi/include
parentdaee0e230c36cec119d523ca33407789b6fd109f (diff)
openpgp: Rename KeyIter filters.
- See #359.
Diffstat (limited to 'openpgp-ffi/include')
-rw-r--r--openpgp-ffi/include/sequoia/openpgp.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h
index b169f78f..00e841f9 100644
--- a/openpgp-ffi/include/sequoia/openpgp.h
+++ b/openpgp-ffi/include/sequoia/openpgp.h
@@ -621,53 +621,53 @@ void pgp_user_id_binding_iter_free (pgp_user_id_binding_iter_t iter);
/// Changes the iterator to only return keys that are certification
/// capable.
///
-/// If you call this function and, e.g., the `signing_capable`
+/// If you call this function and, e.g., the `for_signing`
/// function, the *union* of the values is used. That is, the
/// iterator will return keys that are certification capable *or*
/// signing capable.
///
/// Note: you may not call this function after starting to iterate.
/*/
-void pgp_cert_key_iter_certification_capable (pgp_cert_key_iter_t iter);
+void pgp_cert_key_iter_for_certification (pgp_cert_key_iter_t iter);
/*/
/// Changes the iterator to only return keys that are certification
/// capable.
///
-/// If you call this function and, e.g., the `signing_capable`
+/// If you call this function and, e.g., the `for_signing`
/// function, the *union* of the values is used. That is, the
/// iterator will return keys that are certification capable *or*
/// signing capable.
///
/// Note: you may not call this function after starting to iterate.
/*/
-void pgp_cert_key_iter_signing_capable (pgp_cert_key_iter_t iter);
+void pgp_cert_key_iter_for_signing (pgp_cert_key_iter_t iter);
/*/
/// Changes the iterator to only return keys that are capable of
/// encrypting data at rest.
///
-/// If you call this function and, e.g., the `signing_capable`
+/// If you call this function and, e.g., the `for_signing`
/// function, the *union* of the values is used. That is, the
/// iterator will return keys that are certification capable *or*
/// signing capable.
///
/// Note: you may not call this function after starting to iterate.
/*/
-void pgp_cert_key_iter_encrypting_capable_at_rest (pgp_cert_key_iter_t);
+void pgp_cert_key_iter_for_storage_encryption (pgp_cert_key_iter_t);
/*/
/// Changes the iterator to only return keys that are capable of
/// encrypting data for transport.
///
-/// If you call this function and, e.g., the `signing_capable`
+/// If you call this function and, e.g., the `for_signing`
/// function, the *union* of the values is used. That is, the
/// iterator will return keys that are certification capable *or*
/// signing capable.
///
/// Note: you may not call this function after starting to iterate.
/*/
-void pgp_cert_key_iter_encrypting_capable_for_transport (pgp_cert_key_iter_t);
+void pgp_cert_key_iter_for_transport_encryption (pgp_cert_key_iter_t);
/*/
/// Changes the iterator to only return keys that are alive.