aboutsummaryrefslogtreecommitdiffstats
path: root/include/local-def.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-02-15 11:46:37 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-02-15 11:46:37 +0100
commit1edf05100332c85ee28abc0754fcb825648157c4 (patch)
tree07f81dfd5dd196eabeab60aa78623e2d9a946899 /include/local-def.h
parentd11b338cea727ef1463c06b94b89653d1a168727 (diff)
add option for signaling readyness
Change-Id: I22e64d41f51683c6c15df77b546e3cc98f427eec Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/local-def.h')
-rw-r--r--include/local-def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/local-def.h b/include/local-def.h
index 7ad4e705..01f10626 100644
--- a/include/local-def.h
+++ b/include/local-def.h
@@ -265,6 +265,7 @@ typedef struct {
void *httpd; // anonymous structure for httpd handler
int fakemod; // respond to GET/POST request without interacting with sndboard
int forceexit; // when autoconfig from script force exit before starting server
+ int readyfd; // a #fd to signal when ready to serve
AFB_plugin **plugins; // pointer to REST/API plugins
magic_t magic; // Mime type file magic lib
sigjmp_buf restartCkpt; // context save for restart set/longjmp