diff --git a/NEWS b/NEWS index a27d00f..b3dc95b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +* (May 29 2009) Daniel Stenberg: + + - Updated the knownhost API and there are now 9 functions, and all of them + have man pages. The libssh2.h now defines HAVE_LIBSSH2_KNOWNHOST_API to + ease things for applications to check for the correct release before trying + to use it. + * (May 23 2009) Daniel Stenberg: - Anonymous bug report #2795816 revealed that doing subsequent diff --git a/include/libssh2.h b/include/libssh2.h index 9832568..169f704 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -669,6 +669,7 @@ LIBSSH2_API int libssh2_base64_decode(LIBSSH2_SESSION *session, char **dest, LIBSSH2_API const char *libssh2_version(int req_version_num); +#define HAVE_LIBSSH2_KNOWNHOST_API 0x010101 /* since 1.1.1 */ struct libssh2_knownhost { unsigned int magic; /* magic stored by the library */