]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib/create: document expectations for db on error, add tests
[notmuch] / lib / notmuch.h
index 6a0e4c51f9362d18261b98e78190635fc6067038..316385b84b435bdf696b95b7a046ca174c17ca1c 100644 (file)
@@ -491,6 +491,9 @@ notmuch_database_load_config (const char *database_path,
  *
  * For description of arguments, @see notmuch_database_open_with_config
  *
+ * In case of any failure, this function returns an error status and
+ * sets *database to NULL.
+ *
  * @retval NOTMUCH_STATUS_SUCCESS: Successfully created the database.
  *
  * @retval NOTMUCH_STATUS_DATABASE_EXISTS: Database already exists, not created