Allow to remove libmicrohttpd (HTTP server)
authorJose Bollo <jose.bollo@iot.bzh>
Thu, 21 Feb 2019 13:39:59 +0000 (14:39 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 22 Mar 2019 11:21:54 +0000 (12:21 +0100)
commit0e2b5f5b7fa3a09abf61c8253efce7c7f2b4c444
tree85f54ba7b0301245553e86704d28dfccaa031013
parentf2f086fa99e47ca8b3001831ea3548f8758e1222
Allow to remove libmicrohttpd (HTTP server)

This allows to remove the dependency to libmicrohttpd.
At the end, this will allow either to replace it with
an other HTTP library or to fully remove the HTTP server.

It also makes a tiny improvement of the conditionnal compilation.

Change-Id: I24106659af04453b6693f2cda0939a601391202f
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
15 files changed:
CMakeLists.txt
src/CMakeLists.txt
src/afb-args.c
src/afb-hreq.c
src/afb-hreq.h
src/afb-hsrv.c
src/afb-hsrv.h
src/afb-hswitch.c
src/afb-hswitch.h
src/afb-method.c
src/afb-method.h
src/afb-websock.c
src/afb-websock.h
src/evmgr.c
src/main-afb-daemon.c