f78b12e570284aa8291f4ca1add24937fd107403vboxsync/*
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * (C) Copyright IBM Corporation 2005
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * All Rights Reserved.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * copy of this software and associated documentation files (the "Software"),
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * to deal in the Software without restriction, including without limitation
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * the rights to use, copy, modify, merge, publish, distribute, sub license,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * and/or sell copies of the Software, and to permit persons to whom the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Software is furnished to do so, subject to the following conditions:
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * The above copyright notice and this permission notice (including the next
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * paragraph) shall be included in all copies or substantial portions of the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Software.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * IBM,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * SOFTWARE.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifndef __GLX_INDIRECT_UTIL_H__
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define __GLX_INDIRECT_UTIL_H__
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern GLint __glGetBooleanv_variable_size( GLenum e );
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void * __glXGetAnswerBuffer( __GLXclientState * cl,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync size_t required_size, void * local_buffer, size_t local_size,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync unsigned alignment );
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXSendReply( ClientPtr client, const void * data,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync size_t elements, size_t element_size, GLboolean always_array,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync CARD32 retval );
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void __glXSendReplySwap( ClientPtr client, const void * data,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync size_t elements, size_t element_size, GLboolean always_array,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync CARD32 retval );
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncstruct __glXDispatchInfo;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern void *__glXGetProtocolDecodeFunction(
f78b12e570284aa8291f4ca1add24937fd107403vboxsync const struct __glXDispatchInfo *dispatch_info, int opcode,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int swapped_version);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern int __glXGetProtocolSizeData(
f78b12e570284aa8291f4ca1add24937fd107403vboxsync const struct __glXDispatchInfo *dispatch_info, int opcode,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync __GLXrenderSizeData *data);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif /* __GLX_INDIRECT_UTIL_H__ */