summaryrefslogtreecommitdiffstats
path: root/ffi/include
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2018-11-22 11:20:00 +0100
committerNeal H. Walfield <neal@pep.foundation>2018-11-22 11:20:00 +0100
commit2814bf1b4275e9a58f15059e20d249c667e572d5 (patch)
treedf8a80c50426b78e6a479e586eb30394811c0ffb /ffi/include
parentd42f3db864d2b4df1cda82b4f8f79dda7c48acab (diff)
ffi: Wrap PacketParserEOF::is_message.
- Add sq_packet_parser_eof_is_message.
Diffstat (limited to 'ffi/include')
-rw-r--r--ffi/include/sequoia/openpgp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ffi/include/sequoia/openpgp.h b/ffi/include/sequoia/openpgp.h
index 0c7a67b9..0c01f070 100644
--- a/ffi/include/sequoia/openpgp.h
+++ b/ffi/include/sequoia/openpgp.h
@@ -1039,6 +1039,11 @@ void sq_packet_parser_result_free (sq_packet_parser_result_t ppr);
void sq_packet_parser_free (sq_packet_parser_t pp);
/*/
+/// Returns whether the message is a well-formed OpenPGP message.
+/*/
+int sq_packet_parser_eof_is_message(sq_packet_parser_eof_t eof);
+
+/*/
/// Frees the packet parser EOF object.
/*/
void sq_packet_parser_eof_free (sq_packet_parser_eof_t eof);