Lines Matching refs:opts
27 build_argv (struct opts *opts)
31 assert (opts->sources);
33 if (!opts->cur_source || !opts->cur_source->next)
34 opts->cur_source = opts->sources;
36 opts->cur_source = opts->cur_source->next;
37 for (argc = 0; opts->base_argv[argc]; argc++)
47 for (argc = 0; opts->base_argv[argc]; argc++)
48 new_argv[argc] = opts->base_argv[argc];
50 new_argv[argc++] = opts->cur_source->host;
52 new_argv[argc++] = opts->cur_source->port;
53 if (opts->cur_source->proxy || opts->proxy)
55 char *proxy = opts->proxy ? opts->proxy : opts->cur_source->proxy;
64 if (opts->leap)
88 if (!(new_argv = build_argv (&state->opts)))