mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
34 lines
564 B
C
34 lines
564 B
C
#ifndef _SSL_STACK_H_
|
|
#define _SSL_STACK_H_
|
|
|
|
#include "ssl_types.h"
|
|
|
|
/**
|
|
* @brief create a openssl stack object
|
|
*
|
|
* @param c - stack function
|
|
*
|
|
* @return openssl stack object point
|
|
*/
|
|
OPENSSL_STACK* OPENSSL_sk_new(OPENSSL_sk_compfunc c);
|
|
|
|
/**
|
|
* @brief create a NULL function openssl stack object
|
|
*
|
|
* @param none
|
|
*
|
|
* @return openssl stack object point
|
|
*/
|
|
OPENSSL_STACK *OPENSSL_sk_new_null(void);
|
|
|
|
/**
|
|
* @brief free openssl stack object
|
|
*
|
|
* @param openssl stack object point
|
|
*
|
|
* @return none
|
|
*/
|
|
void OPENSSL_sk_free(OPENSSL_STACK *stack);
|
|
|
|
#endif
|