Wireshark 4.5.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Typedefs | |
typedef bool(* | DFTranslator) (stnode_t *root_node, GString *translated) |
Functions | |
void | dfilter_translator_init (void) |
void | dfilter_translator_cleanup (void) |
WS_DLL_PUBLIC bool | register_dfilter_translator (const char *translator_name, DFTranslator translator) |
WS_DLL_PUBLIC void | deregister_dfilter_translator (const char *translator_name) |
WS_DLL_PUBLIC char ** | get_dfilter_translator_list (void) |
WS_DLL_PUBLIC const char * | translate_dfilter (const char *translator_name, const char *dfilter) |
Wireshark - Network traffic analyzer
Copyright 1998 Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg
SPDX-License-Identifier: GPL-2.0-or-later
WS_DLL_PUBLIC void deregister_dfilter_translator | ( | const char * | translator_name | ) |
Deregister a display filter translator
translator_name | The name provided in register_dfilter_translator. |
void dfilter_translator_cleanup | ( | void | ) |
Clean up our built-in translators
void dfilter_translator_init | ( | void | ) |
Initialize our built-in translators
WS_DLL_PUBLIC char ** get_dfilter_translator_list | ( | void | ) |
Get the current translator list
WS_DLL_PUBLIC bool register_dfilter_translator | ( | const char * | translator_name, |
DFTranslator | translator | ||
) |
Register a display filter translator
translator_name | A unique, proper name for the translator, suitable for display. |
translator | A function which will handle translating the syntax tree. |
WS_DLL_PUBLIC const char * translate_dfilter | ( | const char * | translator_name, |
const char * | dfilter | ||
) |
Translate a display filter.
The root node and data pointer will be passed to the
translator_name | The name of a registered translator. |
dfilter | The Wireshark display filter to translate. |