Definition at line 2365 of file webDid.c.
References i, read_str_char(), and read_str_int().
Referenced by did_prepare_command().
2385 for(i = 0; i<num; i++)
2388 ptr = (
int *)ptr +1;
2389 if( (strp = strchr(strp,
' ')) )
2397 for(i = 0; i<num; i++)
2400 *((
short *)ptr) = s;
2401 ptr = (
short *)ptr +1;
2402 if( (strp = strchr(strp,
' ')) )
2410 for(i = 0; i<num; i++)
2412 sscanf(strp,
"%f",&ff);
2414 ptr = (
float *)ptr +1;
2415 if( (strp = strchr(strp,
' ')) )
2423 for(i = 0; i<num; i++)
2425 sscanf(strp,
"%f",&ff);
2427 *(
double *)ptr = dd;
2428 ptr = (
double *)ptr +1;
2429 if( (strp = strchr(strp,
' ')) )
2438 for(i = 0; i<num; i++)
2443 ptr = (
char *)ptr +1;
2444 if( (strp = strchr(strp,
' ')) )
2455 num = (int)strlen(strp)+1;
2456 strncpy((
char *)ptr,strp,(
size_t)num);
2457 if( (ptr1 = (
char *)strchr((
char *)ptr,
'\"')) )
2462 ptr = (
char *)ptr + num;
2463 if( (strp = strchr(strp,
' ')) )
int read_str_char(char *str, char *cc)
int read_str_int(char *str)