HTTPS (almost) everywhere.
[metze/wireshark/wip.git] / ui / taps.h
1 /* dissectors.h
2  * Definitions for protocol registration
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10
11 #ifndef __TAP_REGISTER_H__
12 #define __TAP_REGISTER_H__
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17
18 #include <glib.h>
19
20 typedef struct _tap_reg {
21     const char *cb_name;
22     void (*cb_func)(void);
23 } tap_reg_t;
24
25 extern tap_reg_t tap_reg_listener[];
26
27 extern const gulong tap_reg_listener_count;
28
29 #ifdef __cplusplus
30 }
31 #endif /* __cplusplus */
32
33 #endif /* __TAP_REGISTER_H__ */
34
35 /*
36  * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
37  *
38  * Local Variables:
39  * c-basic-offset: 4
40  * tab-width: 8
41  * indent-tabs-mode: nil
42  * End:
43  *
44  * vi: set shiftwidth=4 tabstop=8 expandtab:
45  * :indentSize=4:tabSize=8:noTabs=true:
46  */