SIP registrar module - interface
#include <stdio.h>#include "../../sr_module.h"#include "../../timer.h"#include "../../dprint.h"#include "../../error.h"#include "../../socket_info.h"#include "../../pvar.h"#include "../../modules_k/usrloc/usrloc.h"#include "../../lib/kcore/statistics.h"#include "../../lib/srutils/sruid.h"#include "../../modules/sl/sl.h"#include "../../mod_fix.h"#include "save.h"#include "api.h"#include "lookup.h"#include "regpv.h"#include "reply.h"#include "reg_mod.h"#include "config.h"#include "../../data_lump.h"#include "../../ip_addr.h"#include "../../ut.h"
Go to the source code of this file.
Definition in file modules_k/registrar/reg_mod.c.
| static int domain_fixup | ( | void ** | param, | |
| int | param_no | |||
| ) | [static] |
Convert char* parameter to udomain_t* pointer.
Definition at line 466 of file modules_k/registrar/reg_mod.c.
References usrloc_api::register_udomain.
Referenced by domain_uri_fixup(), fetchc_fixup(), save_fixup(), and unreg_fixup().

| static int mod_init | ( | void | ) | [static] |
Initialize parent.
Definition at line 261 of file modules_k/registrar/reg_mod.c.
References bind_usrloc(), _str::len, pv_get_avp_name(), _str::s, sl_load_api(), and tcp_persistent_flag.

| stat_export_t mod_stats[] |
{
{"max_expires", STAT_NO_RESET, &max_expires_stat },
{"max_contacts", STAT_NO_RESET, &max_contacts_stat },
{"default_expire", STAT_NO_RESET, &default_expire_stat },
{"default_expires_range", STAT_NO_RESET, &default_expire_range_stat },
{"accepted_regs", 0, &accepted_registrations },
{"rejected_regs", 0, &rejected_registrations },
{0, 0, 0}
}
Definition at line 227 of file modules_k/registrar/reg_mod.c.
| int path_mode = PATH_MODE_STRICT |
Definition at line 109 of file modules_k/registrar/reg_mod.c.
Referenced by pack_ci(), and reg_send_reply().
1.7.1