| Wireshark 4.7.3 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)
| Initialize the UI "helper" components.
void | ui_cleanup (void)
| Cleanup the UI "helper" components.
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

## ◆ ui_init()

void ui_init | ( | const char * | app_env_var_prefix | ) |
| extern

Initialize the UI "helper" components.

Parameters

  app_env_var_prefix | A prefix for environment variables related to the application.

## ◆ 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.