X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=50d804fa99f935fcbf00d5454b3639675aa687ef;hp=037913f40303e0153db912e1e5d883530b6ffe78;hb=6eaadb43adae2cca2f8023830d498ef3164f7fe9;hpb=a962bd2bf801b80e2bdfaa8b05797bf01bc3fc1f diff --git a/lib/notmuch.h b/lib/notmuch.h index 037913f4..50d804fa 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1433,6 +1433,8 @@ notmuch_message_count_files (notmuch_message_t *message); * this function will arbitrarily return a single one of those * filenames. See notmuch_message_get_filenames for returning the * complete list of filenames. + * + * This function returns NULL if it triggers a Xapian exception. */ const char * notmuch_message_get_filename (notmuch_message_t *message); @@ -1446,6 +1448,8 @@ notmuch_message_get_filename (notmuch_message_t *message); * * Each filename in the iterator is an absolute filename, (the initial * component will match notmuch_database_get_path() ). + * + * This function returns NULL if it triggers a Xapian exception. */ notmuch_filenames_t * notmuch_message_get_filenames (notmuch_message_t *message); @@ -1499,6 +1503,8 @@ notmuch_message_set_flag (notmuch_message_t *message, * For the original textual representation of the Date header from the * message call notmuch_message_get_header() with a header value of * "date". + * + * Returns 0 in case of error. */ time_t notmuch_message_get_date (notmuch_message_t *message);