FACT++  1.0
void service_insert ( RED_DNS_SERVICE servp)

Definition at line 1631 of file dns.c.

References dll_insert_queue(), HashFunction(), MAX_HASH_ENTRIES, and red_serv::serv_name.

Referenced by handle_client_request(), and handle_registration().

1632 {
1633  int index;
1634 
1635  index = HashFunction(servp->serv_name, MAX_HASH_ENTRIES);
1637  (DLL *) servp);
1638 }
void dll_insert_queue(DLL *head, DLL *item)
Definition: dll.c:23
char serv_name[MAX_NAME]
Definition: dns.c:61
#define MAX_HASH_ENTRIES
Definition: dns.c:23
Definition: dim.h:530
int HashFunction(char *name, int max)
Definition: hash.c:22
static RED_DNS_SERVICE * Service_hash_table[MAX_HASH_ENTRIES]
Definition: dns.c:71

+ Here is the call graph for this function:

+ Here is the caller graph for this function: