]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib: add regression test for n_m_get_date; clarify API
[notmuch] / lib / notmuch.h
index 5c17ec7cbb3329e229021f04722c3c7c3cbba65e..50d804fa99f935fcbf00d5454b3639675aa687ef 100644 (file)
@@ -1448,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);
@@ -1501,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);