Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
dvb_chartbl.h
Go to the documentation of this file.
1
10#pragma once
11#include "ws_symbol_export.h"
12
13#include <epan/proto.h>
14#include <epan/to_str.h>
15#include <epan/tvbuff.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
53
65WS_DLL_PUBLIC
66unsigned dvb_analyze_string_charset(tvbuff_t *tvb, int offset, int length,
67 dvb_encoding_e *encoding);
68
75WS_DLL_PUBLIC
76unsigned dvb_enc_to_item_enc(dvb_encoding_e encoding);
77
90WS_DLL_PUBLIC
91void dvb_add_chartbl(proto_tree *tree, int hf,
92 tvbuff_t *tvb, int offset, int length,
93 dvb_encoding_e encoding);
94
95#ifdef __cplusplus
96}
97#endif /* __cplusplus */
98
99/*
100 * Editor modelines - https://www.wireshark.org/tools/modelines.html
101 *
102 * Local variables:
103 * c-basic-offset: 4
104 * tab-width: 8
105 * indent-tabs-mode: nil
106 * End:
107 *
108 * vi: set shiftwidth=4 tabstop=8 expandtab:
109 * :indentSize=4:tabSize=8:noTabs=true:
110 */
WS_DLL_PUBLIC void dvb_add_chartbl(proto_tree *tree, int hf, tvbuff_t *tvb, int offset, int length, dvb_encoding_e encoding)
Adds a character table to the protocol tree.
Definition dvb_chartbl.c:269
dvb_encoding_e
Character encoding types for DVB Service Information (DVB-SI) text fields.
Definition dvb_chartbl.h:24
@ DVB_ENCODING_LATIN
Definition dvb_chartbl.h:29
@ DVB_ENCODING_ISO_8859_15
Definition dvb_chartbl.h:45
@ DVB_ENCODING_ISO_8859_10
Definition dvb_chartbl.h:41
@ DVB_ENCODING_ISO_8859_9
Definition dvb_chartbl.h:40
@ DVB_ENCODING_ISO_8859_8
Definition dvb_chartbl.h:39
@ DVB_ENCODING_ISO_8859_1
Definition dvb_chartbl.h:32
@ DVB_ENCODING_ISO_8859_2
Definition dvb_chartbl.h:33
@ DVB_ENCODING_ISO_8859_13
Definition dvb_chartbl.h:43
@ DVB_ENCODING_ISO_10646_BIG5
Definition dvb_chartbl.h:50
@ DVB_ENCODING_ISO_8859_3
Definition dvb_chartbl.h:34
@ DVB_ENCODING_ISO_8859_6
Definition dvb_chartbl.h:37
@ DVB_ENCODING_ISO_8859_5
Definition dvb_chartbl.h:36
@ DVB_ENCODING_ISO_8859_7
Definition dvb_chartbl.h:38
@ DVB_ENCODING_ISO_8859_11
Definition dvb_chartbl.h:42
@ DVB_ENCODING_GB_2312
Definition dvb_chartbl.h:49
@ DVB_ENCODING_KSX_1001
Definition dvb_chartbl.h:48
@ DVB_ENCODING_INVALID
Definition dvb_chartbl.h:25
@ DVB_ENCODING_ISO_8859_14
Definition dvb_chartbl.h:44
@ DVB_ENCODING_UNKNOWN
Definition dvb_chartbl.h:27
@ DVB_ENCODING_ISO_8859_4
Definition dvb_chartbl.h:35
@ DVB_ENCODING_RESERVED
Definition dvb_chartbl.h:26
@ DVB_ENCODING_ISO_10646_BMP
Definition dvb_chartbl.h:47
@ DVB_ENCODING_ISO_10646_UTF8_BMP
Definition dvb_chartbl.h:51
WS_DLL_PUBLIC unsigned dvb_analyze_string_charset(tvbuff_t *tvb, int offset, int length, dvb_encoding_e *encoding)
Analyzes the character set of a DVB string.
Definition dvb_chartbl.c:166
WS_DLL_PUBLIC unsigned dvb_enc_to_item_enc(dvb_encoding_e encoding)
Convert DVB encoding to item encoding.
Definition dvb_chartbl.c:211
Definition proto.h:909
Core tvbuff (testy virtual buffer) structure representing a region of packet data,...
Definition tvbuff-int.h:95