Made headers compatible with C++.
This commit is contained in:
parent
ee15f235c9
commit
042986b989
10 changed files with 80 additions and 0 deletions
|
|
@ -35,6 +35,10 @@
|
|||
#include "bearssl_rand.h"
|
||||
#include "bearssl_x509.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/** \file bearssl_ssl.h
|
||||
*
|
||||
* # SSL
|
||||
|
|
@ -4065,4 +4069,8 @@ int br_sslio_close(br_sslio_context *cc);
|
|||
#define BR_ALERT_UNSUPPORTED_EXTENSION 110
|
||||
#define BR_ALERT_NO_APPLICATION_PROTOCOL 120
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue