Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
plugin_exports.h
Go to the documentation of this file.
1
11#pragma once
12
13#ifndef WS_BUILD_DLL
14#error "WS_BUILD_DLL isn't defined when building this plugin"
15#endif
16
17#include <ws_symbol_export.h>
18#include <stdint.h>
19
21WS_DLL_PUBLIC const char plugin_version[];
22
24WS_DLL_PUBLIC const int plugin_want_major;
25
27WS_DLL_PUBLIC const int plugin_want_minor;
28
29
33WS_DLL_PUBLIC void plugin_register(void);
34
42WS_DLL_PUBLIC uint32_t plugin_describe(void);
WS_DLL_PUBLIC const int plugin_want_major
Major version of Wireshark this plugin was compiled against.
Definition plugin_exports.h:24
WS_DLL_PUBLIC void plugin_register(void)
Registers the plugin's protocols, dissectors, or other components with Wireshark.
Definition ipaddr.c:410
WS_DLL_PUBLIC const char plugin_version[]
Version string of this plugin (e.g. "1.0.0").
Definition plugin_exports.h:21
WS_DLL_PUBLIC const int plugin_want_minor
Minor version of Wireshark this plugin was compiled against.
Definition plugin_exports.h:27
WS_DLL_PUBLIC uint32_t plugin_describe(void)
Returns a bitmask describing the capabilities/type of this plugin.
Definition ipaddr.c:420