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