summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-08-29 11:17:02 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-08-29 11:17:02 +0200
commit33c28e126df60d8f7c416e762314d9da79f53448 (patch)
tree09fddad134904b345db94e02ccfc6e88a845de46
parentb4d1733a12d6aa1e2f349dbd1dc38943fd571ada (diff)
afb-config: update the output of the config
Change-Id: I1dbc3c0b0c84cb34da1c8851044a6e72e4dfbd34 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-config.c10
-rw-r--r--src/afb-config.h2
2 files changed, 11 insertions, 1 deletions
diff --git a/src/afb-config.c b/src/afb-config.c
index 3a50e417..25f44cd8 100644
--- a/src/afb-config.c
+++ b/src/afb-config.c
@@ -682,20 +682,28 @@ void afb_config_dump(struct afb_config *config)
L(ws_servers)
L(so_bindings)
L(ldpaths)
+ L(weak_ldpaths)
L(calls)
V(exec)
D(httpdPort)
- B(background)
D(cacheTimeout)
D(apiTimeout)
D(cntxTimeout)
D(nbSessionMax)
+
E(mode,mode_desc)
E(tracereq,tracereq_desc)
E(traceditf,traceditf_desc)
+ E(tracesvc,tracesvc_desc)
+ E(traceevt,traceevt_desc)
+
+ B(no_ldpaths)
B(noHttpd)
+ B(background)
+ B(monitoring)
+ B(random_token)
P("---END-OF-CONFIG---\n");
#undef V
diff --git a/src/afb-config.h b/src/afb-config.h
index 56bfa9a5..792a6b8f 100644
--- a/src/afb-config.h
+++ b/src/afb-config.h
@@ -54,6 +54,8 @@ struct afb_config {
int apiTimeout;
int cntxTimeout; // Client Session Context timeout
int nbSessionMax; // max count of sessions
+
+ /* enums */
int mode; // mode of listening
int tracereq;
int traceditf;