/usr/share/pyshared/xcb/bigreq.py is in python-xpyb 1.3.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #
# This file generated automatically from bigreq.xml by py_client.py.
# Edit at your peril.
#
import xcb
import cStringIO
from struct import pack, unpack_from
from array import array
MAJOR_VERSION = 0
MINOR_VERSION = 0
key = xcb.ExtensionKey('BIG-REQUESTS')
class EnableCookie(xcb.Cookie):
pass
class EnableReply(xcb.Reply):
def __init__(self, parent, offset=0):
xcb.Reply.__init__(self, parent, offset)
(self.maximum_request_length,) = unpack_from('xx2x4xI', parent, offset)
class bigreqExtension(xcb.Extension):
def Enable(self, ):
buf = cStringIO.StringIO()
buf.write(pack('=xx2x', ))
return self.send_request(xcb.Request(buf.getvalue(), 0, False, True),
EnableCookie(),
EnableReply)
def EnableUnchecked(self, ):
buf = cStringIO.StringIO()
buf.write(pack('=xx2x', ))
return self.send_request(xcb.Request(buf.getvalue(), 0, False, False),
EnableCookie(),
EnableReply)
_events = {
}
_errors = {
}
xcb._add_ext(key, bigreqExtension, _events, _errors)
|