diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2021-09-28 14:49:11 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2021-09-28 14:49:11 +0300 |
commit | 351e5be39a31b67e2f1ad289a6f1028025180db1 (patch) | |
tree | 23e6dacb3e9f971e99aba86f0aa1e5ec6bd600de /include/memalloc.h | |
parent | b9c1235d34253484571b72b50be7741b4464b5d7 (diff) |
........S. [ZBXNEXT-6923] fixed server startup/teardown based on HA status
Diffstat (limited to 'include/memalloc.h')
-rw-r--r-- | include/memalloc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/memalloc.h b/include/memalloc.h index 7015bc384da..1041d901824 100644 --- a/include/memalloc.h +++ b/include/memalloc.h @@ -31,6 +31,7 @@ typedef struct { + void *base; void **buckets; void *lo_bound; void *hi_bound; @@ -65,6 +66,7 @@ zbx_mem_stats_t; int zbx_mem_create(zbx_mem_info_t **info, zbx_uint64_t size, const char *descr, const char *param, int allow_oom, char **error); +void zbx_mem_destroy(zbx_mem_info_t *info); #define zbx_mem_malloc(info, old, size) __zbx_mem_malloc(__FILE__, __LINE__, info, old, size) #define zbx_mem_realloc(info, old, size) __zbx_mem_realloc(__FILE__, __LINE__, info, old, size) |