2 * Definitions for protocol registration
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
11 #ifndef __REGISTER_H__
12 #define __REGISTER_H__
17 RA_NONE, /* For initialization */
18 RA_DISSECTORS, /* Initializing dissectors */
19 RA_LISTENERS, /* Tap listeners */
20 RA_EXTCAP, /* extcap register preferences */
21 RA_REGISTER, /* Built-in dissector registration */
22 RA_PLUGIN_REGISTER, /* Plugin dissector registration */
23 RA_HANDOFF, /* Built-in dissector handoff */
24 RA_PLUGIN_HANDOFF, /* Plugin dissector handoff */
25 RA_LUA_PLUGINS, /* Lua plugin register */
26 RA_LUA_DEREGISTER, /* Lua plugin deregister */
27 RA_PREFERENCES, /* Module preferences */
28 RA_INTERFACES /* Local interfaces */
31 #define RA_BASE_COUNT (RA_INTERFACES - 3) // RA_EXTCAP, RA_LUA_PLUGINS, RA_LUA_DEREGISTER
33 typedef void (*register_cb)(register_action_e action, const char *message, gpointer client_data);
35 #endif /* __REGISTER_H__ */
38 * Editor modelines - http://www.wireshark.org/tools/modelines.html
43 * indent-tabs-mode: nil
46 * vi: set shiftwidth=4 tabstop=8 expandtab:
47 * :indentSize=4:tabSize=8:noTabs=true: