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