src/afb-api-so.c: fix uninitialized variable
[src/app-framework-binder.git] / src / afb-config.h
index 43b550d..c502dbc 100644 (file)
@@ -43,19 +43,27 @@ 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 readyfd;            // a #fd to signal when ready to serve
        int cacheTimeout;
        int apiTimeout;
        int cntxTimeout;        // Client Session Context timeout
        int nbSessionMax;       // max count of sessions
        int mode;               // mode of listening
        int tracereq;
-       int noHttpd;
+       int traceditf;
+       int tracesvc;
+       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);