aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-29 23:44:51 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-29 23:47:36 +0200
commita4487d8a46d3e4400bf73ce817fa1a34cde31a6f (patch)
tree8c1c7e7001b9b53037b66d7cf8aef7d6bed1219b /src/afb-hreq.h
parent26bca5f8a8c6f9403a84945a5cd914b6da948efd (diff)
redirect with the query
Change-Id: I36c6c6cbc62217ff0d79e004d9b40aa77e3fa0f4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hreq.h')
-rw-r--r--src/afb-hreq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hreq.h b/src/afb-hreq.h
index 8e12b62d..836f4703 100644
--- a/src/afb-hreq.h
+++ b/src/afb-hreq.h
@@ -58,7 +58,7 @@ extern int afb_hreq_reply_file_if_exist(struct afb_hreq *request, int dirfd, con
extern int afb_hreq_reply_file(struct afb_hreq *request, int dirfd, const char *filename);
-extern int afb_hreq_redirect_to(struct afb_hreq *request, const char *url);
+extern int afb_hreq_redirect_to(struct afb_hreq *request, const char *url, int add_query_part);
extern const char *afb_hreq_get_cookie(struct afb_hreq *hreq, const char *name);