cctools
url_encode.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2008- The University of Notre Dame
3 This software is distributed under the GNU General Public License.
4 See the file COPYING for details.
5 */
6 
7 #ifndef URL_ENCODE_H
8 #define URL_ENCODE_H
9 
25 void url_encode(const char *source, char *target, int length);
26 
36 void url_decode(const char *source, char *target, int length);
37 
38 #endif
void url_decode(const char *source, char *target, int length)
Decodes an RFC 2396 string into plain ASCII.
void url_encode(const char *source, char *target, int length)
Encodes a plain ASCII string into the percent-hex form of RFC 2396.