X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=278b498a246adac024778e8d403f30e4db8155ad;hp=0bfa4da9606a4b62b052aec3a42e04148bceaccf;hb=abeac48522ded66e2f0e9aae704482355cb46e6a;hpb=241a88ce2f3c8d76b5a63a202d8455757c0e751e diff --git a/notmuch-client.h b/notmuch-client.h index 0bfa4da9..278b498a 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -138,10 +138,16 @@ chomp_newline (char *str) * this. New (required) map fields can be added without increasing * this. */ -#define NOTMUCH_FORMAT_CUR 1 +#define NOTMUCH_FORMAT_CUR 2 /* The minimum supported structured output format version. Requests * for format versions below this will return an error. */ #define NOTMUCH_FORMAT_MIN 1 +/* The minimum non-deprecated structured output format version. + * Requests for format versions below this will print a stern warning. + * Must be between NOTMUCH_FORMAT_MIN and NOTMUCH_FORMAT_CUR, + * inclusive. + */ +#define NOTMUCH_FORMAT_MIN_ACTIVE 1 /* The output format version requested by the caller on the command * line. If no format version is requested, this will be set to