X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=5c17ec7cbb3329e229021f04722c3c7c3cbba65e;hp=0dc89547017a6e5362333e167b0105c9e16c7421;hb=a606cba32b017f947c2d9f32477df69645c1c383;hpb=5fbb2c7929196033b6787ab40f7d94ec89bfbbba diff --git a/lib/notmuch.h b/lib/notmuch.h index 0dc89547..5c17ec7c 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1402,7 +1402,10 @@ notmuch_message_get_thread_id (notmuch_message_t *message); * NULL. (Note that notmuch_messages_valid will accept that NULL * value as legitimate, and simply return FALSE for it.) * - * The returned list will be destroyed when the thread is destroyed. + * This function also returns NULL if it triggers a Xapian exception. + * + * The returned list will be destroyed when the thread is + * destroyed. */ notmuch_messages_t * notmuch_message_get_replies (notmuch_message_t *message); @@ -1430,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);