OSDN Git Service

update libMiMic
[mimic/MiMicSDK.git] / lib / src / net / httpd / mod / NyLPC_cModUPnPDevice.h
index 7403180..d530ef4 100644 (file)
@@ -19,8 +19,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
  *\r
  * For further information please contact.\r
- *     http://nyatla.jp/\r
- *     <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>\r
+ *  http://nyatla.jp/\r
+ *  <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>\r
  *\r
  *********************************************************************************/\r
 #ifndef NYLPC_CMODUPNPDEVICE_H_\r
 \r
 #include "NyLPC_stdlib.h"\r
 #include "NyLPC_http.h"\r
-#include "../../NyLPC_cNet.h"\r
 \r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif /* __cplusplus */\r
 /**\r
  * NyLPC_cUPnPクラスと協調して、UPnPDeviceのHTTP接続を処理します。\r
  * 提供するサービスは以下の通りです。\r
  * 上位8bitがデバイスインデックス、下位8bitがサービスインデックスです。\r
  * 例えば以下の構造のデバイスでは、サービス番号は以下のようになります。\r
  * <pre>\r
- * dev:a               0x1n (0<=n<=0xf)\r
- *  +-dev:b    0x2n (0<=n<=0xf)\r
- *  |+-dev:c   0x3n (0<=n<=0xf)\r
- *  +-dev:d            0x4n (0<=n<=0xf)\r
+ * dev:a        0x1n (0<=n<=0xf)\r
+ *  +-dev:b     0x2n (0<=n<=0xf)\r
+ *  |+-dev:c    0x3n (0<=n<=0xf)\r
+ *  +-dev:d     0x4n (0<=n<=0xf)\r
  * </pre>\r
  */\r
 typedef struct NyLPC_TcModUPnPDevice NyLPC_TcModUPnPDevice_t;\r
 \r
 struct NyLPC_TcModUPnPDevice\r
 {\r
-       NyLPC_TcModRomFiles_t super;\r
-       const NyLPC_TcUPnP_t* _ref_upnp;\r
+    NyLPC_TcModRomFiles_t super;\r
+    const NyLPC_TcUPnP_t* _ref_upnp;\r
 };\r
 \r
 /**\r
@@ -87,4 +90,7 @@ NyLPC_TBool NyLPC_cModUPnPDevice_canHandle(NyLPC_TcModUPnPDevice_t* i_inst,NyLPC
  */\r
 NyLPC_TBool NyLPC_cModUPnPDevice_execute(NyLPC_TcModUPnPDevice_t* i_inst,NyLPC_TcHttpdConnection_t* i_connection);\r
 \r
+#ifdef __cplusplus\r
+}\r
+#endif /* __cplusplus */\r
 #endif\r