Lines Matching refs:user_optarr
141 const char *parse_opts(int ac, char **av, const option_t * user_optarr, in parse_opts() argument
166 if (user_optarr) in parse_opts()
167 for (i = 0; user_optarr[i].option; ++i) { in parse_opts()
168 if (strlen(user_optarr[i].option) > 2) in parse_opts()
171 optstrlen += strlen(user_optarr[i].option); in parse_opts()
185 if (user_optarr) in parse_opts()
186 for (i = 0; user_optarr[i].option; ++i) in parse_opts()
188 if (strchr(optionstr, user_optarr[i].option[0]) == NULL) in parse_opts()
189 strcat(optionstr, user_optarr[i].option); in parse_opts()
230 for (i = 0; user_optarr[i].option; ++i) { in parse_opts()
232 if (opt == user_optarr[i].option[0]) { in parse_opts()
234 if (user_optarr[i].flag) { in parse_opts()
235 *user_optarr[i].flag = 1; in parse_opts()
240 if (user_optarr[i]. in parse_opts()
241 option[strlen(user_optarr[i].option) in parse_opts()
243 *user_optarr[i].arg = optarg; in parse_opts()