Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2021-03-09 14:22:15 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2021-03-09 14:22:15 +0300
commite85a6382c20424c2bc30f7fa35ab1303f9f869c3 (patch)
treeb269a808a2ba2a43086ee8eed70add773df25340 /include/zbxalgo.h
parentd1f24887c791fa3a39e0e868faeb365b84773034 (diff)
parent07f0a480c594dd3f7654028c450e354e5a4b9796 (diff)
.......... [ZBXNEXT-6478] merged branch 'master' of ssh://git.zabbix.lan:7999/zbx/zabbix into feature/ZBXNEXT-6478-5.3
Diffstat (limited to 'include/zbxalgo.h')
-rw-r--r--include/zbxalgo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/zbxalgo.h b/include/zbxalgo.h
index 885b94dbdfd..a1c0b377de0 100644
--- a/include/zbxalgo.h
+++ b/include/zbxalgo.h
@@ -426,6 +426,9 @@ typedef struct
{
zbx_list_item_t *head;
zbx_list_item_t *tail;
+ zbx_mem_malloc_func_t mem_malloc_func;
+ zbx_mem_realloc_func_t mem_realloc_func;
+ zbx_mem_free_func_t mem_free_func;
}
zbx_list_t;
@@ -439,6 +442,7 @@ typedef struct
zbx_list_iterator_t;
void zbx_list_create(zbx_list_t *queue);
+void zbx_list_create_ext(zbx_list_t *queue, zbx_mem_malloc_func_t mem_malloc_func, zbx_mem_free_func_t mem_free_func);
void zbx_list_destroy(zbx_list_t *list);
void zbx_list_append(zbx_list_t *list, void *value, zbx_list_item_t **inserted);
void zbx_list_insert_after(zbx_list_t *list, zbx_list_item_t *after, void *value, zbx_list_item_t **inserted);