FACT++  1.0
int dis_hash_service_init ( )

Definition at line 3236 of file dis.c.

References i, and MAX_HASH_ENTRIES.

Referenced by dis_init().

3237 {
3238 
3239  int i;
3240  static int done = 0;
3241 
3242  if(!done)
3243  {
3244  for( i = 0; i < MAX_HASH_ENTRIES; i++ )
3245  {
3246 /*
3247  Service_hash_table[i] = (SERVICE *) malloc(sizeof(SERVICE));
3248  dll_init((DLL *) Service_hash_table[i]);
3249 */
3250  Service_hash_table[i] = 0;
3251  Service_new_entries[i] = 0;
3252  }
3253  done = 1;
3254  }
3255 
3256  return(1);
3257 }
#define MAX_HASH_ENTRIES
Definition: dis.c:3231
int i
Definition: db_dim_client.c:21
static int Service_new_entries[MAX_HASH_ENTRIES]
Definition: dis.c:3234
static SERVICE * Service_hash_table[MAX_HASH_ENTRIES]
Definition: dis.c:3233

+ Here is the caller graph for this function: