]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
Export _parse_message_id to the library implementation.
[notmuch] / lib / notmuch-private.h
index 92b463432671f8b442a858336306413db371afe7..657816f17d665dafadf138f303943b58f34fcaaf 100644 (file)
@@ -147,16 +147,16 @@ typedef enum _notmuch_private_status {
 const char *
 _find_prefix (const char *name);
 
 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 *
 /* thread.cc */
 
 notmuch_thread_t *
-_notmuch_thread_create (const void *talloc_owner,
+_notmuch_thread_create (void *ctx,
                        notmuch_database_t *notmuch,
                        notmuch_database_t *notmuch,
-                       const char *thread_id);
-
-void
-_notmuch_thread_add_message (notmuch_thread_t *thread,
-                            notmuch_message_t *message);
+                       const char *thread_id,
+                       const char *query_string);
 
 /* message.cc */
 
 
 /* message.cc */
 
@@ -278,6 +278,15 @@ const char *
 notmuch_message_file_get_header (notmuch_message_file_t *message,
                                 const char *header);
 
 notmuch_message_file_get_header (notmuch_message_file_t *message,
                                 const char *header);
 
+/* messages.c */
+
+notmuch_messages_t *
+_notmuch_messages_create (void *ctx);
+
+void
+_notmuch_messages_add_message (notmuch_messages_t *messages,
+                              notmuch_message_t *message);
+
 /* date.c */
 
 /* Parse an RFC 8222 date string to a time_t value.
 /* date.c */
 
 /* Parse an RFC 8222 date string to a time_t value.