aboutsummaryrefslogtreecommitdiff
path: root/lib/notmuch.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-10-30 15:01:01 -0300
committerDavid Bremner <david@tethera.net>2021-10-30 15:01:01 -0300
commite7bb7919a2484e12cd5a672eaa21b695b7464acf (patch)
tree3ef0170ae2eff800d499fb291d2c939e65db23d2 /lib/notmuch.h
parente7528f9b77cb90a01502e1ad7491be71c59ba32a (diff)
parentfe51c275fcd7107d92b40de511086300ba4060ed (diff)
Merge branch 'release'
Diffstat (limited to 'lib/notmuch.h')
-rw-r--r--lib/notmuch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h
index 19391614..1b2bdf3f 100644
--- a/lib/notmuch.h
+++ b/lib/notmuch.h
@@ -433,6 +433,8 @@ notmuch_database_open_verbose (const char *path,
* @retval NOTMUCH_STATUS_NULL_POINTER: The given \a database
* argument is NULL.
*
+ * @retval NOTMUCH_STATUS_NO_CONFIG: No config file was found. Fatal.
+ *
* @retval NOTMUCH_STATUS_OUT_OF_MEMORY: Out of memory.
*
* @retval NOTMUCH_STATUS_FILE_ERROR: An error occurred trying to open the
@@ -458,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.
@@ -489,6 +494,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