X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fnotmuch.h;h=66ecb5fc4f65ceee2b4df424855c8cf9df4f2238;hb=0a40ea4b48357c69de6456a305f75b7bda649c9d;hp=e025bc1fb455a6f4fe2c53ea60908a4e5d489a71;hpb=8a8fb39b0c0199f224f4477cbcab2d7a578fee0f;p=notmuch diff --git a/lib/notmuch.h b/lib/notmuch.h index e025bc1f..66ecb5fc 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1612,6 +1612,14 @@ notmuch_message_remove_all_tags (notmuch_message_t *message); notmuch_status_t notmuch_message_maildir_flags_to_tags (notmuch_message_t *message); +/** + * return TRUE if any filename of 'message' has maildir flag 'flag', + * FALSE otherwise. + * + */ +notmuch_bool_t +notmuch_message_has_maildir_flag (notmuch_message_t *message, char flag); + /** * Rename message filename(s) to encode tags as maildir flags. *