Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / plugins / epan / unistim / key.h
blobbf7d68b35e93caf0f246adc126f056426beb4972
1 /* key.h
2 * header field declarations, value_string def and true_false_string
3 * definitions for key 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_KEY_H
14 #define UNISTIM_KEY_H
17 static int hf_key_icon_id;
18 static int hf_key_led_cadence;
19 static int hf_key_led_id;
20 static int hf_key_programmable_keys;
21 static int hf_keys_soft_keys;
22 static int hf_keys_hd_key;
23 static int hf_keys_mute_key;
24 static int hf_keys_quit_key;
25 static int hf_keys_copy_key;
26 static int hf_keys_mwi_key;
27 static int hf_keys_num_nav_keys;
28 static int hf_keys_num_conspic_keys;
29 static int hf_keys_send_key_rel;
30 static int hf_keys_enable_vol;
31 static int hf_keys_conspic_prog_key;
32 static int hf_keys_acd_super_control;
33 static int hf_keys_local_dial_feedback;
34 static int hf_keys_admin_command;
35 static int hf_keys_logical_icon_id;
36 static int hf_keys_repeat_timer_one;
37 static int hf_keys_repeat_timer_two;
38 static int hf_keys_led_id;
39 static int hf_keys_phone_icon_id;
40 static int hf_keys_cadence_on_time;
41 static int hf_keys_cadence_off_time;
42 static int hf_keys_user_activity_timeout;
44 static const value_string keys_led_ids[]={
45 {0x00,"Message Waiting LED"},
46 {0x01,"Handsfree or Supervisor Access* LED"},
47 {0x02,"Headset LED"},
48 {0x03,"Mute LED"},
49 {0x07,"Query all LEDs"},
50 {0,NULL}
54 static const value_string admin_commands[]={
55 {0x00,"Global NIL mapping"},
56 {0x01,"One-to-one mapping"},
57 {0x02,"Single mapping"},
58 {0x03,"RESERVED"},
59 {0,NULL}
62 static const value_string key_switch_msgs[]={
63 {0x00,"LED Update"},
64 {0x01,"Query Hookswitch"},
65 {0x02,"User Activity Timer Stop"},
66 {0x03,"User Activity Timer Start"},
67 {0x04,"Downloadable Free Form Icon Access (Hardcoded)"},
68 {0x05,"Downloadable Free Form Icon Access (Downloadable)"},
69 {0x06,"Query Key/Indicator Manager"},
70 {0x07,"Key/Indicator Manager Options"},
71 {0x08,"Logical Icon Mapping"},
72 {0x09,"Key Repeat Timer Download"},
73 {0x0a,"Query LED State"},
74 {0x0b,"Query Phone Icon State"},
75 {0x0c,"Indicator Cadence Download"},
76 {0x0d,"User Activity Timer Download"},
77 {0x0e,"Free Form Icon Download"},
78 {0x0f,"Phone Icon Update"},
79 {0xff,"Reserved"},
80 {0,NULL}
82 static const value_string key_phone_msgs[]={
83 {0x00,"Key Event"},
84 {0x01,"LED Status Report"},
85 {0x03,"On Hook"},
86 {0x04,"Off Hook"},
87 {0x05,"User Activity Timer Expired"},
88 {0x06,"Hookswitch State (on hook)"},
89 {0x07,"Hookswitch State (off hook)"},
90 {0x08,"Key/Indicator Manager Attributes Info"},
91 {0x09,"Key/Indicator Manager Options Report"},
92 {0x0a,"Phone Icon Status Report"},
93 {0xff,"Reserved"},
94 {0,NULL}
98 static const true_false_string key_release={
99 "The Key code will be sent when a valid key release occurs",
100 "No command will be sent when a key is released"
102 static const true_false_string enable_vol={
103 "Volume key depression will be sent",
104 "Volume Key depression will not be sent"
106 static const true_false_string conspic_prog={
107 "Forces the keycode associated with conspicuous key0 to be the same as progkey0",
108 "Conspicuous value key 0 and programmable key 0 have different keycodes"
110 static const true_false_string acd_supervisor={
111 "ACD supervisor path and indicator controlled by the Switch",
112 "ACD supervisor path and indicator controlled by the Phone"
115 static const value_string local_dialpad_feedback[]={
116 {0x00,"No tone feedback provided when a dial pad key is depressed"},
117 {0x01,"Short 'click' provided when a dial pad key is depressed"},
118 {0x02,"Corresponding DTMF tone provided when a dial pad key is depressed"},
119 {0x03,"Reserved"},
120 {0,NULL}
123 static const value_string number_nav_keys[]={
124 {0x00,"no navigation keys"},
125 {0x01,"two navigation keys"},
126 {0x02,"four navigation keys"},
127 {0x03,"not available"},
128 {0,NULL}
131 static const value_string led_ids[]={
132 {0x00,"Message Waiting LED"},
133 {0x01,"Handsfree or Supervisor Access* LED"},
134 {0x02,"Headset LED"},
135 {0x03,"Mute LED"},
136 {0,NULL}
139 static const value_string led_cadences[]={
140 {0x00,"Off"},
141 {0x01,"On"},
142 {0x02,"Flash"},
143 {0x03,"Flicker"},
144 {0x04,""},
145 {0x05,""},
146 {0x06,"Blink"},
147 {0x07,"Downloadable cadence"},
148 {0,NULL}
152 #endif