]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib/load_config: document expectations for db on error, add tests
[notmuch] / lib / notmuch.h
index 316385b84b435bdf696b95b7a046ca174c17ca1c..5c5a024e41defb04968357f1a0a999c6ae7faf45 100644 (file)
@@ -460,6 +460,9 @@ notmuch_database_open_with_config (const char *database_path,
  *
  * For description of arguments, @see notmuch_database_open_with_config
  *
+ * For errors other then NO_DATABASE and NO_CONFIG, *database is set to
+ * NULL.
+ *
  * @retval NOTMUCH_STATUS_SUCCESS: Successfully loaded configuration.
  *
  * @retval NOTMUCH_STATUS_NO_CONFIG: No config file was loaded. Not fatal.