This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
NyLPC_cHttpBodyParser.h
00001 #ifndef NyLPC_TcHttpBodyParser_H 00002 #define NyLPC_TcHttpBodyParser_H 00003 #include "NyLPC_cHttpBasicBodyParser.h" 00004 #include "NyLPC_stdlib.h" 00005 00006 00007 00008 #ifdef __cplusplus 00009 extern "C" { 00010 #endif /* __cplusplus */ 00011 00012 00013 typedef struct NyLPC_TcHttpBodyParser NyLPC_TcHttpBodyParser_t; 00014 00015 struct NyLPC_TcHttpBodyParser 00016 { 00017 NyLPC_TcHttpBasicBodyParser_t _super; 00018 NyLPC_TChar* ref_buf; 00019 NyLPC_TUInt16 buf_size; 00020 NyLPC_TUInt16 len; 00021 }; 00022 00023 00024 00025 void NyLPC_cHttpBodyParser_initialize(NyLPC_TcHttpBodyParser_t* i_inst); 00026 void NyLPC_cHttpBodyParser_finalize(NyLPC_TcHttpBodyParser_t* i_inst); 00027 00028 #define NyLPC_cHttpBodyParser_getState(i_inst) NyLPC_cHttpBasicBodyParser_getState(&((i_inst)->_super)) 00029 #define NyLPC_cHttpBodyParser_parseInit(i_inst,i_info) NyLPC_cHttpBasicBodyParser_parseInit(&((i_inst)->_super),(i_info)) 00030 #define NyLPC_cHttpBodyParser_parseFinish(i_inst) NyLPC_cHttpBasicBodyParser_parseFinish(&((i_inst)->_super)) 00031 00032 /** 00033 * ストリームからHTTPBodyを読み出す。 00034 * @param i_out 00035 * 読み出したデータサイズ。戻り値trueの場合のみ有効。0の場合終端。 00036 * @return 00037 * エラーの発生状況 00038 */ 00039 NyLPC_TBool NyLPC_cHttpBodyParser_parseStream(NyLPC_TcHttpBodyParser_t* i_inst,NyLPC_TiHttpPtrStream_t* i_stream,NyLPC_TChar* i_buf,NyLPC_TInt16 i_buf_size,NyLPC_TInt16* i_out); 00040 00041 #ifdef __cplusplus 00042 } 00043 #endif /* __cplusplus */ 00044 00045 #endif
Generated on Tue Jul 12 2022 15:46:15 by 1.7.2