Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
register.h
Go to the documentation of this file.
1
12#ifndef __REGISTER_H__
13#define __REGISTER_H__
14
15typedef enum {
16 RA_NONE, /* For initialization */
17 RA_DISSECTORS, /* Initializing dissectors */
18 RA_LISTENERS, /* Tap listeners */
19 RA_EXTCAP, /* extcap register preferences */
20 RA_REGISTER, /* Built-in dissector registration */
21 RA_PLUGIN_REGISTER, /* Plugin dissector registration */
22 RA_HANDOFF, /* Built-in dissector handoff */
23 RA_PLUGIN_HANDOFF, /* Plugin dissector handoff */
24 RA_LUA_PLUGINS, /* Lua plugin register */
25 RA_LUA_DEREGISTER, /* Lua plugin deregister */
26 RA_PREFERENCES, /* Module preferences */
27 RA_INTERFACES, /* Local interfaces */
28 RA_PREFERENCES_APPLY /* Apply changed preferences */
29} register_action_e;
30
31#define RA_BASE_COUNT (RA_INTERFACES - 3) // RA_EXTCAP, RA_LUA_PLUGINS, RA_LUA_DEREGISTER
32
33typedef void (*register_cb)(register_action_e action, const char *message, void *client_data);
34
35#endif /* __REGISTER_H__ */
36
37/*
38 * Editor modelines - https://www.wireshark.org/tools/modelines.html
39 *
40 * Local Variables:
41 * c-basic-offset: 4
42 * tab-width: 8
43 * indent-tabs-mode: nil
44 * End:
45 *
46 * vi: set shiftwidth=4 tabstop=8 expandtab:
47 * :indentSize=4:tabSize=8:noTabs=true:
48 */