Definition at line 376 of file dic.c.
References buffer, copy_swap_buffer_in(), DIS_HEADER, DIS_STAMPED_HEADER, FORMAT_STR::flags, dic_serv::format, dic_serv::format_data, Memory::free(), Memory::malloc(), MAX_NAME, FORMAT_STR::par_bytes, dic_serv::quality, dic_serv::serv_address, dic_serv::serv_size, dic_serv::stamped, dic_serv::tag, dic_serv::time_stamp, and dic_serv::user_routine.
Referenced by recv_rout().
381 static int buffer_size = 0;
383 int *pkt_buffer, header_size;
387 memcpy(format_data_cp, servp->
format_data,
sizeof(format_data_cp));
388 if((format & 0xF) == ((MY_FORMAT) & 0xF))
390 for(formatp = format_data_cp; formatp->
par_bytes; formatp++)
391 formatp->
flags &= (
short)0xFFF0;
398 if(((
unsigned)servp->
time_stamp[0] & 0xFFFF0000) == 0xc0de0000)
443 buffer = (
int *)
malloc((
size_t)add_size);
444 buffer_size = add_size;
448 if( add_size > buffer_size )
451 buffer = (
int *)
malloc((
size_t)add_size);
452 buffer_size = add_size;
int copy_swap_buffer_in(FORMAT_STR *format_data, void *buff_out, void *buff_in, int size)
#define DIS_STAMPED_HEADER
static DIC_SERVICE * Current_server
FORMAT_STR format_data[MAX_NAME/4]