X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=203ac496731f238837020603b50a8a2ca35d3f42;hp=fa04fa2e48d68761fe6fab97b12856db75fe4529;hb=ea4fd50f45b0bc0888070125c632ea2326eb18f7;hpb=ee1180018ee3c772d7ac769222ff9c6940f3c838 diff --git a/notmuch-client.h b/notmuch-client.h index fa04fa2e..203ac496 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -197,6 +197,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);