| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
dfilter-plugin.h
Go to the documentation of this file.
1
10#ifndef DFILTER_PLUGIN_H
11#define DFILTER_PLUGIN_H
12
13#include <wireshark.h>
14
15#include <epan/dfilter/dfunctions.h>
16
17 typedef struct {
18 void (*init)(void);
19 void (*cleanup)(void);
20} dfilter_plugin;
21
22 extern GSList *dfilter_plugins;
23
29WS_DLL_PUBLIC
30 void dfilter_plugins_register(const dfilter_plugin *plugin);
31
38 void dfilter_plugins_init(void);
39
46 void dfilter_plugins_cleanup(void);
47
48#endif /* DFILTER_PLUGIN_H */
dfilter_plugins_init
void dfilter_plugins_init(void)
Initialize all registered DFilter plugins.
Definition dfilter-plugin.c:29
dfilter_plugins_register
WS_DLL_PUBLIC void dfilter_plugins_register(const dfilter_plugin *plugin)
Registers a DFilter plugin.
Definition dfilter-plugin.c:24
dfilter_plugins_cleanup
void dfilter_plugins_cleanup(void)
Cleans up all registered DFilter plugins.
Definition dfilter-plugin.c:37
dfunctions.h
_plugin
Definition plugins.c:33
dfilter_plugin
Definition dfilter-plugin.h:17