Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
app_mem_usage.h
Go to the documentation of this file.
1
9#ifndef __APP_MEM_USAGE_H__
10#define __APP_MEM_USAGE_H__
11
12#include "ws_symbol_export.h"
13
14typedef struct {
15 const char *name;
16 size_t (*fetch)(void);
17 void (*gc)(void);
18
20
21WS_DLL_PUBLIC void memory_usage_component_register(const ws_mem_usage_t *component);
22
23WS_DLL_PUBLIC void memory_usage_gc(void);
24
25WS_DLL_PUBLIC const char *memory_usage_get(unsigned idx, size_t *value);
26
27#endif /* APP_MEM_USAGE_H */
Definition app_mem_usage.h:14