summaryrefslogtreecommitdiffstats
path: root/libmpdemux/url.h
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-14 23:48:47 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-14 23:48:47 +0000
commit24c6f11c8b8d08cb98648b324098f7f8c3f0bd03 (patch)
tree046487c11f8df1edb01fda3e1e58c8da5e69ad85 /libmpdemux/url.h
parentd6d9a909f05c124098f92e74b2fb2fca31e4e534 (diff)
downloadmpv-24c6f11c8b8d08cb98648b324098f7f8c3f0bd03.tar.bz2
mpv-24c6f11c8b8d08cb98648b324098f7f8c3f0bd03.tar.xz
Added 2 functions to escape/unescape the url as described in the RFC 2396.
Code borrowed from ASFRecorder. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3497 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/url.h')
-rw-r--r--libmpdemux/url.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/url.h b/libmpdemux/url.h
index 0fe5cba491..a7a9e1f545 100644
--- a/libmpdemux/url.h
+++ b/libmpdemux/url.h
@@ -21,4 +21,7 @@ URL_t* url_new(char* url);
URL_t* url_copy(URL_t* url);
void url_free(URL_t* url);
+void url_unescape_string(char *outbuf, char *inbuf);
+void url_escape_string(char *outbuf, char *inbuf);
+
#endif