FACT++  1.0
void dis_dns_init ( )

Definition at line 976 of file dis_old.c.

References create_dns(), dim_init_threads(), dll_init(), Memory::malloc(), and Threads_off.

Referenced by dis_init().

977 {
978  static int done = 0;
979  DIS_DNS_CONN *dnsp;
980  void dim_init_threads(void);
981 
982  if(!done)
983  {
984  if(!Threads_off)
985  {
987  }
988  {
989  DISABLE_AST
990  if(!DNS_head)
991  {
993  dll_init( (DLL *) DNS_head );
994  }
995  dnsp = create_dns(0);
996  Default_DNS = dnsp;
997  done = 1;
998  ENABLE_AST
999  }
1000  }
1001 }
static int Threads_off
Definition: dis_old.c:142
void * malloc()
Definition: EventBuilder.cc:99
void dll_init(DLL *head)
Definition: dll.c:14
DIS_DNS_CONN * Default_DNS
Definition: dis_old.c:129
void dim_init_threads()
Definition: dim_thr.c:399
Definition: dim.h:530
static DIS_DNS_CONN * create_dns(long dnsid)
Definition: dis_old.c:957
static DIS_DNS_CONN * DNS_head
Definition: dis_old.c:108

+ Here is the call graph for this function:

+ Here is the caller graph for this function: