summaryrefslogtreecommitdiff
path: root/escape.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-22 21:55:26 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-22 21:56:20 +0200
commit51993c5f565db1984c3b2b6de6fc0bf70d710f98 (patch)
tree8c12ae6edf3073e303b05f9ab407d12f6185f93f /escape.h
parent42589a768d7c83e06724299c9f5b317748ad0334 (diff)
added uri support to plt_insert_file_int, improved pls parser
Diffstat (limited to 'escape.h')
-rw-r--r--escape.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/escape.h b/escape.h
new file mode 100644
index 00000000..7d3be795
--- /dev/null
+++ b/escape.h
@@ -0,0 +1,29 @@
+/*
+ DeaDBeeF -- the music player
+ Copyright (C) 2009-2014 Alexey Yakovenko and other contributors
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+
+ 3. This notice may not be removed or altered from any source distribution.
+*/
+#ifndef __ESCAPE_H
+#define __ESCAPE_H
+
+char *uri_escape(const char *string, int inlength);
+char *uri_unescape(const char *string, int inlength);
+
+#endif