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

Name

Description

a

First element pointer (as stored in the stack).

b

Second element pointer (as stored in the stack).

Created with MrDocs