From dc011f99aed9407c8319b1b70a81f56ad2f02bc8 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Wed, 31 Aug 2016 14:16:07 +0200 Subject: Add the option roothttp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/afb-hsrv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/afb-hsrv.h') 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); -- cgit 1.2.3-korg