X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=4ecb3ae9d44c511818684b5c56ba85c2b1d0c34f;hp=4a3c7ac98f4d56862a343d7cd6356e792db17dd0;hb=662e097984780165e57c7fa1f0ddf450dfeab83d;hpb=8a0e85025af5854666f5a8a18236f4ed69924638 diff --git a/notmuch-client.h b/notmuch-client.h index 4a3c7ac9..4ecb3ae9 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -54,7 +54,6 @@ typedef GMimeCipherContext notmuch_crypto_context_t; #include #include #include -#include #include #include #include @@ -90,6 +89,7 @@ typedef struct notmuch_show_params { notmuch_bool_t raw; int part; notmuch_crypto_t crypto; + notmuch_bool_t include_html; } notmuch_show_params_t; /* There's no point in continuing when we've detected that we've done @@ -142,6 +142,12 @@ chomp_newline (char *str) /* 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 @@ -180,6 +186,9 @@ notmuch_dump_command (notmuch_config_t *config, int argc, char *argv[]); int notmuch_new_command (notmuch_config_t *config, int argc, char *argv[]); +int +notmuch_insert_command (notmuch_config_t *config, int argc, char *argv[]); + int notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[]); @@ -201,6 +210,9 @@ notmuch_tag_command (notmuch_config_t *config, int argc, char *argv[]); int notmuch_config_command (notmuch_config_t *config, int argc, char *argv[]); +int +notmuch_compact_command (notmuch_config_t *config, int argc, char *argv[]); + const char * notmuch_time_relative_date (const void *ctx, time_t then); @@ -218,7 +230,8 @@ show_one_part (const char *filename, int part); void format_part_sprinter (const void *ctx, struct sprinter *sp, mime_node_t *node, - notmuch_bool_t first, notmuch_bool_t output_body); + notmuch_bool_t first, notmuch_bool_t output_body, + notmuch_bool_t include_html); void format_headers_sprinter (struct sprinter *sp, GMimeMessage *message,