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


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) |
| 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 | |||
| ) |
Definition at line 41 of file domain/hash.c.
References dom_hash, domain_list::domain, _str::len, LM_ERR, domain_list::next, NULL, _str::s, shm_free, and shm_malloc().
Referenced by reload_domain_table().
| 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 | |||
| ) |
Definition at line 85 of file domain/hash.c.
References add_mi_node_child(), DOM_HASH_SIZE, domain_list::domain, _str::len, domain_list::next, and _str::s.
Referenced by mi_domain_dump(), and mi_trusted_dump().
1.5.6