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 __TAP_REGISTER_H__
12 #define __TAP_REGISTER_H__
16 #endif /* __cplusplus */
20 typedef struct _tap_reg {
22 void (*cb_func)(void);
25 extern tap_reg_t tap_reg_listener[];
27 extern const gulong tap_reg_listener_count;
31 #endif /* __cplusplus */
33 #endif /* __TAP_REGISTER_H__ */
36 * Editor modelines - https://www.wireshark.org/tools/modelines.html
41 * indent-tabs-mode: nil
44 * vi: set shiftwidth=4 tabstop=8 expandtab:
45 * :indentSize=4:tabSize=8:noTabs=true: