]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
lib: rename _n_d_create to _n_d_find_or_create
[notmuch] / lib / notmuch-private.h
index 28ced3a2b125a227a6d79f7abfdf90f6ecc925b4..2bbbb29351aa8d129ade03ac9433d03db38091de 100644 (file)
@@ -251,10 +251,10 @@ _notmuch_database_filename_to_direntry (void *ctx,
 /* directory.cc */
 
 notmuch_directory_t *
-_notmuch_directory_create (notmuch_database_t *notmuch,
-                          const char *path,
-                          notmuch_find_flags_t flags,
-                          notmuch_status_t *status_ret);
+_notmuch_directory_find_or_create (notmuch_database_t *notmuch,
+                                  const char *path,
+                                  notmuch_find_flags_t flags,
+                                  notmuch_status_t *status_ret);
 
 unsigned int
 _notmuch_directory_get_document_id (notmuch_directory_t *directory);