Pop and free every element, then free the stack.

Synopsis

Declared in <openssl/stack.h>

void
OPENSSL_sk_pop_free(
    OPENSSL_STACK* st,
    void(* func)(void*));

Parameters

Name

Description

st

Stack to destroy, or NULL.

func

Destructor applied to each element (must accept the element pointer).

Created with MrDocs