diff options
author | David Bremner <david@tethera.net> | 2016-03-22 07:54:50 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2016-05-25 07:07:56 -0300 |
commit | e042a25a3fd8706b6e1ee7bdf527bb17ecb74c6a (patch) | |
tree | 9db7e61d5efce86c2c8e6fdece0d132d7c9eef9e /notmuch-client.h | |
parent | 92e59568fa4eec466db78af6c21c39ca5826b0d7 (diff) |
CLI: add optional config data to dump output.
Note that it changes the default dump output format, but doesn't break
existing notmuch-restore. It might break user scripts though.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r-- | notmuch-client.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |