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

Function context_register_str

context.c:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205int context_register_str(enum osips_context type, context_destroy_f f)
206{
207 context_sizes[type] += sizeof(str);
208 type_offsets[type][CONTEXT_PTR_TYPE] += sizeof(str);
209 register_context_destroy(f, type, CONTEXT_STR_TYPE);
210
211 return type_sizes[type][CONTEXT_STR_TYPE]++;
212}
213
214int context_register_ptr(enum osips_context type, context_destroy_f f)
215{

Callers 4

t_ctx_register_strFunction · 0.85
b2bl_ctx_register_strFunction · 0.85
dlg_ctx_register_strFunction · 0.85
mod_initFunction · 0.85

Calls 1

register_context_destroyFunction · 0.85

Tested by

no test coverage detected