Process <import> directives with a new import.py tool.
[free-sw/xcb/proto] / src / xcb_types.xml
index 516773a..caaaee3 100644 (file)
@@ -107,6 +107,15 @@ authorization from the authors.
     <pad bytes="5" />
   </struct>
 
+  <enum name="VisualClass">
+    <item name="StaticGray"> <value>0</value></item>
+    <item name="GrayScale">  <value>1</value></item>
+    <item name="StaticColor"><value>2</value></item>
+    <item name="PseudoColor"><value>3</value></item>
+    <item name="TrueColor">  <value>4</value></item>
+    <item name="DirectColor"><value>5</value></item>
+  </enum>
+
   <struct name="VISUALTYPE">
     <field type="VISUALID" name="visual_id" />
     <field type="CARD8" name="class" />
@@ -150,7 +159,7 @@ authorization from the authors.
     </list>
   </struct>
 
-  <struct name="ConnSetupReq">
+  <struct name="SetupReq">
     <field type="CARD8" name="byte_order" />
     <pad bytes="1" />
     <field type="CARD16" name="protocol_major_version" />
@@ -165,13 +174,7 @@ authorization from the authors.
     </list>
   </struct>
 
-  <struct name="ConnSetupGenericRep">
-    <field type="CARD8" name="status" />
-    <pad bytes="5" />
-    <field type="CARD16" name="length" />
-  </struct>
-
-  <struct name="ConnSetupFailedRep">
+  <struct name="SetupFailed">
     <field type="CARD8" name="status" /> <!-- always 0 -> Failed -->
     <field type="CARD8" name="reason_len" />
     <field type="CARD16" name="protocol_major_version" />
@@ -182,7 +185,7 @@ authorization from the authors.
     </list>
   </struct>
 
-  <struct name="ConnSetupAuthenticateRep">
+  <struct name="SetupAuthenticate">
     <field type="CARD8" name="status" /> <!-- always 2 -> Authenticate -->
     <pad bytes="5" />
     <field type="CARD16" name="length" />
@@ -194,7 +197,12 @@ authorization from the authors.
     </list>
   </struct>
 
-  <struct name="ConnSetupSuccessRep">
+  <enum name="ImageOrder">
+    <item name="LSBFirst"><value>0</value></item>
+    <item name="MSBFirst"><value>1</value></item>
+  </enum>
+
+  <struct name="Setup">
     <field type="CARD8" name="status" /> <!-- always 1 -> Success -->
     <pad bytes="1" />
     <field type="CARD16" name="protocol_major_version" />