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__
19 #endif /* __cplusplus */
22 * Entry in the table of built-in wiretap modules to register.
24 typedef struct _wtap_module_reg
{
26 void (*cb_func
)(void);
29 extern wtap_module_reg_t
const wtap_module_reg
[];
31 extern const unsigned wtap_module_count
;
35 #endif /* __cplusplus */
37 #endif /* __WTAP_MODULES_H__ */
40 * Editor modelines - https://www.wireshark.org/tools/modelines.html
45 * indent-tabs-mode: nil
48 * vi: set shiftwidth=4 tabstop=8 expandtab:
49 * :indentSize=4:tabSize=8:noTabs=true: