USRLOC - Usrloc MI functions. More...
#include "../../lib/kmi/mi.h"

Go to the source code of this file.
Definition in file usrloc/ul_mi.h.
| struct mi_root* mi_usrloc_add | ( | struct mi_root * | cmd, | |
| void * | param | |||
| ) | [read] |
| cmd | mi_root containing the parameter | |
| param | not used |
Definition at line 371 of file p_usrloc/ul_mi.c.
References ucontact_info::callid, ucontact_info::cflags, contact, ucontact_info::cseq, ucontact_info::expires, ucontact_info::flags, get_act_time(), get_ucontact(), get_urecord(), insert_ucontact(), insert_urecord(), lock_udomain(), ucontact_info::methods, mi_find_domain(), mi_fix_aor(), MI_UL_CSEQ, ucontact_info::q, release_urecord(), ucontact_info::ruid, unlock_udomain(), update_ucontact(), and ucontact_info::user_agent.

| struct mi_root* mi_usrloc_dump | ( | struct mi_root * | cmd, | |
| void * | param | |||
| ) | [read] |
| cmd | mi_root containing the parameter | |
| param | not used |
Definition at line 337 of file p_usrloc/ul_mi.c.
References dlist::d, int2str(), _str::len, lock_ulslot(), mi_add_aor_node(), dlist::name, urecord::next, dlist::next, root, _str::s, udomain::size, table, udomain::table, and unlock_ulslot().

| struct mi_root* mi_usrloc_flush | ( | struct mi_root * | cmd, | |
| void * | param | |||
| ) | [read] |
| cmd | mi_root containing the parameter | |
| param | not used |
Definition at line 350 of file p_usrloc/ul_mi.c.
References synchronize_all_udomains().

| struct mi_root* mi_usrloc_rm_aor | ( | struct mi_root * | cmd, | |
| void * | param | |||
| ) | [read] |
| cmd | mi_root containing the parameter | |
| param | not used |
Definition at line 239 of file p_usrloc/ul_mi.c.
References delete_urecord(), lock_udomain(), mi_find_domain(), mi_fix_aor(), and unlock_udomain().

| struct mi_root* mi_usrloc_rm_contact | ( | struct mi_root * | cmd, | |
| void * | param | |||
| ) | [read] |
| cmd | mi_root containing the parameter | |
| param | not used |
Definition at line 277 of file p_usrloc/ul_mi.c.
References contact, delete_ucontact(), get_ucontact(), get_urecord(), lock_udomain(), mi_find_domain(), mi_fix_aor(), MI_UL_CSEQ, release_urecord(), and unlock_udomain().

| struct mi_root* mi_usrloc_show_contact | ( | struct mi_root * | cmd, | |
| void * | param | |||
| ) | [read] |
| cmd | mi_root containing the parameter | |
| param | not used |
Definition at line 485 of file p_usrloc/ul_mi.c.
References ucontact::c, ucontact::cflags, urecord::contacts, ucontact::expires, ucontact::flags, get_act_time(), get_urecord(), _str::len, lock_udomain(), ucontact::methods, mi_find_domain(), mi_fix_aor(), ucontact::next, ucontact::path, ucontact::q, ucontact::received, _str::s, ucontact::sock, unlock_udomain(), ucontact::user_agent, and VALID_CONTACT.

1.7.1