Wireshark
4.3.0
The Wireshark network protocol analyzer
epan
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
14
typedef
struct
{
15
const
char
*name;
16
gsize (*fetch)(void);
17
void (*gc)(void);
18
19
}
ws_mem_usage_t
;
20
21
WS_DLL_PUBLIC
void
memory_usage_component_register(
const
ws_mem_usage_t
*component);
22
23
WS_DLL_PUBLIC
void
memory_usage_gc(
void
);
24
25
WS_DLL_PUBLIC
const
char
*memory_usage_get(guint idx, gsize *value);
26
27
#endif
/* APP_MEM_USAGE_H */
ws_mem_usage_t
Definition:
app_mem_usage.h:14
Generated by
1.9.1