summaryrefslogtreecommitdiffstats
path: root/src/common/url_escape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/url_escape.h')
-rw-r--r--src/common/url_escape.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common/url_escape.h b/src/common/url_escape.h
new file mode 100644
index 000000000..3cb539b10
--- /dev/null
+++ b/src/common/url_escape.h
@@ -0,0 +1,9 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+
+#pragma once
+
+#include <string>
+
+extern std::string url_escape(const std::string& s);
+extern std::string url_unescape(const std::string& s);