use a custom logger so we don't stomp all over the global log configuration
This commit is contained in:
parent
e256da00b1
commit
62b293c937
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by bigreq.xml on May 7 2012 9:17:56pm EDT.
|
This file was generated by bigreq.xml on May 7 2012 11:34:25pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@ func init() {
|
||||||
newExtErrorFuncs["BIG-REQUESTS"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["BIG-REQUESTS"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
@ -57,8 +59,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
// Request BigreqEnable
|
// Request BigreqEnable
|
||||||
// size: 4
|
// size: 4
|
||||||
type BigreqEnableCookie struct {
|
type BigreqEnableCookie struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by composite.xml on May 7 2012 9:17:56pm EDT.
|
This file was generated by composite.xml on May 7 2012 11:34:25pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -38,12 +38,6 @@ func init() {
|
||||||
newExtErrorFuncs["Composite"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["Composite"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
@ -64,6 +58,12 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
const (
|
const (
|
||||||
CompositeRedirectAutomatic = 0
|
CompositeRedirectAutomatic = 0
|
||||||
CompositeRedirectManual = 1
|
CompositeRedirectManual = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by damage.xml on May 7 2012 9:17:56pm EDT.
|
This file was generated by damage.xml on May 7 2012 11:34:25pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -38,6 +38,14 @@ func init() {
|
||||||
newExtErrorFuncs["DAMAGE"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["DAMAGE"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
@ -56,14 +64,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
DamageReportLevelRawRectangles = 0
|
DamageReportLevelRawRectangles = 0
|
||||||
DamageReportLevelDeltaRectangles = 1
|
DamageReportLevelDeltaRectangles = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by dpms.xml on May 7 2012 9:17:56pm EDT.
|
This file was generated by dpms.xml on May 7 2012 11:34:25pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by dri2.xml on May 7 2012 9:17:56pm EDT.
|
This file was generated by dri2.xml on May 7 2012 11:34:25pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by ge.xml on May 7 2012 9:17:56pm EDT.
|
This file was generated by ge.xml on May 7 2012 11:34:25pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -33,8 +33,6 @@ func init() {
|
||||||
newExtErrorFuncs["Generic Event Extension"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["Generic Event Extension"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
@ -59,6 +57,8 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Request GeQueryVersion
|
// Request GeQueryVersion
|
||||||
// size: 8
|
// size: 8
|
||||||
type GeQueryVersionCookie struct {
|
type GeQueryVersionCookie struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by glx.xml on May 7 2012 9:17:56pm EDT.
|
This file was generated by glx.xml on May 7 2012 11:34:25pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,6 +37,14 @@ func init() {
|
||||||
newExtErrorFuncs["GLX"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["GLX"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
@ -55,14 +63,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
GlxPbcetDamaged = 32791
|
GlxPbcetDamaged = 32791
|
||||||
GlxPbcetSaved = 32792
|
GlxPbcetSaved = 32792
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by randr.xml on May 7 2012 9:17:56pm EDT.
|
This file was generated by randr.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -38,6 +38,14 @@ func init() {
|
||||||
newExtErrorFuncs["RANDR"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["RANDR"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
@ -56,14 +64,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Card8'
|
// Skipping definition for base type 'Card8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
RandrRotationRotate0 = 1
|
RandrRotationRotate0 = 1
|
||||||
RandrRotationRotate90 = 2
|
RandrRotationRotate90 = 2
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by record.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by record.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -33,6 +33,16 @@ func init() {
|
||||||
newExtErrorFuncs["RECORD"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["RECORD"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Double'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Bool'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Float'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Id'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card8'
|
// Skipping definition for base type 'Card8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
// Skipping definition for base type 'Int16'
|
||||||
|
@ -49,16 +59,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Double'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Bool'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Float'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Id'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
RecordHTypeFromServerTime = 1
|
RecordHTypeFromServerTime = 1
|
||||||
RecordHTypeFromClientTime = 2
|
RecordHTypeFromClientTime = 2
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by render.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by render.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,6 +37,8 @@ func init() {
|
||||||
newExtErrorFuncs["RENDER"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["RENDER"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
@ -61,8 +63,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
RenderPictTypeIndexed = 0
|
RenderPictTypeIndexed = 0
|
||||||
RenderPictTypeDirect = 1
|
RenderPictTypeDirect = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by res.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by res.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,18 +37,6 @@ func init() {
|
||||||
newExtErrorFuncs["X-Resource"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["X-Resource"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Double'
|
// Skipping definition for base type 'Double'
|
||||||
|
|
||||||
// Skipping definition for base type 'Bool'
|
// Skipping definition for base type 'Bool'
|
||||||
|
@ -63,6 +51,18 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Char'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card32'
|
||||||
|
|
||||||
// 'ResClient' struct definition
|
// 'ResClient' struct definition
|
||||||
// Size: 8
|
// Size: 8
|
||||||
type ResClient struct {
|
type ResClient struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by screensaver.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by screensaver.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,6 +37,14 @@ func init() {
|
||||||
newExtErrorFuncs["MIT-SCREEN-SAVER"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["MIT-SCREEN-SAVER"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
@ -55,14 +63,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ScreensaverKindBlanked = 0
|
ScreensaverKindBlanked = 0
|
||||||
ScreensaverKindInternal = 1
|
ScreensaverKindInternal = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by shape.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by shape.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,12 +37,6 @@ func init() {
|
||||||
newExtErrorFuncs["SHAPE"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["SHAPE"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
@ -63,6 +57,12 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ShapeSoSet = 0
|
ShapeSoSet = 0
|
||||||
ShapeSoUnion = 1
|
ShapeSoUnion = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by shm.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by shm.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,6 +37,16 @@ func init() {
|
||||||
newExtErrorFuncs["MIT-SHM"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["MIT-SHM"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Char'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card32'
|
// Skipping definition for base type 'Card32'
|
||||||
|
|
||||||
// Skipping definition for base type 'Double'
|
// Skipping definition for base type 'Double'
|
||||||
|
@ -53,16 +63,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
|
||||||
|
|
||||||
// Skipping resource definition of 'Seg'
|
// Skipping resource definition of 'Seg'
|
||||||
|
|
||||||
// Event definition ShmCompletion (0)
|
// Event definition ShmCompletion (0)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by sync.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by sync.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,8 +37,6 @@ func init() {
|
||||||
newExtErrorFuncs["SYNC"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["SYNC"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card32'
|
// Skipping definition for base type 'Card32'
|
||||||
|
@ -63,6 +61,8 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
const (
|
const (
|
||||||
SyncAlarmstateActive = 0
|
SyncAlarmstateActive = 0
|
||||||
SyncAlarmstateInactive = 1
|
SyncAlarmstateInactive = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xc_misc.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xc_misc.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -33,16 +33,6 @@ func init() {
|
||||||
newExtErrorFuncs["XC-MISC"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XC-MISC"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Double'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Bool'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Float'
|
// Skipping definition for base type 'Float'
|
||||||
|
|
||||||
// Skipping definition for base type 'Id'
|
// Skipping definition for base type 'Id'
|
||||||
|
@ -59,6 +49,16 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Char'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Double'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Bool'
|
||||||
|
|
||||||
// Request Xc_miscGetVersion
|
// Request Xc_miscGetVersion
|
||||||
// size: 8
|
// size: 8
|
||||||
type Xc_miscGetVersionCookie struct {
|
type Xc_miscGetVersionCookie struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xevie.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xevie.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -33,14 +33,6 @@ func init() {
|
||||||
newExtErrorFuncs["XEVIE"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XEVIE"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Id'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card8'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
// Skipping definition for base type 'Byte'
|
||||||
|
@ -59,6 +51,14 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Float'
|
// Skipping definition for base type 'Float'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Id'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card8'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
const (
|
const (
|
||||||
XevieDatatypeUnmodified = 0
|
XevieDatatypeUnmodified = 0
|
||||||
XevieDatatypeModified = 1
|
XevieDatatypeModified = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xf86dri.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xf86dri.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -33,12 +33,6 @@ func init() {
|
||||||
newExtErrorFuncs["XFree86-DRI"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XFree86-DRI"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card32'
|
// Skipping definition for base type 'Card32'
|
||||||
|
|
||||||
// Skipping definition for base type 'Double'
|
// Skipping definition for base type 'Double'
|
||||||
|
@ -59,6 +53,12 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Char'
|
||||||
|
|
||||||
// 'Xf86driDrmClipRect' struct definition
|
// 'Xf86driDrmClipRect' struct definition
|
||||||
// Size: 8
|
// Size: 8
|
||||||
type Xf86driDrmClipRect struct {
|
type Xf86driDrmClipRect struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xf86vidmode.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xf86vidmode.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -33,18 +33,6 @@ func init() {
|
||||||
newExtErrorFuncs["XFree86-VidModeExtension"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XFree86-VidModeExtension"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Id'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card8'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
@ -59,6 +47,18 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Float'
|
// Skipping definition for base type 'Float'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Id'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card8'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Xf86vidmodeModeFlagPositiveHsync = 1
|
Xf86vidmodeModeFlagPositiveHsync = 1
|
||||||
Xf86vidmodeModeFlagNegativeHsync = 2
|
Xf86vidmodeModeFlagNegativeHsync = 2
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xfixes.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xfixes.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -39,6 +39,12 @@ func init() {
|
||||||
newExtErrorFuncs["XFIXES"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XFIXES"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
@ -59,12 +65,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
XfixesSaveSetModeInsert = 0
|
XfixesSaveSetModeInsert = 0
|
||||||
XfixesSaveSetModeDelete = 1
|
XfixesSaveSetModeDelete = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xinerama.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xinerama.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,6 +37,12 @@ func init() {
|
||||||
newExtErrorFuncs["XINERAMA"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XINERAMA"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
@ -57,12 +63,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Card8'
|
// Skipping definition for base type 'Card8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// 'XineramaScreenInfo' struct definition
|
// 'XineramaScreenInfo' struct definition
|
||||||
// Size: 8
|
// Size: 8
|
||||||
type XineramaScreenInfo struct {
|
type XineramaScreenInfo struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xinput.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xinput.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,16 +37,6 @@ func init() {
|
||||||
newExtErrorFuncs["XInputExtension"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XInputExtension"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Bool'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Float'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Id'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card8'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
// Skipping definition for base type 'Void'
|
||||||
|
@ -63,6 +53,16 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Double'
|
// Skipping definition for base type 'Double'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Bool'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Float'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Id'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card8'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
const (
|
const (
|
||||||
XinputValuatorModeRelative = 0
|
XinputValuatorModeRelative = 0
|
||||||
XinputValuatorModeAbsolute = 1
|
XinputValuatorModeAbsolute = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xprint.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xprint.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,6 +37,16 @@ func init() {
|
||||||
newExtErrorFuncs["XpExtension"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XpExtension"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Char'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Double'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Bool'
|
||||||
|
|
||||||
// Skipping definition for base type 'Float'
|
// Skipping definition for base type 'Float'
|
||||||
|
|
||||||
// Skipping definition for base type 'Id'
|
// Skipping definition for base type 'Id'
|
||||||
|
@ -53,16 +63,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Double'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Bool'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
XprintGetDocFinished = 0
|
XprintGetDocFinished = 0
|
||||||
XprintGetDocSecondConsumer = 1
|
XprintGetDocSecondConsumer = 1
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xproto.xml on May 7 2012 9:17:57pm EDT.
|
This file was generated by xproto.xml on May 7 2012 11:34:26pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
// Skipping definition for base type 'Char'
|
||||||
|
@ -29,8 +31,6 @@ package xgb
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
VisualClassStaticGray = 0
|
VisualClassStaticGray = 0
|
||||||
VisualClassGrayScale = 1
|
VisualClassGrayScale = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xselinux.xml on May 7 2012 9:17:58pm EDT.
|
This file was generated by xselinux.xml on May 7 2012 11:34:27pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,8 +37,6 @@ func init() {
|
||||||
newExtErrorFuncs["SELinux"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["SELinux"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Id'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card8'
|
// Skipping definition for base type 'Card8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
// Skipping definition for base type 'Int16'
|
||||||
|
@ -63,6 +61,8 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Float'
|
// Skipping definition for base type 'Float'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Id'
|
||||||
|
|
||||||
// 'XselinuxListItem' struct definition
|
// 'XselinuxListItem' struct definition
|
||||||
// Size: ((12 + pad((int(ObjectContextLen) * 1))) + pad((int(DataContextLen) * 1)))
|
// Size: ((12 + pad((int(ObjectContextLen) * 1))) + pad((int(DataContextLen) * 1)))
|
||||||
type XselinuxListItem struct {
|
type XselinuxListItem struct {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xtest.xml on May 7 2012 9:17:58pm EDT.
|
This file was generated by xtest.xml on May 7 2012 11:34:27pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,6 +37,14 @@ func init() {
|
||||||
newExtErrorFuncs["XTEST"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XTEST"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Char'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Card32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Double'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Bool'
|
||||||
|
|
||||||
// Skipping definition for base type 'Float'
|
// Skipping definition for base type 'Float'
|
||||||
|
|
||||||
// Skipping definition for base type 'Id'
|
// Skipping definition for base type 'Id'
|
||||||
|
@ -55,14 +63,6 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
|
||||||
// Skipping definition for base type 'Char'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Card32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Double'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Bool'
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
XtestCursorNone = 0
|
XtestCursorNone = 0
|
||||||
XtestCursorCurrent = 1
|
XtestCursorCurrent = 1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xv.xml on May 7 2012 9:17:58pm EDT.
|
This file was generated by xv.xml on May 7 2012 11:34:27pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package xgb
|
package xgb
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This file was generated by xvmc.xml on May 7 2012 9:17:58pm EDT.
|
This file was generated by xvmc.xml on May 7 2012 11:34:27pm EDT.
|
||||||
This file is automatically generated. Edit at your peril!
|
This file is automatically generated. Edit at your peril!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -37,12 +37,6 @@ func init() {
|
||||||
newExtErrorFuncs["XVideo-MotionCompensation"] = make(map[int]newErrorFun)
|
newExtErrorFuncs["XVideo-MotionCompensation"] = make(map[int]newErrorFun)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skipping definition for base type 'Int32'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Void'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Byte'
|
|
||||||
|
|
||||||
// Skipping definition for base type 'Int8'
|
// Skipping definition for base type 'Int8'
|
||||||
|
|
||||||
// Skipping definition for base type 'Card16'
|
// Skipping definition for base type 'Card16'
|
||||||
|
@ -63,6 +57,12 @@ func init() {
|
||||||
|
|
||||||
// Skipping definition for base type 'Int16'
|
// Skipping definition for base type 'Int16'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Int32'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Void'
|
||||||
|
|
||||||
|
// Skipping definition for base type 'Byte'
|
||||||
|
|
||||||
// Skipping resource definition of 'Context'
|
// Skipping resource definition of 'Context'
|
||||||
|
|
||||||
// Skipping resource definition of 'Surface'
|
// Skipping resource definition of 'Surface'
|
||||||
|
|
|
@ -26,8 +26,8 @@ func (c *Conn) connect(display string) error {
|
||||||
authName, authData, err := readAuthority(c.host, c.display)
|
authName, authData, err := readAuthority(c.host, c.display)
|
||||||
noauth := false
|
noauth := false
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Could not get authority info: %v\n", err)
|
logger.Printf("Could not get authority info: %v", err)
|
||||||
fmt.Fprintf(os.Stderr, "Trying connection without authority info...\n")
|
logger.Println("Trying connection without authority info...")
|
||||||
authName = ""
|
authName = ""
|
||||||
authData = []byte{}
|
authData = []byte{}
|
||||||
noauth = true
|
noauth = true
|
||||||
|
@ -63,8 +63,7 @@ func (c *Conn) connect(display string) error {
|
||||||
dataLen := Get16(head[6:])
|
dataLen := Get16(head[6:])
|
||||||
|
|
||||||
if major != 11 || minor != 0 {
|
if major != 11 || minor != 0 {
|
||||||
return errors.New(fmt.Sprintf("x protocol version mismatch: %d.%d",
|
return fmt.Errorf("x protocol version mismatch: %d.%d", major, minor)
|
||||||
major, minor))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buf = make([]byte, int(dataLen)*4+8, int(dataLen)*4+8)
|
buf = make([]byte, int(dataLen)*4+8, int(dataLen)*4+8)
|
||||||
|
@ -75,8 +74,8 @@ func (c *Conn) connect(display string) error {
|
||||||
|
|
||||||
if code == 0 {
|
if code == 0 {
|
||||||
reason := buf[8 : 8+reasonLen]
|
reason := buf[8 : 8+reasonLen]
|
||||||
return errors.New(fmt.Sprintf("x protocol authentication refused: %s",
|
return fmt.Errorf("x protocol authentication refused: %s",
|
||||||
string(reason)))
|
string(reason))
|
||||||
}
|
}
|
||||||
|
|
||||||
ReadSetupInfo(buf, &c.Setup)
|
ReadSetupInfo(buf, &c.Setup)
|
||||||
|
|
32
nexgb/xgb.go
32
nexgb/xgb.go
|
@ -5,13 +5,11 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
|
"os"
|
||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
var logger = log.New(os.Stderr, "XGB: ", 0)
|
||||||
log.SetFlags(0)
|
|
||||||
log.SetPrefix("XGB:")
|
|
||||||
}
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// cookieBuffer represents the queue size of cookies existing at any
|
// cookieBuffer represents the queue size of cookies existing at any
|
||||||
|
@ -283,8 +281,8 @@ func (c *Conn) sendRequests() {
|
||||||
// writeBuffer is a convenience function for writing a byte slice to the wire.
|
// writeBuffer is a convenience function for writing a byte slice to the wire.
|
||||||
func (c *Conn) writeBuffer(buf []byte) {
|
func (c *Conn) writeBuffer(buf []byte) {
|
||||||
if _, err := c.conn.Write(buf); err != nil {
|
if _, err := c.conn.Write(buf); err != nil {
|
||||||
log.Printf("Write error: %s", err)
|
logger.Printf("Write error: %s", err)
|
||||||
log.Fatal("A write error is unrecoverable. Exiting...")
|
logger.Fatal("A write error is unrecoverable. Exiting...")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -310,8 +308,8 @@ func (c *Conn) readResponses() {
|
||||||
err, event, seq = nil, nil, 0
|
err, event, seq = nil, nil, 0
|
||||||
|
|
||||||
if _, err := io.ReadFull(c.conn, buf); err != nil {
|
if _, err := io.ReadFull(c.conn, buf); err != nil {
|
||||||
log.Printf("Read error: %s", err)
|
logger.Printf("Read error: %s", err)
|
||||||
log.Fatal("A read error is unrecoverable. Exiting...")
|
logger.Fatal("A read error is unrecoverable. Exiting...")
|
||||||
}
|
}
|
||||||
|
|
||||||
switch buf[0] {
|
switch buf[0] {
|
||||||
|
@ -320,7 +318,7 @@ func (c *Conn) readResponses() {
|
||||||
// generated) by looking it up by the error number.
|
// generated) by looking it up by the error number.
|
||||||
newErrFun, ok := newErrorFuncs[int(buf[1])]
|
newErrFun, ok := newErrorFuncs[int(buf[1])]
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Printf("BUG: Could not find error constructor function "+
|
logger.Printf("BUG: Could not find error constructor function "+
|
||||||
"for error with number %d.", buf[1])
|
"for error with number %d.", buf[1])
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -339,8 +337,8 @@ func (c *Conn) readResponses() {
|
||||||
biggerBuf := make([]byte, byteCount)
|
biggerBuf := make([]byte, byteCount)
|
||||||
copy(biggerBuf[:32], buf)
|
copy(biggerBuf[:32], buf)
|
||||||
if _, err := io.ReadFull(c.conn, biggerBuf[32:]); err != nil {
|
if _, err := io.ReadFull(c.conn, biggerBuf[32:]); err != nil {
|
||||||
log.Printf("Read error: %s", err)
|
logger.Printf("Read error: %s", err)
|
||||||
log.Fatal("A read error is unrecoverable. Exiting...")
|
logger.Fatal("A read error is unrecoverable. Exiting...")
|
||||||
}
|
}
|
||||||
replyBytes = biggerBuf
|
replyBytes = biggerBuf
|
||||||
} else {
|
} else {
|
||||||
|
@ -357,7 +355,7 @@ func (c *Conn) readResponses() {
|
||||||
evNum := int(buf[0] & 127)
|
evNum := int(buf[0] & 127)
|
||||||
newEventFun, ok := newEventFuncs[evNum]
|
newEventFun, ok := newEventFuncs[evNum]
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Printf("BUG: Could not find event construct function "+
|
logger.Printf("BUG: Could not find event construct function "+
|
||||||
"for event with number %d.", evNum)
|
"for event with number %d.", evNum)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -404,8 +402,8 @@ func (c *Conn) readResponses() {
|
||||||
}
|
}
|
||||||
} else { // this is a reply
|
} else { // this is a reply
|
||||||
if cookie.replyChan == nil {
|
if cookie.replyChan == nil {
|
||||||
log.Printf("Reply with sequence id %d does not have a "+
|
logger.Printf("Reply with sequence id %d does not "+
|
||||||
"cookie with a valid reply channel.", seq)
|
"have a cookie with a valid reply channel.", seq)
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
cookie.replyChan <- replyBytes
|
cookie.replyChan <- replyBytes
|
||||||
|
@ -417,12 +415,12 @@ func (c *Conn) readResponses() {
|
||||||
switch {
|
switch {
|
||||||
// Checked requests with replies
|
// Checked requests with replies
|
||||||
case cookie.replyChan != nil && cookie.errorChan != nil:
|
case cookie.replyChan != nil && cookie.errorChan != nil:
|
||||||
log.Printf("Found cookie with sequence id %d that is "+
|
logger.Printf("Found cookie with sequence id %d that is "+
|
||||||
"expecting a reply but will never get it. Currently "+
|
"expecting a reply but will never get it. Currently "+
|
||||||
"on sequence number %d", cookie.Sequence, seq)
|
"on sequence number %d", cookie.Sequence, seq)
|
||||||
// Unchecked requests with replies
|
// Unchecked requests with replies
|
||||||
case cookie.replyChan != nil && cookie.pingChan != nil:
|
case cookie.replyChan != nil && cookie.pingChan != nil:
|
||||||
log.Printf("Found cookie with sequence id %d that is "+
|
logger.Printf("Found cookie with sequence id %d that is "+
|
||||||
"expecting a reply (and not an error) but will never "+
|
"expecting a reply (and not an error) but will never "+
|
||||||
"get it. Currently on sequence number %d",
|
"get it. Currently on sequence number %d",
|
||||||
cookie.Sequence, seq)
|
cookie.Sequence, seq)
|
||||||
|
@ -445,7 +443,7 @@ func processEventOrError(everr eventOrError) (Event, Error) {
|
||||||
case Error:
|
case Error:
|
||||||
return nil, ee
|
return nil, ee
|
||||||
default:
|
default:
|
||||||
log.Printf("Invalid event/error type: %T", everr)
|
logger.Printf("Invalid event/error type: %T", everr)
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
panic("unreachable")
|
panic("unreachable")
|
||||||
|
|
Loading…
Reference in New Issue