summaryrefslogtreecommitdiffstats
path: root/src/main-afs-supervisor.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-afs-supervisor.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-afs-supervisor.c')
-rw-r--r--src/main-afs-supervisor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main-afs-supervisor.c b/src/main-afs-supervisor.c
index 6b79c9c1..e56e1d86 100644
--- a/src/main-afs-supervisor.c
+++ b/src/main-afs-supervisor.c
@@ -34,7 +34,7 @@
#include "afb-session.h"
#include "afs-supervisor.h"
-#include "afs-config.h"
+#include "afs-args.h"
#include "verbose.h"
#include "jobs.h"
@@ -46,7 +46,7 @@
#endif
/* the main config */
-struct afs_config *main_config;
+struct afs_args *main_config;
/* the main apiset */
struct afb_apiset *main_apiset;
@@ -212,7 +212,7 @@ error:
int main(int ac, char **av)
{
/* scan arguments */
- main_config = afs_config_parse_arguments(ac, av);
+ main_config = afs_args_parse(ac, av);
if (main_config->name) {
verbose_set_name(main_config->name, 0);
process_name_set_name(main_config->name);