aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-22 11:40:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-22 11:40:58 +0000
commitf8d883355d8a0965534ef8a6da99bd7195cf56d0 (patch)
tree737bc2b5ab37c2537a98aa82c2ee10dd6889dac3 /include
parentc23df41d8315ac2e939f330358eccb2a844282a9 (diff)
the new escape/unescape function setup
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h5
1 files changed, 5 insertions, 0 deletions
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