]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
cli: add --include-html option to notmuch show
[notmuch] / notmuch-client.h
index 4a3c7ac98f4d56862a343d7cd6356e792db17dd0..afb0ddf9b946d42952dbf0188a56ba389525adea 100644 (file)
@@ -54,7 +54,6 @@ typedef GMimeCipherContext notmuch_crypto_context_t;
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <unistd.h>
-#include <fcntl.h>
 #include <dirent.h>
 #include <errno.h>
 #include <signal.h>
@@ -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
@@ -180,6 +180,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[]);
 
@@ -218,7 +221,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,