aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hsrv.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-08-31 14:16:07 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-08-31 14:16:07 +0200
commitdc011f99aed9407c8319b1b70a81f56ad2f02bc8 (patch)
treef463730cee8be5a4a352dcc989e9aebd1be5d810 /src/afb-hsrv.h
parent7c7d610ccbd7e30204501622ebee6690aef5af0c (diff)
Add the option roothttp
This option tells to the HTTP part of the binder the location of the root directory for HTTP. Change-Id: I080adcaaee952e375128eff3898f29332939c5f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hsrv.h')
-rw-r--r--src/afb-hsrv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hsrv.h b/src/afb-hsrv.h
index 0f469a89..532af7d7 100644
--- a/src/afb-hsrv.h
+++ b/src/afb-hsrv.h
@@ -28,7 +28,7 @@ extern void afb_hsrv_put(struct afb_hsrv *hsrv);
extern void afb_hsrv_stop(struct afb_hsrv *hsrv);
extern int afb_hsrv_start(struct afb_hsrv *hsrv, uint16_t port, unsigned int connection_timeout);
extern int afb_hsrv_set_cache_timeout(struct afb_hsrv *hsrv, int duration);
-extern int afb_hsrv_add_alias(struct afb_hsrv *hsrv, const char *prefix, const char *alias, int priority, int relax);
+extern int afb_hsrv_add_alias(struct afb_hsrv *hsrv, const char *prefix, int dirfd, const char *alias, int priority, int relax);
extern int afb_hsrv_add_alias_root(struct afb_hsrv *hsrv, const char *prefix, struct locale_root *root, int priority, int relax);
extern int afb_hsrv_add_handler(struct afb_hsrv *hsrv, const char *prefix, int (*handler) (struct afb_hreq *, void *), void *data, int priority);