FACT++  1.0
int dis_hash_service_init ( )

Definition at line 2861 of file dis_old.c.

References dll_init(), i, Memory::malloc(), and MAX_HASH_ENTRIES.

Referenced by dis_init().

2862 {
2863  int i;
2864  static int done = 0;
2865 
2866  if(!done)
2867  {
2868  for( i = 0; i < MAX_HASH_ENTRIES; i++ )
2869  {
2870  Service_hash_table[i] = (SERVICE *) malloc(8);
2872  Service_new_entries[i] = 0;
2873  }
2874  done = 1;
2875  }
2876  return(1);
2877 }
int i
Definition: db_dim_client.c:21
static int Service_new_entries[MAX_HASH_ENTRIES]
Definition: dis_old.c:2859
#define MAX_HASH_ENTRIES
Definition: dis_old.c:2856
void * malloc()
Definition: EventBuilder.cc:99
void dll_init(DLL *head)
Definition: dll.c:14
static SERVICE * Service_hash_table[MAX_HASH_ENTRIES]
Definition: dis_old.c:2858
Definition: dim.h:530
Definition: dis.c:69

+ Here is the call graph for this function:

+ Here is the caller graph for this function: