Allow to remove systemd library
authorJose Bollo <jose.bollo@iot.bzh>
Tue, 19 Feb 2019 08:13:26 +0000 (09:13 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 22 Mar 2019 11:21:54 +0000 (12:21 +0100)
commitba693048ce1a2b629bfed11fceacabe7edc18a78
tree7cad463bf3186fbe7a70ebf1fcbb740681ff9011
parent8538d642f01c8ee185cb356eba2c2f19cf4cea58
Allow to remove systemd library

This change allows to compile a binder
that doesn't use libsystemd.

The restriction implied is that the neither
the systemd event loop nor the systemd dbus
facilities are availables. Consequently,
the dbus transparancy of APIs isn't available.

Also the work isn't fully complete because
afb-ws-client doesn't handle the removal of
libsystemd.

A more general work still have to be made to
allow the binder to run as library using an
external event loop.

Change-Id: I27a80862868b9c5a0453011a1d8aa3ce75cb5f6e
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
15 files changed:
CMakeLists.txt
coverage/bin/Makefile
src/CMakeLists.txt
src/afb-export.c
src/afb-fdev.c
src/afb-socket.c
src/evmgr.c
src/evmgr.h
src/fdev-systemd.h
src/jobs.c
src/jobs.h
src/main-afb-daemon.c
src/systemd.c
src/systemd.h
src/watchdog.c