Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / dissectors.h
blob84008028f2c9dd017981585f6706baef69094af0
1 /* dissectors.h
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
9 */
11 #ifndef __DISSECTOR_REGISTER_H__
12 #define __DISSECTOR_REGISTER_H__
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
18 #ifndef NULL
19 #define NULL ((void*)0)
20 #endif
21 typedef struct _dissector_reg {
22 const char *cb_name;
23 void (*cb_func)(void);
24 } dissector_reg_t;
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;
32 #ifdef __cplusplus
34 #endif /* __cplusplus */
36 #endif /* __DISSECTOR_REGISTER_H__ */
39 * Editor modelines - https://www.wireshark.org/tools/modelines.html
41 * Local Variables:
42 * c-basic-offset: 4
43 * tab-width: 8
44 * indent-tabs-mode: nil
45 * End:
47 * vi: set shiftwidth=4 tabstop=8 expandtab:
48 * :indentSize=4:tabSize=8:noTabs=true: