URLEncodeString impl

Implements URLEncodeString.

Summary
URLEncodeString implImplements URLEncodeString.
CopyrightThis program is free software.
Files
C-kern/api/string/urlencode_string.hHeader file URLEncodeString.
C-kern/string/urlencode_string.cImplementation file URLEncodeString impl.
string_t
urlencoding
s_isurlencodeTable of 256 octets (first are 128 ascii codes).
test

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2011 Jörg Seebohn

Files

C-kern/api/string/urlencode_string.h

Header file URLEncodeString.

C-kern/string/urlencode_string.c

Implementation file URLEncodeString impl.

string_t

Summary
urlencoding
s_isurlencodeTable of 256 octets (first are 128 ascii codes).
test

urlencoding

s_isurlencode

static const uint8_t s_isurlencode[256]

Table of 256 octets (first are 128 ascii codes).  A value of 2 indicates that the corresponding character has to be encoded.  All other values are 0.

test

Offers interface to encode/decode strings format suitable for URLs.
Implements URLEncodeString.
static const uint8_t s_isurlencode[256]
Table of 256 octets (first are 128 ascii codes).
Close