X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=c130b937790abe9b6e6957b1f70e5c64b31ec60b;hp=b3d0b668bc4d142726881c6eb8e471f181de3583;hb=8540c36a96f5270d84d19dcbfbc9f6463f1653fd;hpb=ccf0db161590e2aac7db0e049547c347ab4db528 diff --git a/notmuch-client.h b/notmuch-client.h index b3d0b668..c130b937 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -446,11 +446,19 @@ typedef enum dump_formats { DUMP_FORMAT_SUP } dump_format_t; +typedef enum dump_includes { + DUMP_INCLUDE_TAGS = 1, + DUMP_INCLUDE_CONFIG = 2, +} dump_include_t; + +#define NOTMUCH_DUMP_VERSION 2 + int notmuch_database_dump (notmuch_database_t *notmuch, const char *output_file_name, const char *query_str, dump_format_t output_format, + dump_include_t include, notmuch_bool_t gzip_output); /* If status is non-zero (i.e. error) print appropriate