FACT++  1.0
int dis_set_buffer_size ( int  size)

Definition at line 199 of file dis.c.

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

200 {
201  if(Dis_packet_size)
202  free(Dis_packet);
204  if(Dis_packet)
205  {
207  return(1);
208  }
209  else
210  return(0);
211 }
void * malloc()
Definition: EventBuilder.cc:99
#define DIS_STAMPED_HEADER
Definition: dim.h:260
static int Dis_packet_size
Definition: dis.c:197
int size
Definition: db_dim_server.c:17
void free(void *mem)
static DIS_STAMPED_PACKET * Dis_packet
Definition: dis.c:196

+ Here is the call graph for this function: