From f8d883355d8a0965534ef8a6da99bd7195cf56d0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 22 Mar 2001 11:40:58 +0000 Subject: the new escape/unescape function setup --- include/curl/curl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/curl/curl.h b/include/curl/curl.h index b98f3050f..29f77db5a 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -475,6 +475,11 @@ char *curl_getenv(char *variable); /* Returns a static ascii string of the libcurl version. */ char *curl_version(void); +/* Escape and unescape URL encoding in strings. The functions return a new + * allocated string or NULL if an error occurred. */ +char *curl_escape(char *string, int length); +char *curl_unescape(char *string, int length); + /* This is the version number */ #define LIBCURL_VERSION "7.7-beta5" #define LIBCURL_VERSION_NUM 0x070700 -- cgit v1.2.3