From 33c28e126df60d8f7c416e762314d9da79f53448 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Tue, 29 Aug 2017 11:17:02 +0200 Subject: [PATCH] afb-config: update the output of the config MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I1dbc3c0b0c84cb34da1c8851044a6e72e4dfbd34 Signed-off-by: José Bollo --- src/afb-config.c | 10 +++++++++- src/afb-config.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) 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; -- 2.16.6