Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
dvb_chartbl.h
Go to the documentation of this file.
1
10#ifndef __DVB_CHARTBL_H__
11#define __DVB_CHARTBL_H__
12
13#include "ws_symbol_export.h"
14
15#include <epan/proto.h>
16#include <epan/to_str.h>
17#include <epan/tvbuff.h>
18#include <epan/value_string.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif /* __cplusplus */
23
24typedef enum {
25 DVB_ENCODING_INVALID = -3, /* length invalid */
26 DVB_ENCODING_RESERVED = -2, /* reserved by spec */
27 DVB_ENCODING_UNKNOWN = -1, /* not defined by spec */
28
29 DVB_ENCODING_LATIN = 0,
30 /* these defines don't have to match with the values
31 from the DVB-SI specification */
32 DVB_ENCODING_ISO_8859_1,
33 DVB_ENCODING_ISO_8859_2,
34 DVB_ENCODING_ISO_8859_3,
35 DVB_ENCODING_ISO_8859_4,
36 DVB_ENCODING_ISO_8859_5,
37 DVB_ENCODING_ISO_8859_6,
38 DVB_ENCODING_ISO_8859_7,
39 DVB_ENCODING_ISO_8859_8,
40 DVB_ENCODING_ISO_8859_9,
41 DVB_ENCODING_ISO_8859_10,
42 DVB_ENCODING_ISO_8859_11,
43 DVB_ENCODING_ISO_8859_13,
44 DVB_ENCODING_ISO_8859_14,
45 DVB_ENCODING_ISO_8859_15,
46
47 DVB_ENCODING_ISO_10646_BMP,
48 DVB_ENCODING_KSX_1001,
49 DVB_ENCODING_GB_2312,
50 DVB_ENCODING_ISO_10646_BIG5,
51 DVB_ENCODING_ISO_10646_UTF8_BMP
52} dvb_encoding_e;
53
54WS_DLL_PUBLIC
55unsigned dvb_analyze_string_charset(tvbuff_t *tvb, int offset, int length,
56 dvb_encoding_e *encoding);
57
58WS_DLL_PUBLIC
59unsigned dvb_enc_to_item_enc(dvb_encoding_e encoding);
60
61WS_DLL_PUBLIC
62void dvb_add_chartbl(proto_tree *tree, int hf,
63 tvbuff_t *tvb, int offset, int length,
64 dvb_encoding_e encoding);
65
66#ifdef __cplusplus
67}
68#endif /* __cplusplus */
69
70#endif /* __DVB_CHARTBL_H__ */
71
72/*
73 * Editor modelines - https://www.wireshark.org/tools/modelines.html
74 *
75 * Local variables:
76 * c-basic-offset: 4
77 * tab-width: 8
78 * indent-tabs-mode: nil
79 * End:
80 *
81 * vi: set shiftwidth=4 tabstop=8 expandtab:
82 * :indentSize=4:tabSize=8:noTabs=true:
83 */
Definition proto.h:903
Definition tvbuff-int.h:35