X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=d9f3003fad32381151d92ea9d847d695daf65a77;hp=0dd442d46571e0b5d19e01e0c779f72811d1e7da;hb=ab456541924dcb1e1c6d6c7ba1781011e3453f27;hpb=095d3d7134f5668b96cf1d70997d3f110b03c898 diff --git a/lib/notmuch.h b/lib/notmuch.h index 0dd442d4..d9f3003f 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -431,6 +431,8 @@ notmuch_database_get_path (notmuch_database_t *database); /** * Return the database format version of the given database. + * + * @retval 0 on error */ unsigned int notmuch_database_get_version (notmuch_database_t *database); @@ -444,6 +446,7 @@ notmuch_database_get_version (notmuch_database_t *database); * fail with NOTMUCH_STATUS_UPGRADE_REQUIRED. This always returns * FALSE for a read-only database because there's no way to upgrade a * read-only database. + * */ notmuch_bool_t notmuch_database_needs_upgrade (notmuch_database_t *database);