summaryrefslogtreecommitdiff
path: root/src/Misc.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-02-01 21:20:27 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-02-01 21:20:27 (GMT)
commitf86091d421989ead46940cc12b77e48cfb127608 (patch)
tree978f64c6ab2e90789e73ab3af52f9528429fe8a0 /src/Misc.h
parent038da72c61ea6a251d805e2de3662f240da52b02 (diff)
downloadpowder-f86091d421989ead46940cc12b77e48cfb127608.zip
powder-f86091d421989ead46940cc12b77e48cfb127608.tar.gz
Use useragent for version, fix URl encoding
Diffstat (limited to 'src/Misc.h')
-rw-r--r--src/Misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Misc.h b/src/Misc.h
index 2dd96b2..6aff3da 100644
--- a/src/Misc.h
+++ b/src/Misc.h
@@ -69,6 +69,8 @@ int load_string(FILE *f, char *str, int max);
void strcaturl(char *dst, char *src);
+std::string URLEscape(std::string source);
+
void strappend(char *dst, char *src);
void *file_load(char *fn, int *size);