Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbedEndpointNetwork mbedEndpointNetworkMJK
Fork of Nanostack_lib by
Diff: inc/socket/socket_security.h
- Revision:
- 11:1b7aaf37a131
- Parent:
- 8:6b2992f0eb06
- Child:
- 12:acef6f596835
--- a/inc/socket/socket_security.h Wed Jun 25 14:47:07 2014 +0000
+++ b/inc/socket/socket_security.h Wed Jun 25 21:05:58 2014 +0000
@@ -7,6 +7,9 @@
#ifndef SOCKET_SECURITY_H_
#define SOCKET_SECURITY_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* \file socket_security.h
* \brief Library Socket Security API.
@@ -75,5 +78,7 @@
* \return -2 Invalid Security Suite
*/
extern int8_t sec_socket_set_chipher_suite_list(uint8_t socket_id, uint8_t security_suites);
-
+#ifdef __cplusplus
+}
+#endif
#endif /* SOCKET_SECURITY_H_ */
