summaryrefslogtreecommitdiffstats
path: root/src/url.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-11-07 12:22:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-11-07 12:22:44 +0000
commit1e6c93250172946eeb38e94a92a1fd12c9d3011e (patch)
tree8ca5e16dfc7ad6b3bf2738ca0a48408a950f8f7e /src/url.h
parentUpdate watch file (diff)
downloadnetdata-1e6c93250172946eeb38e94a92a1fd12c9d3011e.tar.xz
netdata-1e6c93250172946eeb38e94a92a1fd12c9d3011e.zip
Merging upstream version 1.11.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/url.h')
-rw-r--r--src/url.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/url.h b/src/url.h
deleted file mode 100644
index fa44d49a8..000000000
--- a/src/url.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef NETDATA_URL_H
-#define NETDATA_URL_H 1
-
-// ----------------------------------------------------------------------------
-// URL encode / decode
-// code from: http://www.geekhideout.com/urlcode.shtml
-
-/* Converts a hex character to its integer value */
-extern char from_hex(char ch);
-
-/* Converts an integer value to its hex character*/
-extern char to_hex(char code);
-
-/* Returns a url-encoded version of str */
-/* IMPORTANT: be sure to free() the returned string after use */
-extern char *url_encode(char *str);
-
-/* Returns a url-decoded version of str */
-/* IMPORTANT: be sure to free() the returned string after use */
-extern char *url_decode(char *str);
-
-extern char *url_decode_r(char *to, char *url, size_t size);
-
-#endif /* NETDATA_URL_H */