Sergio Scaglia / Nanostack_lib

Dependents:   mbedEndpointNetwork mbedEndpointNetworkMJK

Fork of Nanostack_lib by Sensinode

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_ */