|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
#include <wireshark.h>Go to the source code of this file.
Enumerations | |
| enum | plugin_type_e { WS_PLUGIN_EPAN , WS_PLUGIN_WIRETAP , WS_PLUGIN_CODEC , WS_PLUGIN_UI } |
Functions | |
| WS_DLL_PUBLIC plugins_t * | plugins_init (plugin_type_e type, const char *app_env_var_prefix) |
| Initialize plugins of a specific type. | |
| WS_DLL_PUBLIC void | plugins_get_descriptions (plugin_description_callback callback, void *user_data) |
| Retrieves descriptions of all plugins. | |
| WS_DLL_PUBLIC void | plugins_dump_all (void) |
| Prints the description of all plugins. | |
| WS_DLL_PUBLIC int | plugins_get_count (void) |
| Gets the count of all loaded plugins. | |
| WS_DLL_PUBLIC void | plugins_cleanup (plugins_t *plugins) |
| Cleans up and unloads a plugin. | |
| WS_DLL_PUBLIC bool | plugins_supported (void) |
| Checks if plugins are supported. | |
| WS_DLL_PUBLIC bool | is_plugin_filename (const char *filename) |
| Returns true if the given filename ends in .dll on Windows or .so on other platforms. | |
definitions for plugins structures
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
| WS_DLL_PUBLIC bool is_plugin_filename | ( | const char * | filename | ) |
Returns true if the given filename ends in .dll on Windows or .so on other platforms.
| filename | The name of the file to check. |
| WS_DLL_PUBLIC void plugins_cleanup | ( | plugins_t * | plugins | ) |
Cleans up and unloads a plugin.
| plugins | Pointer to the plugins_t structure to clean up. |
| WS_DLL_PUBLIC int plugins_get_count | ( | void | ) |
Gets the count of all loaded plugins.
| WS_DLL_PUBLIC void plugins_get_descriptions | ( | plugin_description_callback | callback, |
| void * | user_data | ||
| ) |
Retrieves descriptions of all plugins.
| callback | Callback function to handle plugin descriptions. |
| user_data | User data to pass to the callback function. |
| WS_DLL_PUBLIC plugins_t * plugins_init | ( | plugin_type_e | type, |
| const char * | app_env_var_prefix | ||
| ) |
Initialize plugins of a specific type.
Initializes and loads plugins based on the given type and application environment variable prefix.
| type | The type of plugin to initialize. |
| app_env_var_prefix | Prefix for the application environment variables. |
| WS_DLL_PUBLIC bool plugins_supported | ( | void | ) |
Checks if plugins are supported.