]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
database: Make _parse_message_id static once again.
[notmuch] / lib / notmuch-private.h
index 8bb919358a08fcde36f918bed604700b51b89997..dad7e22e52689079ac53658fb327a489b333eff5 100644 (file)
@@ -147,9 +147,6 @@ typedef enum _notmuch_private_status {
 const char *
 _find_prefix (const char *name);
 
-char *
-_parse_message_id (void *ctx, const char *message_id, const char **next);
-
 /* thread.cc */
 
 notmuch_thread_t *
@@ -167,13 +164,12 @@ _notmuch_message_create (const void *talloc_owner,
                         notmuch_private_status_t *status);
 
 notmuch_message_t *
-_notmuch_message_create_for_message_id (const void *talloc_owner,
-                                       notmuch_database_t *notmuch,
+_notmuch_message_create_for_message_id (notmuch_database_t *notmuch,
                                        const char *message_id,
                                        notmuch_private_status_t *status);
 
 const char *
-_notmuch_message_get_subject (notmuch_message_t *message);
+_notmuch_message_get_in_reply_to (notmuch_message_t *message);
 
 notmuch_private_status_t
 _notmuch_message_add_term (notmuch_message_t *message,
@@ -208,6 +204,9 @@ _notmuch_message_set_date (notmuch_message_t *message,
 void
 _notmuch_message_sync (notmuch_message_t *message);
 
+void
+_notmuch_message_close (notmuch_message_t *message);
+
 /* index.cc */
 
 notmuch_status_t
@@ -304,6 +303,12 @@ _notmuch_message_list_add_message (notmuch_message_list_t *list,
 notmuch_messages_t *
 _notmuch_messages_create (notmuch_message_list_t *list);
 
+/* message.cc */
+
+void
+_notmuch_message_add_reply (notmuch_message_t *message,
+                           notmuch_message_node_t *reply);
+
 /* date.c */
 
 /* Parse an RFC 8222 date string to a time_t value.