aboutsummaryrefslogtreecommitdiffstats
path: root/src/jobs.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-03-23 18:58:37 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-06-13 17:14:13 +0200
commitcab05ba72abeb335b456b0820e053c94b91986e7 (patch)
tree7052b78f77089bb4a3a42e0f215cd444d14f72eb /src/jobs.h
parente7e42ce9196e865a2dfd5a460932b0357885e603 (diff)
jobs: Switch to fdev_epoll instead of sd_event
Use by default an epoll of jobs for handling HTTP and websockets. The sd_event loop remains available (to be checked). Change-Id: Iaaad005c9880ba1818936a93c8626490666c9eec Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/jobs.h')
-rw-r--r--src/jobs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jobs.h b/src/jobs.h
index aa7b4c86..8ad6efc1 100644
--- a/src/jobs.h
+++ b/src/jobs.h
@@ -17,6 +17,7 @@
#pragma once
+struct fdev_epoll;
struct sd_event;
struct jobloop;
@@ -41,6 +42,7 @@ extern int jobs_call(
void *arg);
extern struct sd_event *jobs_get_sd_event();
+extern struct fdev_epoll *jobs_get_fdev_epoll();
extern void jobs_terminate();