]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
Avoid database corruption by not adding partially-constructed mail documents.
[notmuch] / lib / notmuch-private.h
index 3768d6f88d034bd3fe4401fa8993b56d6cd0deb5..f9774a4853e6dd561cbefe60bb0beaa44b852c12 100644 (file)
@@ -167,6 +167,9 @@ _notmuch_database_split_path (void *ctx,
 const char *
 _notmuch_database_get_directory_db_path (const char *path);
 
+unsigned int
+_notmuch_database_generate_doc_id (notmuch_database_t *notmuch);
+
 notmuch_private_status_t
 _notmuch_database_find_unique_doc_id (notmuch_database_t *notmuch,
                                      const char *prefix_name,