Definition at line 1964 of file did.c.
References Curr_service_format, Curr_service_name, dic_cmnd_service(), did_read_string(), Memory::free(), get_type_size(), Memory::malloc(), size, str, and type.
Referenced by ok_pop_up().
1968 int size, full_size = 0;
1970 static int last_size = 0;
1971 static void *last_buffer = 0;
1985 sscanf(ptr,
"%d", &num);
1986 full_size += size * num;
1987 if( (ptr = strchr(ptr,
';')) )
1995 if(full_size > last_size)
1999 last_buffer =
malloc((
size_t)full_size);
2000 last_size = full_size;
2002 buffer_ptr = last_buffer;
2010 sscanf(ptr,
"%d", &num);
2014 if( (ptr = strchr(ptr,
';')) )
2025 full_size = (int) ((
char *)buffer_ptr - (
char *)last_buffer);
char Curr_service_name[132]
int dic_cmnd_service(char *serv_name, void *serv_address, int serv_size)
void did_read_string(char type, int num, void **buffer_ptr, char **str_ptr)
char Curr_service_format[256]
int get_type_size(char type)