--- doc/mcrypt.3~orig 2002-12-19 12:54:53.000000000 +0100 +++ doc/mcrypt.3 2002-12-19 12:56:27.000000000 +0100 @@ -502,7 +502,14 @@ internally in libltdl. Except for the dynamic module loading libmcrypt is thread safe. +.B const char *mcrypt_check_version(const char *min_version); + +Check that the the version of the library is at minimum the requested one +and return the version string; return NULL if the condition is not +satisfied. If a NULL is passed to this function, no check is done, +but the version string is simply returned. .LP +.SH EXAMPLES Some example programs follow here. Compile as "cc prog.c -lmcrypt", or "cc prog.c -lmcrypt -lltdl" depending on your installation. Libltdl is used for opening dynamic libraries (modules).