| 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
25 typedef struct _wtap_module_reg {
26 const char *cb_name;
27 void (*cb_func)(void);
28} wtap_module_reg_t;
29
35extern wtap_module_reg_t const wtap_module_reg[];
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 */
_wtap_module_reg
Definition wtap_modules.h:25
_wtap_module_reg::cb_func
void(* cb_func)(void)
Definition wtap_modules.h:27
_wtap_module_reg::cb_name
const char * cb_name
Definition wtap_modules.h:26
wtap_module_reg_t
Entry in the table of built-in wiretap modules to register.
wtap_module_reg
wtap_module_reg_t const wtap_module_reg[]
Table of wiretap module registrations.
wtap_module_count
const unsigned wtap_module_count
Number of built-in wiretap modules in the registration table.