OPENSSL_LH_COMPFUNC

Comparison callback returning <0 / 0 / >0 for two LHASH element pointers.

Synopsis

Declared in <openssl/lhash.h>

typedef int(* OPENSSL_LH_COMPFUNC)(void const*, void const*);

Return Value

Negative, zero, or positive as in strcmp()-style ordering.

Parameters

NameDescription
aFirst element pointer.
bSecond element pointer.