Allocate a new LHASH table using hash function h and compare function c.
Synopsis
Declared in <openssl/lhash.h>
OPENSSL_LHASH*
OPENSSL_LH_new(
OPENSSL_LH_HASHFUNC h,
OPENSSL_LH_COMPFUNC c);
Return Value
Newly allocated OPENSSL_LHASH, or NULL on failure.
Parameters
Name |
Description |
h |
Hash callback for elements stored in the table. |
c |
Comparison callback returning 0 for equal elements. |
Created with MrDocs