Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
x11-enum.h
1 /* Do not modify this file. */
2 /* It was automatically generated by ../../tools/process-x11-xcb.pl
3  using xcbproto version 1.12-9-g97fbba2 */
4 /*
5  * Copyright 2008, 2009, 2013, 2014 Open Text Corporation <pharris[AT]opentext.com>
6  *
7  * Wireshark - Network traffic analyzer
8  * By Gerald Combs <gerald[AT]wireshark.org>
9  * Copyright 1998 Gerald Combs
10  *
11  * SPDX-License-Identifier: GPL-2.0-or-later
12  */
13 
14 static const value_string x11_enum_render_PictType[] = {
15  { 0, "Indexed" },
16  { 1, "Direct" },
17  { 0, NULL },
18 };
19 
20 static const value_string x11_enum_composite_Redirect[] = {
21  { 0, "Automatic" },
22  { 1, "Manual" },
23  { 0, NULL },
24 };
25 
26 static const value_string x11_enum_damage_ReportLevel[] = {
27  { 0, "RawRectangles" },
28  { 1, "DeltaRectangles" },
29  { 2, "BoundingBox" },
30  { 3, "NonEmpty" },
31  { 0, NULL },
32 };
33 
34 static const value_string x11_enum_xfixes_Region[] = {
35  { 0, "None" },
36  { 0, NULL },
37 };
38 
39 static const value_string x11_enum_dpms_DPMSMode[] = {
40  { 0, "On" },
41  { 1, "Standby" },
42  { 2, "Suspend" },
43  { 3, "Off" },
44  { 0, NULL },
45 };
46 
47 static const value_string x11_enum_dri2_Attachment[] = {
48  { 0, "BufferFrontLeft" },
49  { 1, "BufferBackLeft" },
50  { 2, "BufferFrontRight" },
51  { 3, "BufferBackRight" },
52  { 4, "BufferDepth" },
53  { 5, "BufferStencil" },
54  { 6, "BufferAccum" },
55  { 7, "BufferFakeFrontLeft" },
56  { 8, "BufferFakeFrontRight" },
57  { 9, "BufferDepthStencil" },
58  { 10, "BufferHiz" },
59  { 0, NULL },
60 };
61 
62 static const value_string x11_enum_dri2_DriverType[] = {
63  { 0, "DRI" },
64  { 1, "VDPAU" },
65  { 0, NULL },
66 };
67 
68 static const value_string x11_enum_randr_Connection[] = {
69  { 0, "Connected" },
70  { 1, "Disconnected" },
71  { 2, "Unknown" },
72  { 0, NULL },
73 };
74 
75 static const value_string x11_enum_render_SubPixel[] = {
76  { 0, "Unknown" },
77  { 1, "HorizontalRGB" },
78  { 2, "HorizontalBGR" },
79  { 3, "VerticalRGB" },
80  { 4, "VerticalBGR" },
81  { 5, "None" },
82  { 0, NULL },
83 };
84 
85 static const value_string x11_enum_xproto_Property[] = {
86  { 0, "NewValue" },
87  { 1, "Delete" },
88  { 0, NULL },
89 };
90 
91 static const value_string x11_enum_sync_VALUETYPE[] = {
92  { 0, "Absolute" },
93  { 1, "Relative" },
94  { 0, NULL },
95 };
96 
97 static const value_string x11_enum_sync_TESTTYPE[] = {
98  { 0, "PositiveTransition" },
99  { 1, "NegativeTransition" },
100  { 2, "PositiveComparison" },
101  { 3, "NegativeComparison" },
102  { 0, NULL },
103 };
104 
105 static const value_string x11_enum_present_CompleteKind[] = {
106  { 0, "Pixmap" },
107  { 1, "NotifyMSC" },
108  { 0, NULL },
109 };
110 
111 static const value_string x11_enum_present_CompleteMode[] = {
112  { 0, "Copy" },
113  { 1, "Flip" },
114  { 2, "Skip" },
115  { 0, NULL },
116 };
117 
118 static const value_string x11_enum_randr_SetConfig[] = {
119  { 0, "Success" },
120  { 1, "InvalidConfigTime" },
121  { 2, "InvalidTime" },
122  { 3, "Failed" },
123  { 0, NULL },
124 };
125 
126 static const value_string x11_enum_xproto_PropMode[] = {
127  { 0, "Replace" },
128  { 1, "Prepend" },
129  { 2, "Append" },
130  { 0, NULL },
131 };
132 
133 static const value_string x11_enum_xproto_GetPropertyType[] = {
134  { 0, "Any" },
135  { 0, NULL },
136 };
137 
138 static const value_string x11_enum_xproto_Atom[] = {
139  { 0, "Any" },
140  { 1, "PRIMARY" },
141  { 2, "SECONDARY" },
142  { 3, "ARC" },
143  { 4, "ATOM" },
144  { 5, "BITMAP" },
145  { 6, "CARDINAL" },
146  { 7, "COLORMAP" },
147  { 8, "CURSOR" },
148  { 9, "CUT_BUFFER0" },
149  { 10, "CUT_BUFFER1" },
150  { 11, "CUT_BUFFER2" },
151  { 12, "CUT_BUFFER3" },
152  { 13, "CUT_BUFFER4" },
153  { 14, "CUT_BUFFER5" },
154  { 15, "CUT_BUFFER6" },
155  { 16, "CUT_BUFFER7" },
156  { 17, "DRAWABLE" },
157  { 18, "FONT" },
158  { 19, "INTEGER" },
159  { 20, "PIXMAP" },
160  { 21, "POINT" },
161  { 22, "RECTANGLE" },
162  { 23, "RESOURCE_MANAGER" },
163  { 24, "RGB_COLOR_MAP" },
164  { 25, "RGB_BEST_MAP" },
165  { 26, "RGB_BLUE_MAP" },
166  { 27, "RGB_DEFAULT_MAP" },
167  { 28, "RGB_GRAY_MAP" },
168  { 29, "RGB_GREEN_MAP" },
169  { 30, "RGB_RED_MAP" },
170  { 31, "STRING" },
171  { 32, "VISUALID" },
172  { 33, "WINDOW" },
173  { 34, "WM_COMMAND" },
174  { 35, "WM_HINTS" },
175  { 36, "WM_CLIENT_MACHINE" },
176  { 37, "WM_ICON_NAME" },
177  { 38, "WM_ICON_SIZE" },
178  { 39, "WM_NAME" },
179  { 40, "WM_NORMAL_HINTS" },
180  { 41, "WM_SIZE_HINTS" },
181  { 42, "WM_ZOOM_HINTS" },
182  { 43, "MIN_SPACE" },
183  { 44, "NORM_SPACE" },
184  { 45, "MAX_SPACE" },
185  { 46, "END_SPACE" },
186  { 47, "SUPERSCRIPT_X" },
187  { 48, "SUPERSCRIPT_Y" },
188  { 49, "SUBSCRIPT_X" },
189  { 50, "SUBSCRIPT_Y" },
190  { 51, "UNDERLINE_POSITION" },
191  { 52, "UNDERLINE_THICKNESS" },
192  { 53, "STRIKEOUT_ASCENT" },
193  { 54, "STRIKEOUT_DESCENT" },
194  { 55, "ITALIC_ANGLE" },
195  { 56, "X_HEIGHT" },
196  { 57, "QUAD_WIDTH" },
197  { 58, "WEIGHT" },
198  { 59, "POINT_SIZE" },
199  { 60, "RESOLUTION" },
200  { 61, "COPYRIGHT" },
201  { 62, "NOTICE" },
202  { 63, "FONT_NAME" },
203  { 64, "FAMILY_NAME" },
204  { 65, "FULL_NAME" },
205  { 66, "CAP_HEIGHT" },
206  { 67, "WM_CLASS" },
207  { 68, "WM_TRANSIENT_FOR" },
208  { 0, NULL },
209 };
210 
211 static const value_string x11_enum_randr_Notify[] = {
212  { 0, "CrtcChange" },
213  { 1, "OutputChange" },
214  { 2, "OutputProperty" },
215  { 3, "ProviderChange" },
216  { 4, "ProviderProperty" },
217  { 5, "ResourceChange" },
218  { 0, NULL },
219 };
220 
221 static const value_string x11_enum_render_Repeat[] = {
222  { 0, "None" },
223  { 1, "Normal" },
224  { 2, "Pad" },
225  { 3, "Reflect" },
226  { 0, NULL },
227 };
228 
229 static const value_string x11_enum_xproto_SubwindowMode[] = {
230  { 0, "ClipByChildren" },
231  { 1, "IncludeInferiors" },
232  { 0, NULL },
233 };
234 
235 static const value_string x11_enum_render_PolyEdge[] = {
236  { 0, "Sharp" },
237  { 1, "Smooth" },
238  { 0, NULL },
239 };
240 
241 static const value_string x11_enum_render_PolyMode[] = {
242  { 0, "Precise" },
243  { 1, "Imprecise" },
244  { 0, NULL },
245 };
246 
247 static const value_string x11_enum_render_PictOp[] = {
248  { 0, "Clear" },
249  { 1, "Src" },
250  { 2, "Dst" },
251  { 3, "Over" },
252  { 4, "OverReverse" },
253  { 5, "In" },
254  { 6, "InReverse" },
255  { 7, "Out" },
256  { 8, "OutReverse" },
257  { 9, "Atop" },
258  { 10, "AtopReverse" },
259  { 11, "Xor" },
260  { 12, "Add" },
261  { 13, "Saturate" },
262  { 16, "DisjointClear" },
263  { 17, "DisjointSrc" },
264  { 18, "DisjointDst" },
265  { 19, "DisjointOver" },
266  { 20, "DisjointOverReverse" },
267  { 21, "DisjointIn" },
268  { 22, "DisjointInReverse" },
269  { 23, "DisjointOut" },
270  { 24, "DisjointOutReverse" },
271  { 25, "DisjointAtop" },
272  { 26, "DisjointAtopReverse" },
273  { 27, "DisjointXor" },
274  { 32, "ConjointClear" },
275  { 33, "ConjointSrc" },
276  { 34, "ConjointDst" },
277  { 35, "ConjointOver" },
278  { 36, "ConjointOverReverse" },
279  { 37, "ConjointIn" },
280  { 38, "ConjointInReverse" },
281  { 39, "ConjointOut" },
282  { 40, "ConjointOutReverse" },
283  { 41, "ConjointAtop" },
284  { 42, "ConjointAtopReverse" },
285  { 43, "ConjointXor" },
286  { 48, "Multiply" },
287  { 49, "Screen" },
288  { 50, "Overlay" },
289  { 51, "Darken" },
290  { 52, "Lighten" },
291  { 53, "ColorDodge" },
292  { 54, "ColorBurn" },
293  { 55, "HardLight" },
294  { 56, "SoftLight" },
295  { 57, "Difference" },
296  { 58, "Exclusion" },
297  { 59, "HSLHue" },
298  { 60, "HSLSaturation" },
299  { 61, "HSLColor" },
300  { 62, "HSLLuminosity" },
301  { 0, NULL },
302 };
303 
304 static const value_string x11_enum_render_Picture[] = {
305  { 0, "None" },
306  { 0, NULL },
307 };
308 
309 static const value_string x11_enum_screensaver_Kind[] = {
310  { 0, "Blanked" },
311  { 1, "Internal" },
312  { 2, "External" },
313  { 0, NULL },
314 };
315 
316 static const value_string x11_enum_xproto_WindowClass[] = {
317  { 0, "CopyFromParent" },
318  { 1, "InputOutput" },
319  { 2, "InputOnly" },
320  { 0, NULL },
321 };
322 
323 static const value_string x11_enum_xproto_BackPixmap[] = {
324  { 0, "None" },
325  { 1, "ParentRelative" },
326  { 0, NULL },
327 };
328 
329 static const value_string x11_enum_xproto_Pixmap[] = {
330  { 0, "None" },
331  { 0, NULL },
332 };
333 
334 static const value_string x11_enum_xproto_Gravity[] = {
335  { 0, "WinUnmap" },
336  { 1, "NorthWest" },
337  { 2, "North" },
338  { 3, "NorthEast" },
339  { 4, "West" },
340  { 5, "Center" },
341  { 6, "East" },
342  { 7, "SouthWest" },
343  { 8, "South" },
344  { 9, "SouthEast" },
345  { 10, "Static" },
346  { 0, NULL },
347 };
348 
349 static const value_string x11_enum_xproto_BackingStore[] = {
350  { 0, "NotUseful" },
351  { 1, "WhenMapped" },
352  { 2, "Always" },
353  { 0, NULL },
354 };
355 
356 static const value_string x11_enum_xproto_Colormap[] = {
357  { 0, "None" },
358  { 0, NULL },
359 };
360 
361 static const value_string x11_enum_xproto_Cursor[] = {
362  { 0, "None" },
363  { 0, NULL },
364 };
365 
366 static const value_string x11_enum_shape_SO[] = {
367  { 0, "Set" },
368  { 1, "Union" },
369  { 2, "Intersect" },
370  { 3, "Subtract" },
371  { 4, "Invert" },
372  { 0, NULL },
373 };
374 
375 static const value_string x11_enum_shape_SK[] = {
376  { 0, "Bounding" },
377  { 1, "Clip" },
378  { 2, "Input" },
379  { 0, NULL },
380 };
381 
382 static const value_string x11_enum_xproto_ClipOrdering[] = {
383  { 0, "Unsorted" },
384  { 1, "YSorted" },
385  { 2, "YXSorted" },
386  { 3, "YXBanded" },
387  { 0, NULL },
388 };
389 
390 static const value_string x11_enum_sync_ALARMSTATE[] = {
391  { 0, "Active" },
392  { 1, "Inactive" },
393  { 2, "Destroyed" },
394  { 0, NULL },
395 };
396 
397 static const value_string x11_enum_xfixes_SaveSetMode[] = {
398  { 0, "Insert" },
399  { 1, "Delete" },
400  { 0, NULL },
401 };
402 
403 static const value_string x11_enum_xfixes_SaveSetTarget[] = {
404  { 0, "Nearest" },
405  { 1, "Root" },
406  { 0, NULL },
407 };
408 
409 static const value_string x11_enum_xfixes_SaveSetMapping[] = {
410  { 0, "Map" },
411  { 1, "Unmap" },
412  { 0, NULL },
413 };
414 
415 static const value_string x11_enum_xfixes_CursorNotify[] = {
416  { 0, "DisplayCursor" },
417  { 0, NULL },
418 };
419 
420 static const value_string x11_enum_xinput_DeviceUse[] = {
421  { 0, "IsXPointer" },
422  { 1, "IsXKeyboard" },
423  { 2, "IsXExtensionDevice" },
424  { 3, "IsXExtensionKeyboard" },
425  { 4, "IsXExtensionPointer" },
426  { 0, NULL },
427 };
428 
429 static const value_string x11_enum_xinput_InputClass[] = {
430  { 0, "Key" },
431  { 1, "Button" },
432  { 2, "Valuator" },
433  { 3, "Feedback" },
434  { 4, "Proximity" },
435  { 5, "Focus" },
436  { 6, "Other" },
437  { 0, NULL },
438 };
439 
440 static const value_string x11_enum_xinput_ValuatorMode[] = {
441  { 0, "Relative" },
442  { 1, "Absolute" },
443  { 0, NULL },
444 };
445 
446 static const value_string x11_enum_xproto_GrabStatus[] = {
447  { 0, "Success" },
448  { 1, "AlreadyGrabbed" },
449  { 2, "InvalidTime" },
450  { 3, "NotViewable" },
451  { 4, "Frozen" },
452  { 0, NULL },
453 };
454 
455 static const value_string x11_enum_xinput_PropagateMode[] = {
456  { 0, "AddToList" },
457  { 1, "DeleteFromList" },
458  { 0, NULL },
459 };
460 
461 static const value_string x11_enum_xproto_Time[] = {
462  { 0, "CurrentTime" },
463  { 0, NULL },
464 };
465 
466 static const value_string x11_enum_xproto_GrabMode[] = {
467  { 0, "Sync" },
468  { 1, "Async" },
469  { 0, NULL },
470 };
471 
472 static const value_string x11_enum_xinput_ModifierDevice[] = {
473  { 255, "UseXKeyboard" },
474  { 0, NULL },
475 };
476 
477 static const value_string x11_enum_xproto_Grab[] = {
478  { 0, "Any" },
479  { 0, NULL },
480 };
481 
482 static const value_string x11_enum_xinput_DeviceInputMode[] = {
483  { 0, "AsyncThisDevice" },
484  { 1, "SyncThisDevice" },
485  { 2, "ReplayThisDevice" },
486  { 3, "AsyncOtherDevices" },
487  { 4, "AsyncAll" },
488  { 5, "SyncAll" },
489  { 0, NULL },
490 };
491 
492 static const value_string x11_enum_xproto_InputFocus[] = {
493  { 0, "None" },
494  { 1, "PointerRoot" },
495  { 2, "Parent" },
496  { 3, "FollowKeyboard" },
497  { 0, NULL },
498 };
499 
500 static const value_string x11_enum_xinput_FeedbackClass[] = {
501  { 0, "Keyboard" },
502  { 1, "Pointer" },
503  { 2, "String" },
504  { 3, "Integer" },
505  { 4, "Led" },
506  { 5, "Bell" },
507  { 0, NULL },
508 };
509 
510 static const value_string x11_enum_xproto_MappingStatus[] = {
511  { 0, "Success" },
512  { 1, "Busy" },
513  { 2, "Failure" },
514  { 0, NULL },
515 };
516 
517 static const value_string x11_enum_xinput_DeviceControl[] = {
518  { 1, "resolution" },
519  { 2, "abs_calib" },
520  { 3, "core" },
521  { 4, "enable" },
522  { 5, "abs_area" },
523  { 0, NULL },
524 };
525 
526 static const value_string x11_enum_xinput_PropertyFormat[] = {
527  { 8, "8Bits" },
528  { 16, "16Bits" },
529  { 32, "32Bits" },
530  { 0, NULL },
531 };
532 
533 static const value_string x11_enum_xinput_Device[] = {
534  { 0, "All" },
535  { 1, "AllMaster" },
536  { 0, NULL },
537 };
538 
539 static const value_string x11_enum_xinput_HierarchyChangeType[] = {
540  { 1, "AddMaster" },
541  { 2, "RemoveMaster" },
542  { 3, "AttachSlave" },
543  { 4, "DetachSlave" },
544  { 0, NULL },
545 };
546 
547 static const value_string x11_enum_xinput_ChangeMode[] = {
548  { 1, "Attach" },
549  { 2, "Float" },
550  { 0, NULL },
551 };
552 
553 static const value_string x11_enum_xinput_DeviceClassType[] = {
554  { 0, "Key" },
555  { 1, "Button" },
556  { 2, "Valuator" },
557  { 3, "Scroll" },
558  { 8, "Touch" },
559  { 0, NULL },
560 };
561 
562 static const value_string x11_enum_xinput_ScrollType[] = {
563  { 1, "Vertical" },
564  { 2, "Horizontal" },
565  { 0, NULL },
566 };
567 
568 static const value_string x11_enum_xinput_TouchMode[] = {
569  { 1, "Direct" },
570  { 2, "Dependent" },
571  { 0, NULL },
572 };
573 
574 static const value_string x11_enum_xinput_DeviceType[] = {
575  { 1, "MasterPointer" },
576  { 2, "MasterKeyboard" },
577  { 3, "SlavePointer" },
578  { 4, "SlaveKeyboard" },
579  { 5, "FloatingSlave" },
580  { 0, NULL },
581 };
582 
583 static const value_string x11_enum_xinput_GrabOwner[] = {
584  { 0, "NoOwner" },
585  { 1, "Owner" },
586  { 0, NULL },
587 };
588 
589 static const value_string x11_enum_xinput_EventMode[] = {
590  { 0, "AsyncDevice" },
591  { 1, "SyncDevice" },
592  { 2, "ReplayDevice" },
593  { 3, "AsyncPairedDevice" },
594  { 4, "AsyncPair" },
595  { 5, "SyncPair" },
596  { 6, "AcceptTouch" },
597  { 7, "RejectTouch" },
598  { 0, NULL },
599 };
600 
601 static const value_string x11_enum_xinput_ModifierMask[] = {
602  { 0, NULL },
603 };
604 
605 static const value_string x11_enum_xinput_GrabType[] = {
606  { 0, "Button" },
607  { 1, "Keycode" },
608  { 2, "Enter" },
609  { 3, "FocusIn" },
610  { 4, "TouchBegin" },
611  { 0, NULL },
612 };
613 
614 static const value_string x11_enum_xinput_GrabMode22[] = {
615  { 0, "Sync" },
616  { 1, "Async" },
617  { 2, "Touch" },
618  { 0, NULL },
619 };
620 
621 static const value_string x11_enum_xproto_Window[] = {
622  { 0, "None" },
623  { 0, NULL },
624 };
625 
626 static const value_string x11_enum_xproto_NotifyDetail[] = {
627  { 0, "Ancestor" },
628  { 1, "Virtual" },
629  { 2, "Inferior" },
630  { 3, "Nonlinear" },
631  { 4, "NonlinearVirtual" },
632  { 5, "Pointer" },
633  { 6, "PointerRoot" },
634  { 7, "None" },
635  { 0, NULL },
636 };
637 
638 static const value_string x11_enum_xproto_NotifyMode[] = {
639  { 0, "Normal" },
640  { 1, "Grab" },
641  { 2, "Ungrab" },
642  { 3, "WhileGrabbed" },
643  { 0, NULL },
644 };
645 
646 static const value_string x11_enum_xproto_Mapping[] = {
647  { 0, "Modifier" },
648  { 1, "Keyboard" },
649  { 2, "Pointer" },
650  { 0, NULL },
651 };
652 
653 static const value_string x11_enum_xinput_ChangeDevice[] = {
654  { 0, "NewPointer" },
655  { 1, "NewKeyboard" },
656  { 0, NULL },
657 };
658 
659 static const value_string x11_enum_xinput_DeviceChange[] = {
660  { 0, "Added" },
661  { 1, "Removed" },
662  { 2, "Enabled" },
663  { 3, "Disabled" },
664  { 4, "Unrecoverable" },
665  { 5, "ControlChanged" },
666  { 0, NULL },
667 };
668 
669 static const value_string x11_enum_xinput_ChangeReason[] = {
670  { 1, "SlaveSwitch" },
671  { 2, "DeviceChange" },
672  { 0, NULL },
673 };
674 
675 static const value_string x11_enum_xinput_NotifyMode[] = {
676  { 0, "Normal" },
677  { 1, "Grab" },
678  { 2, "Ungrab" },
679  { 3, "WhileGrabbed" },
680  { 4, "PassiveGrab" },
681  { 5, "PassiveUngrab" },
682  { 0, NULL },
683 };
684 
685 static const value_string x11_enum_xinput_NotifyDetail[] = {
686  { 0, "Ancestor" },
687  { 1, "Virtual" },
688  { 2, "Inferior" },
689  { 3, "Nonlinear" },
690  { 4, "NonlinearVirtual" },
691  { 5, "Pointer" },
692  { 6, "PointerRoot" },
693  { 7, "None" },
694  { 0, NULL },
695 };
696 
697 static const value_string x11_enum_xinput_PropertyFlag[] = {
698  { 0, "Deleted" },
699  { 1, "Created" },
700  { 2, "Modified" },
701  { 0, NULL },
702 };
703 
704 static const value_string x11_enum_xinput_TouchOwnershipFlags[] = {
705  { 0, "None" },
706  { 0, NULL },
707 };
708 
709 static const value_string x11_enum_xkb_IMFlag[] = {
710  { 0, NULL },
711 };
712 
713 static const value_string x11_enum_xkb_IMGroupsWhich[] = {
714  { 0, NULL },
715 };
716 
717 static const value_string x11_enum_xkb_SetOfGroup[] = {
718  { 0, NULL },
719 };
720 
721 static const value_string x11_enum_xkb_IMModsWhich[] = {
722  { 0, NULL },
723 };
724 
725 static const value_string x11_enum_xkb_LedClass[] = {
726  { 0, "KbdFeedbackClass" },
727  { 4, "LedFeedbackClass" },
728  { 768, "DfltXIClass" },
729  { 1280, "AllXIClasses" },
730  { 0, NULL },
731 };
732 
733 static const value_string x11_enum_xkb_ID[] = {
734  { 256, "UseCoreKbd" },
735  { 512, "UseCorePtr" },
736  { 768, "DfltXIClass" },
737  { 1024, "DfltXIId" },
738  { 1280, "AllXIClass" },
739  { 1536, "AllXIId" },
740  { 65280, "XINone" },
741  { 0, NULL },
742 };
743 
744 static const value_string x11_enum_xkb_SAType[] = {
745  { 0, "NoAction" },
746  { 1, "SetMods" },
747  { 2, "LatchMods" },
748  { 3, "LockMods" },
749  { 4, "SetGroup" },
750  { 5, "LatchGroup" },
751  { 6, "LockGroup" },
752  { 7, "MovePtr" },
753  { 8, "PtrBtn" },
754  { 9, "LockPtrBtn" },
755  { 10, "SetPtrDflt" },
756  { 11, "ISOLock" },
757  { 12, "Terminate" },
758  { 13, "SwitchScreen" },
759  { 14, "SetControls" },
760  { 15, "LockControls" },
761  { 16, "ActionMessage" },
762  { 17, "RedirectKey" },
763  { 18, "DeviceBtn" },
764  { 19, "LockDeviceBtn" },
765  { 20, "DeviceValuator" },
766  { 0, NULL },
767 };
768 
769 static const value_string x11_enum_xkb_SAValWhat[] = {
770  { 0, "IgnoreVal" },
771  { 1, "SetValMin" },
772  { 2, "SetValCenter" },
773  { 3, "SetValMax" },
774  { 4, "SetValRelative" },
775  { 5, "SetValAbsolute" },
776  { 0, NULL },
777 };
778 
779 static const value_string x11_enum_xkb_SymInterpretMatch[] = {
780  { 0, "NoneOf" },
781  { 1, "AnyOfOrNone" },
782  { 2, "AnyOf" },
783  { 3, "AllOf" },
784  { 4, "Exactly" },
785  { 0, NULL },
786 };
787 
788 static const value_string x11_enum_xkb_Group[] = {
789  { 0, "1" },
790  { 1, "2" },
791  { 2, "3" },
792  { 3, "4" },
793  { 0, NULL },
794 };
795 
796 static const value_string x11_enum_xkb_BellClassResult[] = {
797  { 0, "KbdFeedbackClass" },
798  { 5, "BellFeedbackClass" },
799  { 0, NULL },
800 };
801 
802 static const value_string x11_enum_xkb_LedClassResult[] = {
803  { 0, "KbdFeedbackClass" },
804  { 4, "LedFeedbackClass" },
805  { 0, NULL },
806 };
807 
808 static const value_string x11_enum_xv_ImageFormatInfoType[] = {
809  { 0, "RGB" },
810  { 1, "YUV" },
811  { 0, NULL },
812 };
813 
814 static const value_string x11_enum_xproto_ImageOrder[] = {
815  { 0, "LSBFirst" },
816  { 1, "MSBFirst" },
817  { 0, NULL },
818 };
819 
820 static const value_string x11_enum_xv_ImageFormatInfoFormat[] = {
821  { 0, "Packed" },
822  { 1, "Planar" },
823  { 0, NULL },
824 };
825 
826 static const value_string x11_enum_xv_ScanlineOrder[] = {
827  { 0, "TopToBottom" },
828  { 1, "BottomToTop" },
829  { 0, NULL },
830 };
831 
832 static const value_string x11_enum_xv_GrabPortStatus[] = {
833  { 0, "Success" },
834  { 1, "BadExtension" },
835  { 2, "AlreadyGrabbed" },
836  { 3, "InvalidTime" },
837  { 4, "BadReply" },
838  { 5, "BadAlloc" },
839  { 0, NULL },
840 };
841 
Definition: value_string.h:24