X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch.h;h=0b0540b13437f6161adbba741352ae9df0a2cdfd;hb=3db892f43b4ac333a09dd05c8f230bf3f8d2b9e9;hp=cd5c1246b977151f56248dca06d2d16943d3d7cd;hpb=79936ac93e486d8ff82729840154bf8c2212ebb6;p=notmuch diff --git a/lib/notmuch.h b/lib/notmuch.h index cd5c1246..0b0540b1 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -58,7 +58,7 @@ NOTMUCH_BEGIN_DECLS * version in Makefile.local. */ #define LIBNOTMUCH_MAJOR_VERSION 5 -#define LIBNOTMUCH_MINOR_VERSION 5 +#define LIBNOTMUCH_MINOR_VERSION 6 #define LIBNOTMUCH_MICRO_VERSION 0 @@ -228,6 +228,10 @@ typedef enum { * No mail root could be deduced from parameters and environment */ NOTMUCH_STATUS_NO_MAIL_ROOT, + /** + * Database is not fully opened, or has been closed + */ + NOTMUCH_STATUS_CLOSED_DATABASE, /** * Not an actual status value. Just a way to find out how many * valid status values there are. @@ -2262,6 +2266,9 @@ notmuch_message_properties_destroy (notmuch_message_properties_t *properties); * valid string. Whereas when this function returns FALSE, * notmuch_tags_get will return NULL. * + * It is acceptable to pass NULL for 'tags', in which case this + * function will always return FALSE. + * See the documentation of notmuch_message_get_tags for example code * showing how to iterate over a notmuch_tags_t object. */