-static void *parse_config(int argc, char *argv[], int *receiver_num)
-{
- int i;
-
- if (recv_cmdline_parser(argc, argv, &conf))
- return NULL;
- HANDLE_VERSION_FLAG("recv", conf);
- if (conf.list_receivers_given) {
- printf("available receivers: ");
- for (i = 0; receivers[i].name; i++)
- printf("%s%s", i? " " : "", receivers[i].name);
- printf("\nTry\n\tpara_recv -r '<receivername> -h'\n"
- "for help on <receivername>.\n");
- exit(EXIT_SUCCESS);
- }
- return check_receiver_arg(conf.receiver_arg, receiver_num);
-}