summaryrefslogtreecommitdiffstats
path: root/libnetdata/onewayalloc/onewayalloc.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:53:24 +0000
commitb5f8ee61a7f7e9bd291dd26b0585d03eb686c941 (patch)
treed4d31289c39fc00da064a825df13a0b98ce95b10 /libnetdata/onewayalloc/onewayalloc.h
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-b5f8ee61a7f7e9bd291dd26b0585d03eb686c941.tar.xz
netdata-b5f8ee61a7f7e9bd291dd26b0585d03eb686c941.zip
Adding upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libnetdata/onewayalloc/onewayalloc.h')
-rw-r--r--libnetdata/onewayalloc/onewayalloc.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/libnetdata/onewayalloc/onewayalloc.h b/libnetdata/onewayalloc/onewayalloc.h
deleted file mode 100644
index a415b063b..000000000
--- a/libnetdata/onewayalloc/onewayalloc.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef ONEWAYALLOC_H
-#define ONEWAYALLOC_H 1
-
-#include "../libnetdata.h"
-
-typedef void ONEWAYALLOC;
-
-ONEWAYALLOC *onewayalloc_create(size_t size_hint);
-void onewayalloc_destroy(ONEWAYALLOC *owa);
-
-void *onewayalloc_mallocz(ONEWAYALLOC *owa, size_t size);
-void *onewayalloc_callocz(ONEWAYALLOC *owa, size_t nmemb, size_t size);
-char *onewayalloc_strdupz(ONEWAYALLOC *owa, const char *s);
-void *onewayalloc_memdupz(ONEWAYALLOC *owa, const void *src, size_t size);
-void onewayalloc_freez(ONEWAYALLOC *owa, const void *ptr);
-
-void *onewayalloc_doublesize(ONEWAYALLOC *owa, const void *src, size_t oldsize);
-
-size_t onewayalloc_allocated_memory(void);
-
-#endif // ONEWAYALLOC_H