OSDN Git Service

update libMiMic
[mimic/MiMicSDK.git] / lib / src / http / NyLPC_cHttpStream.h
index 07f48b1..6d8a044 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_TcHttpStream_h\r
 extern "C" {\r
 #endif /* __cplusplus */\r
 \r
-typedef int NyLPC_TcTcpSocket_t;\r
-void NyLPC_cTcpSocket_initialized(void* inst,const char* rb,int l);\r
-void* NyLPC_cTcpSocket_allocSendBuf(void* inst,NyLPC_TUInt16 i_hint,NyLPC_TUInt16* o_len,NyLPC_TUInt32 i_to);\r
-NyLPC_TBool NyLPC_cTcpSocket_psend(void* inst,void* i_buf,NyLPC_TUInt16 i_len,NyLPC_TUInt32 i_to);\r
-NyLPC_TInt32 NyLPC_cTcpSocket_precv(void* i_inst,const void** o_buf_ptr,NyLPC_TUInt32 i_wait_msec);\r
-void NyLPC_cTcpSocket_pseek(void* i_inst,NyLPC_TUInt16 i_seek);\r
+typedef int NyLPC_TiMiMicIpTcpSocket_t;\r
+void NyLPC_iTcpSocket_initialized(void* inst,const char* rb,int l);\r
+void* NyLPC_iTcpSocket_allocSendBuf(void* inst,NyLPC_TUInt16 i_hint,NyLPC_TUInt16* o_len,NyLPC_TUInt32 i_to);\r
+NyLPC_TBool NyLPC_iTcpSocket_psend(void* inst,void* i_buf,NyLPC_TUInt16 i_len,NyLPC_TUInt32 i_to);\r
+NyLPC_TInt32 NyLPC_iTcpSocket_precv(void* i_inst,const void** o_buf_ptr,NyLPC_TUInt32 i_wait_msec);\r
+void NyLPC_iTcpSocket_pseek(void* i_inst,NyLPC_TUInt16 i_seek);\r
 \r
 #ifdef __cplusplus\r
 }\r
 #endif /* __cplusplus */\r
 \r
 #else\r
-#include "../uip/NyLPC_cTcpSocket.h"\r
+#include "../netif/NyLPC_iTcpSocket.h"\r
 #endif\r
 \r
 #ifdef __cplusplus\r
@@ -64,13 +64,13 @@ typedef struct NyLPC_TcHttpStream NyLPC_TcHttpStream_t;
 \r
 struct NyLPC_TcHttpStream\r
 {\r
-       NyLPC_TiHttpPtrStream_t super;\r
-       NyLPC_TcTcpSocket_t* _ref_sock;\r
-       NyLPC_TUInt8* txb;//送信バッファ\r
-       NyLPC_TUInt16 txb_size;//送信バッファサイズ\r
-       NyLPC_TUInt16 tx_len;  //送信サイズ\r
-       NyLPC_TiHttpPtrStream_ET re_type;\r
-       NyLPC_TiHttpPtrStream_ET we_type;\r
+    NyLPC_TiHttpPtrStream_t super;\r
+    NyLPC_TiTcpSocket_t* _ref_sock;\r
+    NyLPC_TUInt8* txb;//送信バッファ\r
+    NyLPC_TUInt16 txb_size;//送信バッファサイズ\r
+    NyLPC_TUInt16 tx_len;  //送信サイズ\r
+    NyLPC_TiHttpPtrStream_ET re_type;\r
+    NyLPC_TiHttpPtrStream_ET we_type;\r
 };\r
 \r
 \r
@@ -80,7 +80,7 @@ struct NyLPC_TcHttpStream
  * このインスタンスは、NyLPC_TiHttpPtrStream_TInterfaceインタフェイスを提供します。\r
  * @\r
  */\r
-NyLPC_TBool NyLPC_cHttpStream_initialize(NyLPC_TcHttpStream_t* i_inst,NyLPC_TcTcpSocket_t* i_ref_sock);\r
+NyLPC_TBool NyLPC_cHttpStream_initialize(NyLPC_TcHttpStream_t* i_inst,NyLPC_TiTcpSocket_t* i_ref_sock);\r
 \r
 void NyLPC_cHttpStream_finalize(NyLPC_TcHttpStream_t* i_inst);\r
 \r