Update from 1.0.0-stable
[oweals/openssl.git] / doc / crypto / lhash.pod
index 0702c21f325f27a4eec530925a0ce7558dd4d0f6..dcdbb43a8ed6dcc9c22f67b1b594b11d53934e6b 100644 (file)
@@ -120,7 +120,7 @@ lh_doall() will, for every entry in the hash table, call B<func> with
 the data item as its parameter.  For lh_doall() and lh_doall_arg(),
 function pointer casting should be avoided in the callbacks (see
 B<NOTE>) - instead, either declare the callbacks to match the
-prototype required in lh_new() or use the decare/implement macros to
+prototype required in lh_new() or use the declare/implement macros to
 create type-safe wrappers that cast variables prior to calling your
 type-specific callbacks.  An example of this is illustrated here where
 the callback is used to cleanup resources for items in the hash table
@@ -286,4 +286,9 @@ lh_error() was added in SSLeay 0.9.1b.
 
 This manpage is derived from the SSLeay documentation.
 
+In OpenSSL 0.9.7, all lhash functions that were passed function pointers
+were changed for better type safety, and the function types LHASH_COMP_FN_TYPE,
+LHASH_HASH_FN_TYPE, LHASH_DOALL_FN_TYPE and LHASH_DOALL_ARG_FN_TYPE 
+became available.
+
 =cut