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 __DISSECTOR_REGISTER_H__
12 #define __DISSECTOR_REGISTER_H__
16 #endif /* __cplusplus */
19 #define NULL ((void*)0)
21 typedef struct _dissector_reg
{
23 void (*cb_func
)(void);
26 extern dissector_reg_t
const dissector_reg_proto
[];
27 extern dissector_reg_t
const dissector_reg_handoff
[];
29 extern const unsigned long dissector_reg_proto_count
;
30 extern const unsigned long dissector_reg_handoff_count
;
34 #endif /* __cplusplus */
36 #endif /* __DISSECTOR_REGISTER_H__ */
39 * Editor modelines - https://www.wireshark.org/tools/modelines.html
44 * indent-tabs-mode: nil
47 * vi: set shiftwidth=4 tabstop=8 expandtab:
48 * :indentSize=4:tabSize=8:noTabs=true: