components/openssl: add extern C symbol

This commit is contained in:
dongheng
2016-09-23 15:18:14 +08:00
parent 12b72e91af
commit 83aea6c833
15 changed files with 111 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
#ifndef _SSL_STACK_H_
#define _SSL_STACK_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "ssl_types.h"
/**
@@ -30,4 +34,8 @@ OPENSSL_STACK *OPENSSL_sk_new_null(void);
*/
void OPENSSL_sk_free(OPENSSL_STACK *stack);
#ifdef __cplusplus
}
#endif
#endif