Insert data before index where (appending if where is out of range).

Synopsis

Declared in <openssl/stack.h>

int
OPENSSL_sk_insert(
    OPENSSL_STACK* sk,
    void const* data,
    int where);

Return Value

New number of elements, or 0 on failure.

Parameters

Name

Description

sk

Stack to modify.

data

Element pointer to store (not copied).

where

Insertion index.

Created with MrDocs