# PaCkAgE DaTaStReAm
bigreqsproto 1 85
# end of header
070701000b5a80000081a4000000000000000000000001519b106f00000128000000b600010002ffffffffffffffff0000001500000000bigreqsproto/pkginfo PKG=bigreqsproto
NAME=bigreqsproto 1.1.2 i86pc Solaris 11
VERSION=1.1.2
PSTAMP=21st May 2013
VENDOR=X.org
EMAIL=http://cgit.freedesktop.org/xorg/proto/bigreqsproto/
DESC=X.org X11 BigReqsProto protocol headers
ARCH=i386
CATEGORY=utility
CLASSES=none
BASEDIR=/
ISTATES=S s 1 2 3
RSTATES=S s 1 2 3
070701000b5a7f000081a4000000000000000000000001519b106f00000363000000b600010002ffffffffffffffff0000001400000000bigreqsproto/pkgmap : 1 85
1 d none /usr ? ? ?
1 d none /usr/local ? ? ?
1 d none /usr/local/include 0755 root root
1 d none /usr/local/include/X11 0755 root root
1 d none /usr/local/include/X11/extensions 0755 root root
1 f none /usr/local/include/X11/extensions/bigreqsproto.h 0644 root root 1960 23861 1369116685
1 f none /usr/local/include/X11/extensions/bigreqstr.h 0644 root root 187 17105 1369116685
1 d none /usr/local/lib 0755 root root
1 d none /usr/local/lib/pkgconfig 0755 root root
1 f none /usr/local/lib/pkgconfig/bigreqsproto.pc 0644 root root 194 17940 1369116685
1 d none /usr/local/share 0755 root root
1 d none /usr/local/share/doc 0755 root root
1 d none /usr/local/share/doc/bigreqsproto 0755 root root
1 f none /usr/local/share/doc/bigreqsproto/bigreq.xml 0644 root root 12598 55015 1369116685
1 i checkinstall 790 2505 1369116734
1 i pkginfo 296 23649 1369116783
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!! 070701000b5a80000081a4000000000000000000000001519b106f00000128000000b600010002ffffffffffffffff0000000800000000pkginfo PKG=bigreqsproto
NAME=bigreqsproto 1.1.2 i86pc Solaris 11
VERSION=1.1.2
PSTAMP=21st May 2013
VENDOR=X.org
EMAIL=http://cgit.freedesktop.org/xorg/proto/bigreqsproto/
DESC=X.org X11 BigReqsProto protocol headers
ARCH=i386
CATEGORY=utility
CLASSES=none
BASEDIR=/
ISTATES=S s 1 2 3
RSTATES=S s 1 2 3
070701000b5a7f000081a4000000000000000000000001519b106f00000363000000b600010002ffffffffffffffff0000000700000000pkgmap : 1 85
1 d none /usr ? ? ?
1 d none /usr/local ? ? ?
1 d none /usr/local/include 0755 root root
1 d none /usr/local/include/X11 0755 root root
1 d none /usr/local/include/X11/extensions 0755 root root
1 f none /usr/local/include/X11/extensions/bigreqsproto.h 0644 root root 1960 23861 1369116685
1 f none /usr/local/include/X11/extensions/bigreqstr.h 0644 root root 187 17105 1369116685
1 d none /usr/local/lib 0755 root root
1 d none /usr/local/lib/pkgconfig 0755 root root
1 f none /usr/local/lib/pkgconfig/bigreqsproto.pc 0644 root root 194 17940 1369116685
1 d none /usr/local/share 0755 root root
1 d none /usr/local/share/doc 0755 root root
1 d none /usr/local/share/doc/bigreqsproto 0755 root root
1 f none /usr/local/share/doc/bigreqsproto/bigreq.xml 0644 root root 12598 55015 1369116685
1 i checkinstall 790 2505 1369116734
1 i pkginfo 296 23649 1369116783
070701000b5a90000041ed000000000000000000000002519b106f00000000000000b600010002ffffffffffffffff0000000800000000install 070701000b5a91000081ed000000000000000000000001519b103e00000316000000b600010002ffffffffffffffff0000001500000000install/checkinstall #!/bin/sh
#
expected_bits="64"
expected_release="5.11"
expected_platform="i386"
#
release=`uname -r`
platform=`uname -p`
bits=`isainfo -b`
#
if [ ${platform} != ${expected_platform} ]; then
echo "\n\n\n\tThis package must be installed on a ${expected_platform} architecture\n"
echo "\tAborting installation.\n\n\n"
exit 1
fi
if [ ${release} != ${expected_release} ]; then
echo "\n\n\n\tThis package must be installed on a ${expected_release} machine\n"
echo "\tAborting installation.\n\n\n"
exit 1
fi
#if [ ${bits} != ${expected_bits} ]; then
# echo "\n\n\n\tThis package must be installed on a ${expected_bits} bit machine\n"
# echo "\tYour machine is running a ${bits} bit O.S. currently\n"
# echo "\tAborting installation.\n\n\n"
# exit 1
#fi
exit 0
070701000b5a81000041ed000000000000000000000003519b106f00000000000000b600010002ffffffffffffffff0000000500000000root 070701000b5a82000041ed000000000000000000000003519b106f00000000000000b600010002ffffffffffffffff0000000900000000root/usr 070701000b5a83000041ed000000000000000000000005519b106f00000000000000b600010002ffffffffffffffff0000000f00000000root/usr/local 070701000b5a8c000041ed000000000000000000000003519b106f00000000000000b600010002ffffffffffffffff0000001500000000root/usr/local/share 070701000b5a8d000041ed000000000000000000000003519b106f00000000000000b600010002ffffffffffffffff0000001900000000root/usr/local/share/doc 070701000b5a8e000041ed000000000000000000000002519b106f00000000000000b600010002ffffffffffffffff0000002600000000root/usr/local/share/doc/bigreqsproto 070701000b5a8f000081a4000000000000000000000001519b100d00003136000000b600010002ffffffffffffffff0000003100000000root/usr/local/share/doc/bigreqsproto/bigreq.xml
%defs;
]>
Big Requests Extension
X Consortium Standard
X Version 11, Release &fullrelvers;
Version 2.0
BobScheifler
X Consortium
19931994X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium.
X Window System is a trademark of The Open Group.
Overview
This extension enables the use of protocol requests that exceed 262140 bytes in length.
The core protocol restricts the maximum length of a protocol request to 262140 bytes, in that it uses a 16-bit length field specifying the number of 4-byte units in the request. This is a problem in the core protocol when joining large numbers of lines (PolyLine) or arcs (PolyArc), since these requests cannot be broken up into smaller requests without disturbing the rendering of the join points. It is also much more of a problem for protocol extensions, such as the PEX extension for 3D graphics and the XIE extension for imaging, that need to send long data lists in output commands.
This extension defines a mechanism for extending the length field beyond 16 bits. If the normal 16-bit length field of the protocol request is zero, then an additional 32-bit field containing the actual length (in 4-byte units) is inserted into the request, immediately following the 16-bit length field.
For example, a normal PolyLine encoding is:
PolyLine
1
65
opcode
1
coordinate-mode
0
Origin
1
Previous
2
3+n
4
DRAWABLE
drawable
4
GCONTEXT
gc
4n
LISTofPOINT
points
An extended-length PolyLine encoding is:
PolyLine
1
65
opcode
1
coordinate-mode
0
Origin
1
Previous
2
0
extended length flag
4
4+n
request length
4
DRAWABLE
drawable
4
GCONTEXT
gc
4n
LISTofPOINT
points
Extended-length protocol encodings, once enabled, can be used on all protocol requests, including all extensions.
Requests
BigReqEnable
=>
maximum-request-length: CARD32
This request enables extended-length protocol requests for the requesting client. It also returns the maximum length of a request, in 4-byte units, that can be used in extended-length protocol requests. This value will always be greater than the maximum-request-length returned in the connection setup information.
Events and Errors
No new events or errors are defined by this extension.
Encoding
Please refer to the X11 Protocol Encoding document as this document uses conventions established there.
The name of this extension is “BIG-REQUESTS”.
BigReqEnable
1
Card8
opcode
1
0
bigreq opcode
2
1
request length
=>
1
1
Reply
1
unused
2
CARD16
sequence number
4
0
length
4
CARD32
maximum-request-length
2
0
unused
C language binding
It is desirable for core Xlib, and other extensions, to use this extension internally when necessary. It is also desirable to make the use of this extension as transparent as possible to the X client. For example, if enabling of the extension were delayed until the first time it was needed, an application that used
XNextRequest
to determine the sequence number of a request would no longer get the correct sequence number. As such,
XOpenDisplay
will determine if the extension is supported by the server and, if it is, enable extended-length encodings.
The core Xlib functions
XDrawLines,
XDrawArcs,
XFillPolygon,
XChangeProperty,
XSetClipRectangles, and
XSetRegion.
are required to use extended-length encodings when necessary, if supported by the server. Use of extended-length encodings in other core Xlib functions
(XDrawPoints,
XDrawRectangles,
XDrawSegments.
XFillArcs,
XFillRectangles,
XPutImage
is permitted but not required; an Xlib implementation may choose to split the data across multiple smaller requests instead.
To permit clients to know what the maximum-request-length for extended-length encodings is, the following function is added to Xlib:
long XExtendedMaxRequestSize
Display *display
Returns zero (0) if the specified display does not support this extension, otherwise returns the maximum-request-length (in 4-byte units) supported by the server through the extended-length encoding.
Acknowledgements
Clive Feather (IXI) originated the extended-length encoding used in this extension proposal.
070701000b5a84000041ed000000000000000000000003519b106f00000000000000b600010002ffffffffffffffff0000001700000000root/usr/local/include 070701000b5a85000041ed000000000000000000000003519b106f00000000000000b600010002ffffffffffffffff0000001b00000000root/usr/local/include/X11 070701000b5a86000041ed000000000000000000000002519b106f00000000000000b600010002ffffffffffffffff0000002600000000root/usr/local/include/X11/extensions 070701000b5a88000081a4000000000000000000000001519b100d000000bb000000b600010002ffffffffffffffff0000003200000000root/usr/local/include/X11/extensions/bigreqstr.h #warning "bigreqstr.h is obsolete and may be removed in the future."
#warning "include for the protocol defines."
#include
070701000b5a87000081a4000000000000000000000001519b100d000007a8000000b600010002ffffffffffffffff0000003500000000root/usr/local/include/X11/extensions/bigreqsproto.h /*
Copyright 1992, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
#ifndef _BIGREQSPROTO_H_
#define _BIGREQSPROTO_H_
#define X_BigReqEnable 0
#define XBigReqNumberEvents 0
#define XBigReqNumberErrors 0
#define XBigReqExtensionName "BIG-REQUESTS"
typedef struct {
CARD8 reqType; /* always XBigReqCode */
CARD8 brReqType; /* always X_BigReqEnable */
CARD16 length B16;
} xBigReqEnableReq;
#define sz_xBigReqEnableReq 4
typedef struct {
BYTE type; /* X_Reply */
CARD8 pad0;
CARD16 sequenceNumber B16;
CARD32 length B32;
CARD32 max_request_size B32;
CARD32 pad1 B32;
CARD32 pad2 B32;
CARD32 pad3 B32;
CARD32 pad4 B32;
CARD32 pad5 B32;
} xBigReqEnableReply;
#define sz_xBigReqEnableReply 32
typedef struct {
CARD8 reqType;
CARD8 data;
CARD16 zero B16;
CARD32 length B32;
} xBigReq;
#endif /* _BIGREQSPROTO_H_ */
070701000b5a89000041ed000000000000000000000003519b106f00000000000000b600010002ffffffffffffffff0000001300000000root/usr/local/lib 070701000b5a8a000041ed000000000000000000000002519b106f00000000000000b600010002ffffffffffffffff0000001d00000000root/usr/local/lib/pkgconfig 070701000b5a8b000081a4000000000000000000000001519b100d000000c2000000b600010002ffffffffffffffff0000002d00000000root/usr/local/lib/pkgconfig/bigreqsproto.pc prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: BigReqsProto
Description: BigReqs extension headers
Version: 1.1.2
Cflags: -I${includedir}
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!