]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
database: Abstract _filename_to_direntry from _add_message
[notmuch] / lib / notmuch-private.h
index e9712832aa690f47e08d6cd1ed26ffdb7f13d62f..cb93c397a0265b539f54c407929ebfb90562b350 100644 (file)
@@ -171,6 +171,12 @@ _notmuch_database_get_directory_path (void *ctx,
                                      notmuch_database_t *notmuch,
                                      unsigned int doc_id);
 
+notmuch_status_t
+_notmuch_database_filename_to_direntry (void *ctx,
+                                       notmuch_database_t *notmuch,
+                                       const char *filename,
+                                       char **direntry);
+
 /* thread.cc */
 
 notmuch_thread_t *