MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / context_register_int

Function context_register_int

context.c:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194
195int context_register_int(enum osips_context type, context_destroy_f f)
196{
197 context_sizes[type] += sizeof(int);
198 type_offsets[type][CONTEXT_STR_TYPE] += sizeof(int);
199 type_offsets[type][CONTEXT_PTR_TYPE] += sizeof(int);
200 register_context_destroy(f, type, CONTEXT_INT_TYPE);
201
202 return type_sizes[type][CONTEXT_INT_TYPE]++;
203}
204
205int context_register_str(enum osips_context type, context_destroy_f f)
206{

Callers 8

init_black_listsFunction · 0.85
mod_initFunction · 0.85
mod_initFunction · 0.85
t_ctx_register_intFunction · 0.85
b2bl_ctx_register_intFunction · 0.85
dlg_ctx_register_intFunction · 0.85
mod_initFunction · 0.85
mod_initFunction · 0.85

Calls 1

register_context_destroyFunction · 0.85

Tested by

no test coverage detected