|
@@ -1290,20 +1290,6 @@ static char *set_api_description(const char *arg)
|
|
|
return NULL;
|
|
return NULL;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-static char *set_api_mcast_addr(const char *arg)
|
|
|
|
|
-{
|
|
|
|
|
- opt_set_charp(arg, &opt_api_mcast_addr);
|
|
|
|
|
-
|
|
|
|
|
- return NULL;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-static char *set_api_mcast_code(const char *arg)
|
|
|
|
|
-{
|
|
|
|
|
- opt_set_charp(arg, &opt_api_mcast_code);
|
|
|
|
|
-
|
|
|
|
|
- return NULL;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
#ifdef USE_ICARUS
|
|
#ifdef USE_ICARUS
|
|
|
static char *set_icarus_options(const char *arg)
|
|
static char *set_icarus_options(const char *arg)
|
|
|
{
|
|
{
|
|
@@ -1384,10 +1370,10 @@ static struct opt_table opt_config_table[] = {
|
|
|
opt_set_bool, &opt_api_mcast,
|
|
opt_set_bool, &opt_api_mcast,
|
|
|
"Enable API Multicast listener, default: disabled"),
|
|
"Enable API Multicast listener, default: disabled"),
|
|
|
OPT_WITH_ARG("--api-mcast-addr",
|
|
OPT_WITH_ARG("--api-mcast-addr",
|
|
|
- set_api_mcast_addr, NULL, NULL,
|
|
|
|
|
|
|
+ opt_set_charp, opt_show_charp, &opt_api_mcast_addr,
|
|
|
"API Multicast listen address"),
|
|
"API Multicast listen address"),
|
|
|
OPT_WITH_ARG("--api-mcast-code",
|
|
OPT_WITH_ARG("--api-mcast-code",
|
|
|
- set_api_mcast_code, NULL, NULL,
|
|
|
|
|
|
|
+ opt_set_charp, opt_show_charp, &opt_api_mcast_code,
|
|
|
"Code expected in the API Multicast"),
|
|
"Code expected in the API Multicast"),
|
|
|
OPT_WITH_ARG("--api-mcast-port",
|
|
OPT_WITH_ARG("--api-mcast-port",
|
|
|
set_int_1_to_65535, opt_show_intval, &opt_api_mcast_port,
|
|
set_int_1_to_65535, opt_show_intval, &opt_api_mcast_port,
|