Search for data and report how many matching elements exist.
Synopsis
Declared in <openssl/stack.h>
int
OPENSSL_sk_find_all(
OPENSSL_STACK* st,
void const* data,
int* pnum);
Return Value
Zero‐based index of a match, or ‐1 if not found.
Parameters
Name |
Description |
st |
Stack to search (sorted when a comparison function is set). |
data |
Value to locate. |
pnum |
Optional address updated to the number of matches (1 or 0 when no comparison function is set). |
Created with MrDocs