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