X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-config.h;h=c502dbc106cf846da4782594962b92c7aef06992;hb=d0b0b6fe77b8ea06bac2830baa9008eefe1917ba;hp=5abf80546ed14f5b46295d400937dc3691c96a41;hpb=1036658948230a292ceb0e7688ba05113a14800b;p=src%2Fapp-framework-binder.git diff --git a/src/afb-config.h b/src/afb-config.h index 5abf8054..c502dbc1 100644 --- a/src/afb-config.h +++ b/src/afb-config.h @@ -48,8 +48,8 @@ struct afb_config { char **exec; + /* integers */ int httpdPort; - int background; // run in backround mode int cacheTimeout; int apiTimeout; int cntxTimeout; // Client Session Context timeout @@ -59,8 +59,11 @@ struct afb_config { int traceditf; int tracesvc; int traceevt; - int noHttpd; - int no_ldpaths; /* disable default ldpaths */ + + /* 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);