summaryrefslogtreecommitdiffstats
path: root/src/main-afb-daemon.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-02-15 17:13:38 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-29 14:14:13 +0100
commit84f4aec41817417a3b94d91da1b9b2fba9711e40 (patch)
tree699d98c0e1ea0a8b5b592ea0c888e1bb90c55902 /src/main-afb-daemon.c
parenta2cf84ecde926adeebf09bc2c284401513d3fab3 (diff)
Rename afb-config to afb-args
With the introduction of more compilation flags, it becomes interesting to use a configuration file. The configuration file is usually "config.h". So that renaming avoids future ambiguity. It also reflects better what the module does. Change-Id: I952adc1e1bf469132dc224900bd9140ccc51c58b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/main-afb-daemon.c')
-rw-r--r--src/main-afb-daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main-afb-daemon.c b/src/main-afb-daemon.c
index 75706b7a..4ef4b280 100644
--- a/src/main-afb-daemon.c
+++ b/src/main-afb-daemon.c
@@ -38,7 +38,7 @@
#include <systemd/sd-daemon.h>
-#include "afb-config.h"
+#include "afb-args.h"
#include "afb-hswitch.h"
#include "afb-apiset.h"
#include "afb-autoset.h"
@@ -898,7 +898,7 @@ int main(int argc, char *argv[])
afb_debug("main-entry");
// ------------- Build session handler & init config -------
- main_config = afb_config_parse_arguments(argc, argv);
+ main_config = afb_args_parse(argc, argv);
if (sig_monitor_init(
!json_object_object_get_ex(main_config, "trap-faults", &obj)
|| json_object_get_boolean(obj)) < 0) {