- FOR_EACH_RECEIVER(i)
- receivers[i].init(&receivers[i]);
-}
-
-static void *parse_receiver_args(int receiver_num, char *options)
-{
- struct receiver *r = &receivers[receiver_num];
- char **argv;
- int argc, i;
- void *conf;
-
-
- PARA_DEBUG_LOG("%s, options: %s\n", r->name,
- options? options : "(none)");
- if (options) {
- PARA_DEBUG_LOG("options: %s\n", options);
- argc = create_argv(options, " \t", &argv);
- if (argc < 0)
- return NULL;
- for (i = argc - 1; i >= 0; i--)
- argv[i + 1] = argv[i];
- argc++;
- } else {
- argc = 1;
- argv = para_malloc(2 * sizeof(char*));
- argv[1] = NULL;