summaryrefslogtreecommitdiff
path: root/http-internal.h
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2013-03-01 12:00:24 +0400
committerAzat Khuzhin <a3at.mail@gmail.com>2013-03-01 12:00:24 +0400
commitde8101a884ae6d815d6006829fa4d3c3e8649a52 (patch)
treed6d041f0356be57cc2ed768bbfd46b43a757c6b4 /http-internal.h
parente1903e3ace4874dcb32458cd187f7361edf1962c (diff)
downloadlibevent-de8101a884ae6d815d6006829fa4d3c3e8649a52.tar.gz
Move prototype of evhttp_decode_uri_internal() to http-internal.h
Make it non static, that can be called from tests
Diffstat (limited to 'http-internal.h')
-rw-r--r--http-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/http-internal.h b/http-internal.h
index 83aa6ef1..0d4475f5 100644
--- a/http-internal.h
+++ b/http-internal.h
@@ -197,4 +197,7 @@ void evhttp_start_read_(struct evhttp_connection *);
void evhttp_response_code_(struct evhttp_request *, int, const char *);
void evhttp_send_page_(struct evhttp_request *, struct evbuffer *);
+int evhttp_decode_uri_internal(const char *uri, size_t length,
+ char *ret, int decode_plus);
+
#endif /* _HTTP_H */