Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wtap_modules.h
Go to the documentation of this file.
1
12#ifndef __WTAP_MODULES_H__
13#define __WTAP_MODULES_H__
14
15#ifdef __cplusplus
16extern "C" {
17#endif /* __cplusplus */
18
25typedef struct _wtap_module_reg {
26 const char *cb_name;
27 void (*cb_func)(void);
29
36
42extern const unsigned wtap_module_count;
43
44#ifdef __cplusplus
45}
46#endif /* __cplusplus */
47
48#endif /* __WTAP_MODULES_H__ */
49
50/*
51 * Editor modelines - https://www.wireshark.org/tools/modelines.html
52 *
53 * Local Variables:
54 * c-basic-offset: 4
55 * tab-width: 8
56 * indent-tabs-mode: nil
57 * End:
58 *
59 * vi: set shiftwidth=4 tabstop=8 expandtab:
60 * :indentSize=4:tabSize=8:noTabs=true:
61 */
Definition wtap_modules.h:25
void(* cb_func)(void)
Definition wtap_modules.h:27
const char * cb_name
Definition wtap_modules.h:26
Entry in the table of built-in wiretap modules to register.
wtap_module_reg_t const wtap_module_reg[]
Table of wiretap module registrations.
const unsigned wtap_module_count
Number of built-in wiretap modules in the registration table.