FACT++  1.0
int dis_set_buffer_size ( int  size)

Definition at line 195 of file dis_old.c.

References DIS_STAMPED_HEADER, Memory::free(), Memory::malloc(), and size.

196 {
197  if(Dis_packet_size)
198  free(Dis_packet);
200  if(Dis_packet)
201  {
203  return(1);
204  }
205  else
206  return(0);
207 }
static int Dis_packet_size
Definition: dis_old.c:193
static DIS_STAMPED_PACKET * Dis_packet
Definition: dis_old.c:192
void * malloc()
Definition: EventBuilder.cc:99
#define DIS_STAMPED_HEADER
Definition: dim.h:260
int size
Definition: db_dim_server.c:17
void free(void *mem)

+ Here is the call graph for this function: