X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-client.h;h=f9fc0a673668f94866ade22b3ab2ccf7648a1a50;hb=ae59f4ab4d6029dd1c3847d02a5928de207f7aa5;hp=fa04fa2e48d68761fe6fab97b12856db75fe4529;hpb=0e386504345857725893d4da45338f00cc2147fa;p=notmuch diff --git a/notmuch-client.h b/notmuch-client.h index fa04fa2e..f9fc0a67 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -99,6 +99,7 @@ typedef struct notmuch_show_format { typedef struct notmuch_show_params { notmuch_bool_t entire_thread; + notmuch_bool_t omit_excluded; notmuch_bool_t raw; int part; #ifdef GMIME_ATLEAST_26 @@ -183,11 +184,6 @@ notmuch_time_elapsed (struct timeval start, struct timeval end); char * query_string_from_args (void *ctx, int argc, char *argv[]); -notmuch_status_t -show_message_body (notmuch_message_t *message, - const notmuch_show_format_t *format, - notmuch_show_params_t *params); - notmuch_status_t show_one_part (const char *filename, int part); @@ -197,6 +193,14 @@ format_part_json (const void *ctx, mime_node_t *node, notmuch_bool_t first); void format_headers_json (const void *ctx, GMimeMessage *message, notmuch_bool_t reply); +typedef enum { + NOTMUCH_SHOW_TEXT_PART_REPLY = 1 << 0, +} notmuch_show_text_part_flags; + +void +show_text_part_content (GMimeObject *part, GMimeStream *stream_out, + notmuch_show_text_part_flags flags); + char * json_quote_chararray (const void *ctx, const char *str, const size_t len);