OPENSSL_sk_compfunc

Comparison callback used to order or search OPENSSL_STACK elements.

Synopsis

Declared in <openssl/stack.h>

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

Return Value

Negative, zero, or positive like strcmp() when comparing a to b.

Parameters

NameDescription
aFirst element pointer (as stored in the stack).
bSecond element pointer (as stored in the stack).