Search for data; if absent, return the insertion index of the nearest greater element.
Declared in <openssl/stack.h>
int
OPENSSL_sk_find_ex(
OPENSSL_STACK* st,
void const* data);
Matching index, or a negative encoding of the insertion point when not found.
| Name | Description |
|---|---|
| st | Stack to search (sorted when a comparison function is set). |
| data | Key passed to the comparison function. |