Searched refs:valstr (Results 1 – 3 of 3) sorted by relevance
/external/ppp/pppd/plugins/radius/ |
D | util.c | 33 void rc_str2tm (char *valstr, struct tm *tm) in rc_str2tm() argument 40 if (strncmp (months[i], valstr, 3) == 0) in rc_str2tm() 48 tm->tm_mday = atoi (&valstr[4]); in rc_str2tm() 51 tm->tm_year = atoi (&valstr[7]) - 1900; in rc_str2tm()
|
D | dict.c | 41 char valstr[AUTH_ID_LEN]; in rc_read_dictionary() local 108 n = sscanf(buffer, "%s%s%s%s%s", dummystr, namestr, valstr, typestr, vendorstr); in rc_read_dictionary() 136 if (!isdigit (*valstr)) in rc_read_dictionary() 143 value = atoi (valstr); in rc_read_dictionary() 212 namestr, valstr) != 4) in rc_read_dictionary() 239 if (!isdigit (*valstr)) in rc_read_dictionary() 246 value = atoi (valstr); in rc_read_dictionary()
|
D | avpair.c | 526 char valstr[AUTH_ID_LEN]; in rc_avpair_parse() local 578 rc_fieldcpy (valstr, &buffer); in rc_avpair_parse() 600 strcpy (pair->strvalue, valstr); in rc_avpair_parse() 601 pair->lvalue = strlen(valstr); in rc_avpair_parse() 605 if (isdigit (*valstr)) in rc_avpair_parse() 607 pair->lvalue = atoi (valstr); in rc_avpair_parse() 611 if ((dval = rc_dict_findval (valstr)) in rc_avpair_parse() 614 error("rc_avpair_parse: unknown attribute value: %s", valstr); in rc_avpair_parse() 630 pair->lvalue = rc_get_ipaddr(valstr); in rc_avpair_parse() 639 rc_str2tm (valstr, tm); in rc_avpair_parse()
|