Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
NyLPC_cUrlEncode.h
00001 /* 00002 * NyLPC_cUrlEncode.h 00003 * 00004 * Created on: 2013/06/11 00005 * Author: nyatla 00006 */ 00007 00008 #ifndef NYLPC_CURLENCODE_H_ 00009 #define NYLPC_CURLENCODE_H_ 00010 00011 #include "NyLPC_stdlib.h" 00012 #include <stdarg.h> 00013 #include <ctype.h> 00014 00015 typedef struct NyLPC_TcUrlEncode NyLPC_TcUrlEncode_t; 00016 00017 typedef NyLPC_TUInt32 NyLPC_TcUrlEncode_ST; 00018 #define NyLPC_TcUrlEncode_ST_NEXT 2 00019 #define NyLPC_TcUrlEncode_ST_DONE 1 00020 #define NyLPC_TcUrlEncode_ST_ERROR 0 00021 00022 struct NyLPC_TcUrlEncode 00023 { 00024 /**一時バッファ */ 00025 NyLPC_TChar v; 00026 /** バッファに蓄積してる長さ */ 00027 NyLPC_TInt8 _len; 00028 }; 00029 00030 NyLPC_TBool NyLPC_cUrlEncode_initialize(NyLPC_TcUrlEncode_t* i_inst); 00031 00032 #define NyLPC_cUrlEncode_finalize(i_inst) 00033 00034 #define NyLPC_cUrlEncode_reset(i_inst) (i_inst)->_len=0 00035 00036 00037 NyLPC_TcUrlEncode_ST NyLPC_cUrlEncode_decode(NyLPC_TcUrlEncode_t* i_inst,NyLPC_TChar c,NyLPC_TChar* out); 00038 00039 00040 #endif /* NYLPC_CURLENCODE_H_ */
Generated on Tue Jul 12 2022 16:22:59 by
