Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
src/afb-api-so.c: fix uninitialized variable
[src/app-framework-binder.git]
/
src
/
afb-config.h
diff --git
a/src/afb-config.h
b/src/afb-config.h
index
4ff5d14
..
c502dbc
100644
(file)
--- a/
src/afb-config.h
+++ b/
src/afb-config.h
@@
-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 *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;
struct afb_config_list *calls;
char **exec;
+ /* integers */
int httpdPort;
int httpdPort;
- int background; // run in backround mode
int cacheTimeout;
int apiTimeout;
int cntxTimeout; // Client Session Context timeout
int cacheTimeout;
int apiTimeout;
int cntxTimeout; // Client Session Context timeout
@@
-58,7
+59,11
@@
struct afb_config {
int traceditf;
int tracesvc;
int traceevt;
int traceditf;
int tracesvc;
int traceevt;
- int noHttpd;
+
+ /* 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);
};
extern struct afb_config *afb_config_parse_arguments(int argc, char **argv);