X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;fp=lib%2Fnotmuch.h;h=b5688087b7df05066883851e7f6ef6ad76d0663b;hp=db86ffc003d2bea735b6bc2daea19fc28fdfd62b;hb=13efbd0e1c88fcbdb48b4c30c7852c5bf1fbd0b7;hpb=f0717aa380cfa84c1973f7b03948d93b261a73fe diff --git a/lib/notmuch.h b/lib/notmuch.h index db86ffc0..b5688087 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -882,6 +882,12 @@ notmuch_database_get_all_tags (notmuch_database_t *db); /** * Reopen an open notmuch database. * + * @param [in] db open notmuch database + * @param [in] mode mode (read only or read-write) for reopened database. + * + * @retval #NOTMUCH_STATUS_SUCCESS + * @retval #NOTMUCH_STATUS_ILLEGAL_ARGUMENT The passed database was not open. + * @retval #NOTMUCH_STATUS_XAPIAN_EXCEPTION A Xapian exception occured */ notmuch_status_t notmuch_database_reopen (notmuch_database_t *db, notmuch_database_mode_t mode);