| 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
16 extern "C" {
17#endif /* __cplusplus */
18
24 typedef struct _wtap_module_reg {
25 const char *cb_name;
26 void (*cb_func)(void);
27} wtap_module_reg_t;
28
34 extern wtap_module_reg_t const wtap_module_reg[];
35
41 extern 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 */
_wtap_module_reg
Entry in the table of built-in wiretap modules to register.
Definition wtap_modules.h:24
_wtap_module_reg::cb_func
void(* cb_func)(void)
Definition wtap_modules.h:26
_wtap_module_reg::cb_name
const char * cb_name
Definition wtap_modules.h:25
wtap_module_reg_t
struct _wtap_module_reg 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.