| 590 | } |
| 591 | |
| 592 | struct hp_block *hp_pkg_malloc_init(char *address, unsigned long size, |
| 593 | char *name) |
| 594 | { |
| 595 | struct hp_block *hpb; |
| 596 | |
| 597 | hpb = hp_malloc_init(address, size, name); |
| 598 | if (!hpb) { |
| 599 | LM_ERR("failed to initialize shm block\n"); |
| 600 | return NULL; |
| 601 | } |
| 602 | |
| 603 | return hpb; |
| 604 | } |
| 605 | |
| 606 | struct hp_block *hp_shm_malloc_init(char *address, unsigned long size, |
| 607 | char *name) |
no test coverage detected