diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-05-15 22:34:34 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-05-15 22:37:57 +0200 |
commit | 1687fa2e4fda73791d53134cb5541fa0a9412268 (patch) | |
tree | 2f48863983e5fdb243ba1aacc4c3d3b107f8e4e8 /openpgp-ffi/include/sequoia/openpgp/types.h | |
parent | a25ef6974e0ba3989f6205c19a1f9ccfc81db584 (diff) |
openpgp-ffi: Expose the inspect callback in the C API
- DecryptionHelper has a default NULL implementation of the inspect
callback. Allow C code to override it by exposing it in the
pgp_decryptor_new API.
Diffstat (limited to 'openpgp-ffi/include/sequoia/openpgp/types.h')
-rw-r--r-- | openpgp-ffi/include/sequoia/openpgp/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp/types.h b/openpgp-ffi/include/sequoia/openpgp/types.h index 42dfb727..b6003b1d 100644 --- a/openpgp-ffi/include/sequoia/openpgp/types.h +++ b/openpgp-ffi/include/sequoia/openpgp/types.h @@ -522,4 +522,7 @@ typedef pgp_status_t (*pgp_decryptor_decrypt_cb_t) (void *, typedef pgp_status_t (*pgp_decryptor_check_cb_t) (void *, pgp_message_structure_t); +typedef pgp_status_t (*pgp_decryptor_inspect_cb_t) (void *, + pgp_packet_parser_t); + #endif |