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

Function new_tmcb_list

modules/tm/t_hooks.c:60–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static struct tmcb_head_list *new_tmcb_list(void)
61{
62 struct tmcb_head_list *list = (struct tmcb_head_list*)shm_malloc
63 (sizeof(struct tmcb_head_list));
64 if (list==0) {
65 LM_CRIT("no more shared memory\n");
66 return NULL;
67 }
68 list->first = 0;
69 list->reg_types = 0;
70 return list;
71}
72
73int init_tmcb_lists(void)
74{

Callers 1

init_tmcb_listsFunction · 0.85

Calls 1

shm_mallocFunction · 0.85

Tested by

no test coverage detected