X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=c66e78b1941226617285537338efe4ef7d90f293;hp=e59fc57183d133d1c77f81bb90fdae65818dde03;hb=6c84dee53193a78cf797b44d3febcc14488ea6b1;hpb=9668583a49e9fe2e39844ceaab20779c9444ba8f diff --git a/lib/notmuch.h b/lib/notmuch.h index e59fc571..c66e78b1 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1642,7 +1642,7 @@ notmuch_message_remove_tag (notmuch_message_t *message, const char *tag); * * @retval #NOTMUCH_STATUS_READ_ONLY_DATABASE: Database was opened in * read-only mode so message cannot be modified. - * @retval #NOTMUCH_STATUS_XAPIAN_EXCEPTION: an execption was thrown + * @retval #NOTMUCH_STATUS_XAPIAN_EXCEPTION: an exception was thrown * accessing the database. */ notmuch_status_t @@ -1874,7 +1874,7 @@ notmuch_message_add_property (notmuch_message_t *message, const char *key, const /** * Remove a (key,value) pair from a message. * - * It is not an error to remove a non-existant (key,value) pair + * It is not an error to remove a non-existent (key,value) pair * * @returns * - NOTMUCH_STATUS_ILLEGAL_ARGUMENT: *key* may not contain an '=' character. @@ -2148,6 +2148,8 @@ notmuch_directory_get_mtime (notmuch_directory_t *directory); * * The returned filenames will be the basename-entries only (not * complete paths). + * + * Returns NULL if it triggers a Xapian exception */ notmuch_filenames_t * notmuch_directory_get_child_files (notmuch_directory_t *directory); @@ -2289,6 +2291,7 @@ notmuch_config_list_key (notmuch_config_list_t *config_list); * next call to notmuch_config_list_value or notmuch config_list_destroy * * @since libnotmuch 4.4 (notmuch 0.23) + * @retval NULL for errors */ const char * notmuch_config_list_value (notmuch_config_list_t *config_list);