3 * Definitions for protocol registration
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __REGISTER_H__
13 #define __REGISTER_H__
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 */
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
, void *client_data
);
35 #endif /* __REGISTER_H__ */
38 * Editor modelines - https://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: