Revert "UNUSED enc_key_id_{equal,hash}"
[wireshark-sm.git] / wiretap / wtap_modules.h
blob5bbbf745a83f322ea760314a331547d65c850fca
1 /** @file
3 * Definitions for wiretap module 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 __WTAP_MODULES_H__
13 #define __WTAP_MODULES_H__
15 #include <glib.h>
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
22 * Entry in the table of built-in wiretap modules to register.
24 typedef struct _wtap_module_reg {
25 const char *cb_name;
26 void (*cb_func)(void);
27 } wtap_module_reg_t;
29 extern wtap_module_reg_t const wtap_module_reg[];
31 extern const unsigned wtap_module_count;
33 #ifdef __cplusplus
35 #endif /* __cplusplus */
37 #endif /* __WTAP_MODULES_H__ */
40 * Editor modelines - https://www.wireshark.org/tools/modelines.html
42 * Local Variables:
43 * c-basic-offset: 4
44 * tab-width: 8
45 * indent-tabs-mode: nil
46 * End:
48 * vi: set shiftwidth=4 tabstop=8 expandtab:
49 * :indentSize=4:tabSize=8:noTabs=true: