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