aboutsummaryrefslogtreecommitdiffstats
path: root/src/evmgr.h
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-02-19 09:13:26 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-22 12:21:54 +0100
commitba693048ce1a2b629bfed11fceacabe7edc18a78 (patch)
tree7cad463bf3186fbe7a70ebf1fcbb740681ff9011 /src/evmgr.h
parent8538d642f01c8ee185cb356eba2c2f19cf4cea58 (diff)
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>
Diffstat (limited to 'src/evmgr.h')
-rw-r--r--src/evmgr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/evmgr.h b/src/evmgr.h
index c78ea33f..e7af226f 100644
--- a/src/evmgr.h
+++ b/src/evmgr.h
@@ -28,3 +28,8 @@ extern int evmgr_release_if(struct evmgr *evmgr, void *holder);
extern int evmgr_try_hold(struct evmgr *evmgr, void *holder);
extern void *evmgr_holder(struct evmgr *evmgr);
extern int evmgr_create(struct evmgr **result);
+
+#if WITH_FDEV_EPOLL
+struct fdev_epoll;
+extern struct fdev_epoll *evmgr_get_fdev_epoll(struct evmgr *evmgr);
+#endif