3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
9 #ifndef __APP_MEM_USAGE_H__
10 #define __APP_MEM_USAGE_H__
12 #include "ws_symbol_export.h"
16 size_t (*fetch
)(void);
21 WS_DLL_PUBLIC
void memory_usage_component_register(const ws_mem_usage_t
*component
);
23 WS_DLL_PUBLIC
void memory_usage_gc(void);
25 WS_DLL_PUBLIC
const char *memory_usage_get(unsigned idx
, size_t *value
);
27 #endif /* APP_MEM_USAGE_H */