X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d6b2ae5fa68b9a82ffc006c233aef64c5cdb3bd2..669cbe97d3a0db2d441ee123466cda091ec9b6d5:/h/utils.h?ds=sidebyside diff --git a/h/utils.h b/h/utils.h index cd696784..00249be4 100644 --- a/h/utils.h +++ b/h/utils.h @@ -57,3 +57,11 @@ char *nmh_strcasestr (const char *, const char *); * Returns 1 if the string contains an 8-bit character, 0 if it does not. */ int contains8bit(const char *start, const char *end); + +/* + * Compares prior version of nmh with current version. Returns 1 + * if they compare the be the same, 0 if not. + * + * older - 0 for difference comparison, 1 for only if older + */ +int nmh_version_changed (int older);