X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=77b341841222c8563ded7612f9c6e1ae5cf51dcd;hp=7a674873d5985b122a6ee99cf1f2861e6faac4a2;hb=e1b7d32db00ea8afaa1f2ae31bdaa5cb423dda96;hpb=c0c5645538d9dda84657602ee4189f4ff3ca1aeb diff --git a/notmuch-client.h b/notmuch-client.h index 7a674873..77b34184 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -29,7 +29,7 @@ #include "compat.h" -#include +#include "gmime-extra.h" typedef GMimeCryptoContext notmuch_crypto_context_t; /* This is automatically included only since gmime 2.6.10 */ @@ -86,6 +86,7 @@ typedef struct notmuch_show_params { int part; notmuch_crypto_t crypto; notmuch_bool_t include_html; + GMimeStream *out_stream; } notmuch_show_params_t; /* There's no point in continuing when we've detected that we've done @@ -144,7 +145,7 @@ chomp_newline (char *str) * this. New (required) map fields can be added without increasing * this. */ -#define NOTMUCH_FORMAT_CUR 3 +#define NOTMUCH_FORMAT_CUR 4 /* The minimum supported structured output format version. Requests * for format versions below this will return an error. */ #define NOTMUCH_FORMAT_MIN 1 @@ -469,7 +470,7 @@ typedef enum dump_includes { #define DUMP_INCLUDE_DEFAULT (DUMP_INCLUDE_TAGS | DUMP_INCLUDE_CONFIG | DUMP_INCLUDE_PROPERTIES) -#define NOTMUCH_DUMP_VERSION 2 +#define NOTMUCH_DUMP_VERSION 3 int notmuch_database_dump (notmuch_database_t *notmuch,