diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-04-08 22:54:50 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-04-15 07:07:23 -0300 |
| commit | 9eebae3da4510a671cbbb2f476c2dc04099b4415 (patch) | |
| tree | a010e1f14bc66faa429f51f4ce6b160f80001cdc /lib/notmuch-private.h | |
| parent | 011fc41d4d1a1dc9ae3765c9f08ee603eea7bc7e (diff) | |
Introduce _notmuch_message_has_term()
It can be useful to easily tell if a given message has a given term
associated with it.
Diffstat (limited to 'lib/notmuch-private.h')
| -rw-r--r-- | lib/notmuch-private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index d95bf310..92807975 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -280,6 +280,12 @@ _notmuch_message_remove_term (notmuch_message_t *message, const char *value); notmuch_private_status_t +_notmuch_message_has_term (notmuch_message_t *message, + const char *prefix_name, + const char *value, + notmuch_bool_t *result); + +notmuch_private_status_t _notmuch_message_gen_terms (notmuch_message_t *message, const char *prefix_name, const char *text); |
