Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
dfilter-translator.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <glib.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif /* __cplusplus */
18
19/* The run-time logic of the dfilter function */
20typedef bool (*DFTranslator)(stnode_t *root_node, GString *translated);
21
22
26
30
36WS_DLL_PUBLIC
37bool register_dfilter_translator(const char *translator_name, DFTranslator translator);
38
42WS_DLL_PUBLIC
43void deregister_dfilter_translator(const char *translator_name);
44
49WS_DLL_PUBLIC
51
59WS_DLL_PUBLIC
60const char *translate_dfilter(const char *translator_name, const char *dfilter);
61
62#ifdef __cplusplus
63}
64#endif /* __cplusplus */
WS_DLL_PUBLIC void deregister_dfilter_translator(const char *translator_name)
Definition dfilter-translator.c:40
WS_DLL_PUBLIC const char * translate_dfilter(const char *translator_name, const char *dfilter)
Definition dfilter-translator.c:73
void dfilter_translator_cleanup(void)
Definition dfilter-translator.c:306
WS_DLL_PUBLIC bool register_dfilter_translator(const char *translator_name, DFTranslator translator)
Definition dfilter-translator.c:29
void dfilter_translator_init(void)
Definition dfilter-translator.c:301
WS_DLL_PUBLIC char ** get_dfilter_translator_list(void)
Definition dfilter-translator.c:48
Definition syntax-tree.h:78