OSDN Git Service

1.change core file extension to .c from .cpp
[mimic/MiMicSDK.git] / lib / src / net / httpd / NyLPC_cHttpdThread_protected.h
index eee96bc..ce95be9 100644 (file)
 #include "NyLPC_stdlib.h"\r
 #include "../NyLPC_cNetConfig.h"\r
 #include "NyLPC_cHttpdConnection.h"\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif /* __cplusplus */\r
+\r
 #ifndef DEFINE_NyLPC_TcHttpd_t\r
        typedef struct NyLPC_TcHttpd NyLPC_TcHttpd_t;\r
        #define DEFINE_NyLPC_TcHttpd_t\r
@@ -34,4 +39,7 @@ void NyLPC_cHttpdThread_initialize(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcHttpd_t
 void NyLPC_cHttpdThread_finalize(NyLPC_TcHttpdThread_t* i_inst);\r
 NyLPC_TBool NyLPC_cHttpdThread_start(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcTcpListener_t* i_listener);\r
 \r
+#ifdef __cplusplus\r
+}\r
+#endif /* __cplusplus */\r
 #endif /* NYLPC_TCHTTPDTHREAD_H_ */\r