Wireshark  4.3.0
The Wireshark network protocol analyzer
wtap_modules.h
Go to the documentation of this file.
1 
12 #ifndef __WTAP_MODULES_H__
13 #define __WTAP_MODULES_H__
14 
15 #include <glib.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
20 
21 /*
22  * Entry in the table of built-in wiretap modules to register.
23  */
24 typedef struct _wtap_module_reg {
25  const char *cb_name;
26  void (*cb_func)(void);
28 
29 extern wtap_module_reg_t const wtap_module_reg[];
30 
31 extern const unsigned wtap_module_count;
32 
33 #ifdef __cplusplus
34 }
35 #endif /* __cplusplus */
36 
37 #endif /* __WTAP_MODULES_H__ */
38 
39 /*
40  * Editor modelines - https://www.wireshark.org/tools/modelines.html
41  *
42  * Local Variables:
43  * c-basic-offset: 4
44  * tab-width: 8
45  * indent-tabs-mode: nil
46  * End:
47  *
48  * vi: set shiftwidth=4 tabstop=8 expandtab:
49  * :indentSize=4:tabSize=8:noTabs=true:
50  */
Definition: wtap_modules.h:24