src/afb-api-so.c: fix uninitialized variable
[src/app-framework-binder.git] / src / afb-config.h
index acf1f38..c502dbc 100644 (file)
@@ -43,12 +43,13 @@ struct afb_config {
        struct afb_config_list *ws_servers;
        struct afb_config_list *so_bindings;
        struct afb_config_list *ldpaths;
+       struct afb_config_list *weak_ldpaths;
        struct afb_config_list *calls;
 
        char **exec;
 
+       /* integers */
        int httpdPort;
-       int background;         // run in backround mode
        int cacheTimeout;
        int apiTimeout;
        int cntxTimeout;        // Client Session Context timeout
@@ -57,7 +58,12 @@ struct afb_config {
        int tracereq;
        int traceditf;
        int tracesvc;
-       int noHttpd;
+       int traceevt;
+
+       /* booleans */
+       unsigned no_ldpaths: 1;         /* disable default ldpaths */
+       unsigned noHttpd: 1;
+       unsigned background: 1;         /* run in backround mode */
 };
 
 extern struct afb_config *afb_config_parse_arguments(int argc, char **argv);