Home | History | Annotate | Download | only in extensions

Lines Matching defs:arg

301 	char *arg = strdup(option_arg);
303 if (!arg)
306 for (tok = strtok(arg, ",|");
318 free(arg);
322 free(arg);
333 if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata))
335 "--hashlimit-upto", cb->arg);
338 if (parse_mode(&info->cfg.mode, cb->arg) < 0)
340 "--hashlimit-mode", cb->arg);
352 info->cfg.burst = parse_burst(cb->arg, info);
357 if (parse_bytes(cb->arg, &info->cfg.avg, cb->udata))
359 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata))
361 "--hashlimit-upto", cb->arg);
366 if (parse_bytes(cb->arg, &info->cfg.avg, cb->udata))
368 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata))
370 "--hashlimit-above", cb->arg);
373 if (parse_mode(&info->cfg.mode, cb->arg) < 0)
375 "--hashlimit-mode", cb->arg);