diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-03-27 15:54:44 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-03-27 15:54:44 +0200 |
commit | c3d27b0ac659776f4065bc04b94f12c6b7e40084 (patch) | |
tree | d2ce18870b653f8e1ea305e22074877e64b28510 /src/afb-config.c | |
parent | 25a84c46729699668725da1214f7f8c829b1498e (diff) |
Remove option readyfd
This option is no more useful. Instead it is
possible to use systemd notify feature.
Change-Id: I8dd286242d3dc74238ca0908e83072367874d19e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-config.c')
-rw-r--r-- | src/afb-config.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/afb-config.c b/src/afb-config.c index 7852f6c4..b06f01db 100644 --- a/src/afb-config.c +++ b/src/afb-config.c @@ -71,7 +71,6 @@ #define SET_MODE 18 -#define SET_READYFD 19 #define DBUS_CLIENT 20 #define DBUS_SERVICE 21 @@ -141,7 +140,6 @@ static AFB_options cliOptions[] = { {DISPLAY_HELP, 0, "help", "Display this help"}, {SET_MODE, 1, "mode", "Set the mode: either local, remote or global"}, - {SET_READYFD, 1, "readyfd", "Set the #fd to signal when ready"}, {DBUS_CLIENT, 1, "dbus-client", "Bind to an afb service through dbus"}, {DBUS_SERVICE, 1, "dbus-server", "Provides an afb service through dbus"}, @@ -464,10 +462,6 @@ static void parse_arguments(int argc, char **argv, struct afb_config *config) config->mode = argvalenum(optc, mode_desc); break; - case SET_READYFD: - config->readyfd = argvalintdec(optc, 0, INT_MAX); - break; - case DBUS_CLIENT: list_add(&config->dbus_clients, argvalstr(optc)); break; @@ -617,7 +611,6 @@ void afb_config_dump(struct afb_config *config) D(httpdPort) B(background) - D(readyfd) D(cacheTimeout) D(apiTimeout) D(cntxTimeout) |