[Easy-Setup] Changed the enrollee's cpp files to c files
[platform/upstream/iotivity.git] / service / easy-setup / enrollee / src / softap.h
index 3ae3c51..f0bc68f 100644 (file)
 #include "escommon.h"
 #include "networkhandler.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @file
  *
@@ -68,10 +72,9 @@ DeviceRole ESSoftapHost();
 void ESCreateSoftap(const char * ssid, const char* passwd, NetworkEventCallback cb);
 
 
-//#ifdef __cplusplus
-//}
-//#endif // __cplusplus
-
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* EASYSETUP_ENROLLEE_SOFTAP_H__ */