diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-05-25 14:04:04 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-26 08:20:23 -0300 |
| commit | 2c08beb2546156940e30526fc6759f4ee74b4fed (patch) | |
| tree | e2d6067ba69ed6f73ec5576e330ef9cccb20b5f0 /notmuch-client.h | |
| parent | 74919c226eafad4de6b3a823f83a8be970e77e24 (diff) | |
cli: expose message-wide crypto status from mime-node
The mime node context (a per-message context) gains a cryptographic
status object, and the mime_node_t object itself can return a view on
that status to an interested party.
The status is not yet populated, and for now we can keep that view
read-only, so that it can only be populated/modified during MIME tree
traversal.
Diffstat (limited to 'notmuch-client.h')
| -rw-r--r-- | notmuch-client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index d762d3cc..a82cb431 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -439,6 +439,9 @@ mime_node_child (mime_node_t *parent, int child); mime_node_t * mime_node_seek_dfs (mime_node_t *node, int n); +const _notmuch_message_crypto_t* +mime_node_get_message_crypto_status (mime_node_t *node); + typedef enum dump_formats { DUMP_FORMAT_AUTO, DUMP_FORMAT_BATCH_TAG, |
