| 58 | } |
| 59 | |
| 60 | static 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 | |
| 73 | int init_tmcb_lists(void) |
| 74 | { |
no test coverage detected