Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Functions
uiqt_plugin.h File Reference
#include "ws_symbol_export.h"
#include "ws_attributes.h"

Go to the source code of this file.

Classes

struct  qtui_plugin
 

Functions

WS_DLL_PUBLIC void uiqt_register_plugin (const qtui_plugin *plug)
 Register a (Qt-based) UI plugin with the system.
 
WS_DLL_PUBLIC void uiqt_plugin_init (const char *app_env_var_prefix)
 Initialize all UI plugins.
 
WS_DLL_PUBLIC void uiqt_plugin_cleanup (void)
 Clean up all registered plugins.
 

Detailed Description

Plugin interface for Qt-based UI 2025 Michael Mann

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

◆ uiqt_plugin_cleanup()

WS_DLL_PUBLIC void uiqt_plugin_cleanup ( void  )

Clean up all registered plugins.

Releases resources associated with (Qt-based) UI plugins. This function is typically called during shutdown

◆ uiqt_plugin_init()

WS_DLL_PUBLIC void uiqt_plugin_init ( const char *  app_env_var_prefix)

Initialize all UI plugins.

Invokes the registration routines for all supported (Qt-based) UI plugins. This function should be called during application startup.

Parameters
app_env_var_prefixThe prefix for the application environment variable used to get plugin directory.

◆ uiqt_register_plugin()

WS_DLL_PUBLIC void uiqt_register_plugin ( const qtui_plugin plug)

Register a (Qt-based) UI plugin with the system.

Adds the specified (Qt-based) UI plugin to the internal registry, enabling support for additional UI functionality. This function is typically called in junction with a plugin based dissector to display its data.

Parameters
plugPointer to a qtui_plugin structure describing the plugin.