]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
lib: Add new implementation of notmuch_filenames_t
[notmuch] / lib / notmuch-private.h
index 5b32f84a75ff4c316fa64e7b278dc973a4d4c851..6a9d5ddd1811795198916874d91179f7ca35f698 100644 (file)
@@ -261,6 +261,10 @@ notmuch_status_t
 _notmuch_message_add_filename (notmuch_message_t *message,
                               const char *filename);
 
+notmuch_status_t
+_notmuch_message_rename (notmuch_message_t *message,
+                        const char *new_filename);
+
 void
 _notmuch_message_ensure_thread_id (notmuch_message_t *message);
 
@@ -444,6 +448,18 @@ _notmuch_tags_add_tag (notmuch_tags_t *tags, const char *tag);
 void
 _notmuch_tags_prepare_iterator (notmuch_tags_t *tags);
 
+/* filenames.c */
+
+notmuch_filenames_t *
+_notmuch_filenames_create (const void *ctx);
+
+void
+_notmuch_filenames_add_filename (notmuch_filenames_t *filenames,
+                                const char *filename);
+
+void
+_notmuch_filenames_move_to_first (notmuch_filenames_t *filenames);
+
 #pragma GCC visibility pop
 
 NOTMUCH_END_DECLS