domain/hash.h File Reference

#include <stdio.h>
#include "domain_mod.h"
#include "../../mi/mi.h"

Include dependency graph for domain/hash.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void hash_table_free (struct domain_list **hash_table)
int hash_table_install (struct domain_list **hash_table, char *domain)
int hash_table_lookup (str *domain)
int hash_table_mi_print (struct domain_list **hash_table, struct mi_node *rpl)


Function Documentation

void hash_table_free ( struct domain_list **  hash_table  ) 

Definition at line 108 of file domain/hash.c.

References DOM_HASH_SIZE, domain_list::domain, domain_list::next, NULL, _str::s, and shm_free.

Referenced by destroy(), and reload_domain_table().

int hash_table_install ( struct domain_list **  hash_table,
char *  domain 
)

int hash_table_lookup ( str domain  ) 

Definition at line 70 of file domain/hash.c.

References dom_hash, domain_list::domain, hash_table, _str::len, domain_list::next, NULL, and _str::s.

Referenced by is_domain_local().

int hash_table_mi_print ( struct domain_list **  hash_table,
struct mi_node rpl 
)


Generated on Tue May 22 16:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6