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