]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
show: Pass notmuch_message_t instead of path to show_message_body.
[notmuch] / notmuch-client.h
index 8a2726033f6286b6f8de893c8ed63ab2c657ab63..c521efa0a63559cc06422d36fc771dbf22d2dcae 100644 (file)
@@ -63,6 +63,7 @@ typedef struct notmuch_show_format {
     const char *header_start;
     void (*header) (const void *ctx,
                    notmuch_message_t *message);
+    void (*header_message_part) (GMimeMessage *message);
     const char *header_end;
     const char *body_start;
     void (*part_start) (GMimeObject *part,
@@ -161,7 +162,7 @@ char *
 query_string_from_args (void *ctx, int argc, char *argv[]);
 
 notmuch_status_t
-show_message_body (const char *filename,
+show_message_body (notmuch_message_t *message,
                   const notmuch_show_format_t *format,
                   notmuch_show_params_t *params);
 
@@ -234,10 +235,11 @@ void
 notmuch_config_set_maildir_synchronize_flags (notmuch_config_t *config,
                                              notmuch_bool_t synchronize_flags);
 
+int
+notmuch_run_hook (const char *db_path, const char *hook);
+
 notmuch_bool_t
 debugger_is_active (void);
 
-GType
-notmuch_gmime_session_get_type (void);
-
+#include "command-line-arguments.h"
 #endif