Track OpenSSL memory usage.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3890 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-06-04 15:59:58 +00:00
parent c8e09d8637
commit 7b53c95832
4 changed files with 64 additions and 16 deletions

View File

@ -5,7 +5,10 @@
#include <stdbool.h>
void tf_util_replace_uv_allocator();
size_t tf_util_uv_get_malloc_size();
size_t tf_util_get_uv_malloc_size();
void tf_util_replace_tls_allocator();
size_t tf_util_get_tls_malloc_size();
void tf_util_register(JSContext* context);
JSValue tf_util_utf8_decode(JSContext* context, JSValue value);