Added const to some pointer variables

This commit is contained in:
Dan Fandrich 2008-10-08 01:17:51 +00:00
parent 79fc481a2b
commit 95456b8e78
4 changed files with 28 additions and 23 deletions

View file

@ -138,6 +138,12 @@ char *curl_easy_escape(CURL *handle, const char *string, int inlength)
return ns;
}
/*
* Unescapes the given URL escaped string of given length. Returns a
* pointer to a malloced string with length given in *olen.
* If length == 0, the length is assumed to be strlen(string).
* If olen == NULL, no output length is stored.
*/
char *curl_easy_unescape(CURL *handle, const char *string, int length,
int *olen)
{