Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / plugins / epan / unistim / display.h
blob7b478cdd72bfdb06b2bda6da0f7bfb72910a6304
1 /*display.h
2 * header field declarations, value_string def and true_false_string
3 * definitions for display manager messages
4 * Copyright 2007 Don Newton <dnewton@cypresscom.net>
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef UNISTIM_DISPLAY_H
14 #define UNISTIM_DISPLAY_H
16 static int hf_display_write_cursor_move;
17 static int hf_display_write_clear_left;
18 static int hf_display_write_clear_right;
19 static int hf_display_write_shift_left;
20 static int hf_display_write_shift_right;
21 static int hf_display_write_highlight;
22 static int hf_display_write_tag;
23 static int hf_display_write_address_numeric;
24 static int hf_display_write_address_context;
25 static int hf_display_write_address_line;
26 static int hf_display_write_address_soft_key;
27 static int hf_display_write_address_soft_label;
28 static int hf_display_write_address_softkey_id;
29 static int hf_display_write_address_char_pos;
30 static int hf_display_write_address_line_number;
31 static int hf_display_cursor_move_cmd;
32 static int hf_display_cursor_blink;
33 static int hf_icon_id;
34 static int hf_display_arrow;
35 static int hf_display_clear_numeric;
36 static int hf_display_clear_context;
37 static int hf_display_clear_date;
38 static int hf_display_clear_time;
39 static int hf_display_clear_line;
40 static int hf_display_clear_status_bar_icon;
41 static int hf_display_clear_softkey;
42 static int hf_display_clear_softkey_label;
43 static int hf_display_clear_line_1;
44 static int hf_display_clear_line_2;
45 static int hf_display_clear_line_3;
46 static int hf_display_clear_line_4;
47 static int hf_display_clear_line_5;
48 static int hf_display_clear_line_6;
49 static int hf_display_clear_line_7;
50 static int hf_display_clear_line_8;
51 static int hf_display_clear_status_bar_icon_1;
52 static int hf_display_clear_status_bar_icon_2;
53 static int hf_display_clear_status_bar_icon_3;
54 static int hf_display_clear_status_bar_icon_4;
55 static int hf_display_clear_status_bar_icon_5;
56 static int hf_display_clear_status_bar_icon_6;
57 static int hf_display_clear_status_bar_icon_7;
58 static int hf_display_clear_status_bar_icon_8;
59 static int hf_display_clear_soft_key_1;
60 static int hf_display_clear_soft_key_2;
61 static int hf_display_clear_soft_key_3;
62 static int hf_display_clear_soft_key_4;
63 static int hf_display_clear_soft_key_5;
64 static int hf_display_clear_soft_key_6;
65 static int hf_display_clear_soft_key_7;
66 static int hf_display_clear_soft_key_8;
67 static int hf_display_clear_sk_label_key_id;
68 static int hf_display_clear_all_slks;
71 static int hf_display_line_width;
72 static int hf_display_lines;
73 static int hf_display_softkey_width;
74 static int hf_display_softkeys;
75 static int hf_display_icon;
76 static int hf_display_softlabel_key_width;
77 static int hf_display_context_width;
78 static int hf_display_numeric_width;
79 static int hf_display_time_width;
80 static int hf_display_date_width;
81 static int hf_display_char_dload;
82 static int hf_display_freeform_icon_dload;
83 static int hf_display_icon_type;
84 static int hf_display_charsets;
85 static int hf_display_contrast;
86 static int hf_display_cursor_numeric;
87 static int hf_display_cursor_context;
88 static int hf_display_cursor_line;
89 static int hf_display_cursor_softkey;
90 static int hf_display_cursor_softkey_id;
91 static int hf_display_cursor_char_pos;
92 static int hf_display_cursor_line_number;
93 static int hf_display_hlight_start;
94 static int hf_display_hlight_end;
95 static int hf_display_date_format;
96 static int hf_display_time_format;
97 static int hf_display_use_time_format;
98 static int hf_display_use_date_format;
99 static int hf_display_context_format;
100 static int hf_display_context_field;
101 static int hf_display_char_address;
102 static int hf_display_layer_number;
103 static int hf_display_layer_skey_id;
104 static int hf_display_layer_all_skeys;
105 static int hf_display_once_or_cyclic;
106 static int hf_display_layer_duration;
107 static int hf_display_call_timer_mode;
108 static int hf_display_call_timer_reset;
109 static int hf_display_call_timer_display;
110 static int hf_display_call_timer_delay;
111 static int hf_display_call_timer_id;
114 static const value_string arrow_dirs[]={
115 {0x00,"Down"},
116 {0x01,"Up"},
117 {0x02,"Right"},
118 {0x03,"Left"},
119 {0,NULL}
123 static const value_string cursor_move_cmds[]={
124 {0x00,"Set cursor at home (first character on the first text line)"},
125 {0x01,"Set cursor at the address specified in the following byte"},
126 {0x02,"Move the cursor by one to the left"},
127 {0x03,"Move the cursor by one to the right"},
128 {0x04,"Move the cursor to the left as specified by the Character Position field contained in the last byte"},
129 {0x05,"Move the cursor to the right as specified by the Character Position field contained in the last byte"},
130 {0x06,"Cursor ON"},
131 {0x07,"Cursor OFF"},
132 {0xff,"No Movement command"},
133 {0,NULL}
136 static const value_string display_switch_msgs[]={
137 {0x01,"Restore Default Character Table Configuration"},
138 {0x04,"Arrow"},
139 {0x05,"Query Status Bar Icon"},
140 {0x06,"Highlight Off"},
141 {0x07,"Highlight On"},
142 {0x09,"Restore Time and Date"},
143 {0x0a,"Clear Time and Date"},
144 {0x0b,"Call Duration Timer"},
145 {0x0c,"Query Display Manager"},
146 {0x0d,"Download Call Duration Timer Delay"},
147 {0x0e,"Disable Display Field"},
148 {0x0f,"Clear Field"},
149 {0x10,"Cursor Control"},
150 {0x12,"Display Scroll with Data (before)"},
151 {0x13,"Display Scroll with Data (after)"},
152 {0x14,"Status Bar Icon Update"},
153 {0x15,"Month Labels Download"},
154 {0x16,"Call Duration Timer Label Download"},
155 {0x17,"Time and Date Format"},
156 {0x18,"Display Data Write address|no control|no tag|no"},
157 {0x19,"Display Data Write address|yes control|no tag|no"},
158 {0x1a,"Display Data Write address|no control|yes tag|no"},
159 {0x1b,"Display Data Write address|yes control|yes tag|no"},
160 {0x1c,"Display Data Write address|no control|no tag|yes"},
161 {0x1d,"Display Data Write address|yes control|no tag|yes"},
162 {0x1e,"Display Data Write address|no control|yes tag|yes"},
163 {0x1f,"Display Data Write address|yes control|yes tag|yes"},
164 {0x20,"Context Info Bar Format"},
165 {0x21,"Set Default Character Table Configuration"},
166 {0x22,"Special Character Download"},
167 {0x23,"Highlighted Field Definition"},
168 {0x24,"Contrast"},
169 {0x25,"Caller Log Download"},
170 {0x30,"Layered Softkey Text Download"},
171 {0x31,"Layered Softkey Clear"},
172 {0x32,"Set Visible Softkey Layer"},
173 {0x33,"Layered Softkey Cadence Download"},
174 {0x34,"Layered Softkey Cadencing On"},
175 {0x35,"Layered Softkey Cadencing Off"},
176 {0xff,"Reserved"},
177 {0,NULL}
179 static const value_string display_phone_msgs[]={
180 {0x00,"Display Manager Attributes Info"},
181 {0x01,"Contrast Level Report"},
182 {0x02,"Cursor Location Report"},
183 {0x03,"Highlight Status On"},
184 {0x04,"Current Character Table Configuration Status"},
185 {0x05,"Default Character Table Configuration Status"},
186 {0x06,"Timer And Date Format Report"},
187 {0x07,"Status Bar Icon State Report"},
188 {0x0a,"Highlight Status Off"},
189 {0xff,"Reserved"},
190 {0,NULL}
193 static const true_false_string once_or_cyclic={
194 "After the full cadence sequence is executed, softkey field will be updated ",
195 "After the full cadence sequence is executed, it is restarted from the top"
199 static const value_string display_formats[]={
200 {0x00,"None"},
201 {0x01,"Underline"},
202 {0x02,"Overline"},
203 {0x03,"Marquee (combination of an overline and an underline)"},
204 {0x04,"Border"},
205 {0x05,"Reverse-video"},
206 {0x06,"Reverse-video with border"},
207 {0,NULL}
209 static const value_string display_format_fields[]={
210 {0x00,"Numeric Index field"},
211 {0x01,"Context field"},
212 {0x02,"Date field"},
213 {0x03,"Time field"},
214 {0,NULL}
218 static const value_string time_formats[]={
219 {0x00,"12-hour clock, e.g. 10:34pm"},
220 {0x01,"French clock, e.g. 22h34"},
221 {0x02,"24-hour clock, e.g. 22:34"},
222 {0x03,"Reserved"},
223 {0,NULL}
226 static const value_string date_formats[]={
227 {0x00,"Day first, e.g. 16Sep"},
228 {0x01,"Month first, e.g. Sep16"},
229 {0x02," Numeric standard, e.g. 09/16"},
230 {0x03,"Numeric inverse, e.g. 16/09"},
231 {0,NULL}
234 static const value_string icon_types[]={
235 {0x00,"Fixed Form Icons"},
236 {0x01,"Free Form Icons"},
237 {0,NULL}
240 static const true_false_string call_duration_timer_mode={
241 "Mode = start timer",
242 "Mode = stop timer"
245 static const true_false_string call_duration_timer_reset={
246 "Reset time to zero",
247 "Do not reset timer"
250 static const true_false_string call_duration_display_timer={
251 "Call Duration timer is shown on the display",
252 "Call Duration timer is not shown on the display"
255 static const true_false_string call_duration_timer_delay={
256 "Action occurs after Call Duration Timer Delay",
257 "Action occurs immediately"
260 #endif