]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib: Update documentation of notmuch_database_add_message.
[notmuch] / lib / notmuch.h
index 13efd5db90b77e1cb1b49473665715423842cde8..52078e812a712101b355f012674f5acb5c129f98 100644 (file)
@@ -57,6 +57,9 @@ typedef int notmuch_bool_t;
  * value. Instead we should map to things like DATABASE_LOCKED or
  * whatever.
  *
+ * NOTMUCH_STATUS_READONLY_DATABASE: An attempt was made to write to a
+ *     database opened in read-only mode.
+ *
  * NOTMUCH_STATUS_XAPIAN_EXCEPTION: A Xapian exception occurred
  *
  * NOTMUCH_STATUS_FILE_ERROR: An error occurred trying to read or
@@ -217,8 +220,8 @@ notmuch_database_get_directory (notmuch_database_t *database,
  * NOTMUCH_STATUS_SUCCESS: Message successfully added to database.
  *
  * NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: Message has the same message
- *     ID as another message already in the database. Nothing added
- *     to the database.
+ *     ID as another message already in the database. The new filename
+ *     was successfully added to the message in the database.
  *
  * NOTMUCH_STATUS_FILE_ERROR: an error occurred trying to open the
  *     file, (such as permission denied, or file not found,