Lines Matching defs:valstr
389 char *option, *valstr, *grp, *tp;
423 valstr = strtok(NULL, "\n");
424 if (!valstr) error_exit("option %s has no value defined.\n", option);
425 dbg(" value : %-20s \n ", valstr);
430 convtmp = strtou32(valstr);
431 if (convtmp < 0) error_exit("Invalid/wrong formatted number %s", valstr);
438 convtmp = strtou32(valstr);
439 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr);
446 convtmp = strtou32(valstr);
447 if (convtmp < 0) error_exit("Invalid/malformed number %s", valstr);
453 striptovar(valstr, options_list[count].val);
456 options_list[count].len = strlen(valstr);
457 options_list[count].val = strdup(valstr);
460 while(valstr){
462 striptovar(valstr, ((uint8_t*)options_list[count].val)+options_list[count].len);
464 valstr = strtok(NULL," \t");
478 grp = strtok(valstr, ",");;