Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
epan
dissectors
dissectors.h
1
/* dissectors.h
2
* Definitions for protocol registration
3
*
4
* Wireshark - Network traffic analyzer
5
* By Gerald Combs <gerald@wireshark.org>
6
* Copyright 1998 Gerald Combs
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#ifndef __DISSECTOR_REGISTER_H__
12
#define __DISSECTOR_REGISTER_H__
13
14
#include "ws_symbol_export.h"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
#include <glib.h>
21
22
typedef
struct
_dissector_reg
{
23
const
char
*cb_name;
24
void (*cb_func)(void);
25
}
dissector_reg_t
;
26
27
WS_DLL_PUBLIC
dissector_reg_t
dissector_reg_proto[];
28
WS_DLL_PUBLIC
dissector_reg_t
dissector_reg_handoff[];
29
30
WS_DLL_PUBLIC
const
gulong dissector_reg_proto_count;
31
WS_DLL_PUBLIC
const
gulong dissector_reg_handoff_count;
32
33
#ifdef __cplusplus
34
}
35
#endif
/* __cplusplus */
36
37
#endif
/* __DISSECTOR_REGISTER_H__ */
38
39
/*
40
* Editor modelines - http://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
*/
_dissector_reg
Definition:
dissectors.h:22
Generated by
1.8.11