| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Functions
init.h File Reference
`#include <wsutil/wmem/wmem.h>`

Go to the source code of this file.

## Functions
void | ui_init (const char *app_env_var_prefix)
void | ui_cleanup (void)
wmem_allocator_t * | wmem_ui_scope (void)
| Fetch the current UI memory scope.

## Detailed Description

Initialization of UI "helper" components

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

## Function Documentation

## ◆ wmem_ui_scope()

wmem_allocator_t * wmem_ui_scope | ( | void |  | ) |
| extern

Fetch the current UI memory scope.

Allocated memory is freed when ui_cleanup() is called, which is normally at program exit.