aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/x11-enum.h
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-03 01:56:10 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-03 01:56:10 +0000
commit0856248cf0de576f576303f8646962d5f202135c (patch)
tree2e1d5a80de4b7b5b6604581dc09c68d5e616877e /epan/dissectors/x11-enum.h
parent523585fff7d9cf61334408ffb9c7fd8ec3a37940 (diff)
From Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4067 :
This patch adds enum support to x11-process-xcb.pl git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30257 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/x11-enum.h')
-rw-r--r--epan/dissectors/x11-enum.h392
1 files changed, 392 insertions, 0 deletions
diff --git a/epan/dissectors/x11-enum.h b/epan/dissectors/x11-enum.h
new file mode 100644
index 0000000000..c8f9e59b23
--- /dev/null
+++ b/epan/dissectors/x11-enum.h
@@ -0,0 +1,392 @@
+/* Do not modify this file. */
+/* It was automatically generated by ../../tools/process-x11-xcb.pl
+ using xcbproto version 1.5-5-g4f4d43e */
+/* $Id$ */
+
+/*
+ * Copyright 2008, 2009 Open Text Corporation <pharris[AT]opentext.com>
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald[AT]wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+static const value_string x11_enum_PictType[] = {
+ { 0, "Indexed" },
+ { 1, "Direct" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Redirect[] = {
+ { 0, "Automatic" },
+ { 1, "Manual" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_ReportLevel[] = {
+ { 0, "RawRectangles" },
+ { 1, "DeltaRectangles" },
+ { 2, "BoundingBox" },
+ { 3, "NonEmpty" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Region[] = {
+ { 0, "None" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_DPMSMode[] = {
+ { 0, "On" },
+ { 1, "Standby" },
+ { 2, "Suspend" },
+ { 3, "Off" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_SetConfig[] = {
+ { 0, "Success" },
+ { 1, "InvalidConfigTime" },
+ { 2, "InvalidTime" },
+ { 3, "Failed" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_SubPixel[] = {
+ { 0, "Unknown" },
+ { 1, "HorizontalRGB" },
+ { 2, "HorizontalBGR" },
+ { 3, "VerticalRGB" },
+ { 4, "VerticalBGR" },
+ { 5, "None" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Connection[] = {
+ { 0, "Connected" },
+ { 1, "Disconnected" },
+ { 2, "Unknown" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_PropMode[] = {
+ { 0, "Replace" },
+ { 1, "Prepend" },
+ { 2, "Append" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_GetPropertyType[] = {
+ { 0, "Any" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Atom[] = {
+ { 0, "None" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Property[] = {
+ { 0, "NewValue" },
+ { 1, "Delete" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Notify[] = {
+ { 0, "CrtcChange" },
+ { 1, "OutputChange" },
+ { 2, "OutputProperty" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_PictOp[] = {
+ { 0, "Clear" },
+ { 1, "Src" },
+ { 2, "Dst" },
+ { 3, "Over" },
+ { 4, "OverReverse" },
+ { 5, "In" },
+ { 6, "InReverse" },
+ { 7, "Out" },
+ { 8, "OutReverse" },
+ { 9, "Atop" },
+ { 10, "AtopReverse" },
+ { 11, "Xor" },
+ { 12, "Add" },
+ { 13, "Saturate" },
+ { 16, "DisjointClear" },
+ { 17, "DisjointSrc" },
+ { 18, "DisjointDst" },
+ { 19, "DisjointOver" },
+ { 20, "DisjointOverReverse" },
+ { 21, "DisjointIn" },
+ { 22, "DisjointInReverse" },
+ { 23, "DisjointOut" },
+ { 24, "DisjointOutReverse" },
+ { 25, "DisjointAtop" },
+ { 26, "DisjointAtopReverse" },
+ { 27, "DisjointXor" },
+ { 32, "ConjointClear" },
+ { 33, "ConjointSrc" },
+ { 34, "ConjointDst" },
+ { 35, "ConjointOver" },
+ { 36, "ConjointOverReverse" },
+ { 37, "ConjointIn" },
+ { 38, "ConjointInReverse" },
+ { 39, "ConjointOut" },
+ { 40, "ConjointOutReverse" },
+ { 41, "ConjointAtop" },
+ { 42, "ConjointAtopReverse" },
+ { 43, "ConjointXor" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Picture[] = {
+ { 0, "None" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_SK[] = {
+ { 0, "Bounding" },
+ { 1, "Clip" },
+ { 2, "Input" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_SO[] = {
+ { 0, "Set" },
+ { 1, "Union" },
+ { 2, "Intersect" },
+ { 3, "Subtract" },
+ { 4, "Invert" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_ClipOrdering[] = {
+ { 0, "Unsorted" },
+ { 1, "YSorted" },
+ { 2, "YXSorted" },
+ { 3, "YXBanded" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Pixmap[] = {
+ { 0, "None" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_VALUETYPE[] = {
+ { 0, "Absolute" },
+ { 1, "Relative" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_TESTTYPE[] = {
+ { 0, "PositiveTransition" },
+ { 1, "NegativeTransition" },
+ { 2, "PositiveComparison" },
+ { 3, "NegativeComparison" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_ALARMSTATE[] = {
+ { 0, "Active" },
+ { 1, "Inactive" },
+ { 2, "Destroyed" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_SaveSetMode[] = {
+ { 0, "Insert" },
+ { 1, "Delete" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_SaveSetTarget[] = {
+ { 0, "Nearest" },
+ { 1, "Root" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_SaveSetMapping[] = {
+ { 0, "Map" },
+ { 1, "Unmap" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_SelectionEvent[] = {
+ { 0, "SetSelectionOwner" },
+ { 1, "SelectionWindowDestroy" },
+ { 2, "SelectionClientClose" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_CursorNotify[] = {
+ { 0, "DisplayCursor" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_DeviceUse[] = {
+ { 0, "IsXPointer" },
+ { 1, "IsXKeyboard" },
+ { 2, "IsXExtensionDevice" },
+ { 3, "IsXExtensionKeyboard" },
+ { 4, "IsXExtensionPointer" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_InputClass[] = {
+ { 0, "Key" },
+ { 1, "Button" },
+ { 2, "Valuator" },
+ { 3, "Feedback" },
+ { 4, "Proximity" },
+ { 5, "Focus" },
+ { 6, "Other" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_ValuatorMode[] = {
+ { 0, "Relative" },
+ { 1, "Absolute" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_GrabStatus[] = {
+ { 0, "Success" },
+ { 1, "AlreadyGrabbed" },
+ { 2, "InvalidTime" },
+ { 3, "NotViewable" },
+ { 4, "Frozen" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_PropagateMode[] = {
+ { 0, "AddToList" },
+ { 1, "DeleteFromList" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Time[] = {
+ { 0, "CurrentTime" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_GrabMode[] = {
+ { 0, "Sync" },
+ { 1, "Async" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Grab[] = {
+ { 0, "Any" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_DeviceInputMode[] = {
+ { 0, "AsyncThisDevice" },
+ { 1, "SyncThisDevice" },
+ { 2, "ReplayThisDevice" },
+ { 3, "AsyncOtherDevices" },
+ { 4, "AsyncAll" },
+ { 5, "SyncAll" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_InputFocus[] = {
+ { 0, "None" },
+ { 1, "PointerRoot" },
+ { 2, "Parent" },
+ { 3, "FollowKeyboard" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_MappingStatus[] = {
+ { 0, "Success" },
+ { 1, "Busy" },
+ { 2, "Failure" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_Window[] = {
+ { 0, "None" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_NotifyDetail[] = {
+ { 0, "Ancestor" },
+ { 1, "Virtual" },
+ { 2, "Inferior" },
+ { 3, "Nonlinear" },
+ { 4, "NonlinearVirtual" },
+ { 5, "Pointer" },
+ { 6, "PointerRoot" },
+ { 7, "None" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_NotifyMode[] = {
+ { 0, "Normal" },
+ { 1, "Grab" },
+ { 2, "Ungrab" },
+ { 3, "WhileGrabbed" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_ImageFormatInfoType[] = {
+ { 0, "RGB" },
+ { 1, "YUV" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_ImageOrder[] = {
+ { 0, "LSBFirst" },
+ { 1, "MSBFirst" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_ImageFormatInfoFormat[] = {
+ { 0, "Packed" },
+ { 1, "Planar" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_ScanlineOrder[] = {
+ { 0, "TopToBottom" },
+ { 1, "BottomToTop" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_VideoNotifyReason[] = {
+ { 0, "Started" },
+ { 1, "Stopped" },
+ { 2, "Busy" },
+ { 3, "Preempted" },
+ { 4, "HardError" },
+ { 0, NULL },
+};
+
+static const value_string x11_enum_GrabPortStatus[] = {
+ { 0, "Success" },
+ { 1, "BadExtension" },
+ { 2, "AlreadyGrabbed" },
+ { 3, "InvalidTime" },
+ { 4, "BadReply" },
+ { 5, "BadAlloc" },
+ { 0, NULL },
+};
+