65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Copyright © 2009 Red Hat, Inc.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
65fea56f17cd614bc8908264df980a62e1931468vboxsync * copy of this software and associated documentation files (the "Software"),
65fea56f17cd614bc8908264df980a62e1931468vboxsync * to deal in the Software without restriction, including without limitation
65fea56f17cd614bc8908264df980a62e1931468vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
65fea56f17cd614bc8908264df980a62e1931468vboxsync * and/or sell copies of the Software, and to permit persons to whom the
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Software is furnished to do so, subject to the following conditions:
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * The above copyright notice and this permission notice (including the next
65fea56f17cd614bc8908264df980a62e1931468vboxsync * paragraph) shall be included in all copies or substantial portions of the
65fea56f17cd614bc8908264df980a62e1931468vboxsync * Software.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
65fea56f17cd614bc8908264df980a62e1931468vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
65fea56f17cd614bc8908264df980a62e1931468vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
65fea56f17cd614bc8908264df980a62e1931468vboxsync * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65fea56f17cd614bc8908264df980a62e1931468vboxsync * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
65fea56f17cd614bc8908264df980a62e1931468vboxsync * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
65fea56f17cd614bc8908264df980a62e1931468vboxsync * DEALINGS IN THE SOFTWARE.
65fea56f17cd614bc8908264df980a62e1931468vboxsync *
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/**
65fea56f17cd614bc8908264df980a62e1931468vboxsync * This file specifies the server-supported protocol versions.
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifndef _PROTOCOL_VERSIONS_
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define _PROTOCOL_VERSIONS_
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Apple DRI */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_APPLEDRI_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_APPLEDRI_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_APPLEDRI_PATCH_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* AppleWM */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_APPLEWM_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_APPLEWM_MINOR_VERSION 3
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_APPLEWM_PATCH_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Composite */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_COMPOSITE_MAJOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_COMPOSITE_MINOR_VERSION 4
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Damage */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_DAMAGE_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_DAMAGE_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* DRI3 */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_DRI3_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_DRI3_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* DMX */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_DMX_MAJOR_VERSION 2
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_DMX_MINOR_VERSION 2
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_DMX_PATCH_VERSION 20040604
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Generic event extension */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_GE_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_GE_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* GLX */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_GLX_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_GLX_MINOR_VERSION 4
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Xinerama */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_PANORAMIX_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_PANORAMIX_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Present */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_PRESENT_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_PRESENT_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* RandR */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_RANDR_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_RANDR_MINOR_VERSION 4
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Record */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_RECORD_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_RECORD_MINOR_VERSION 13
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Render */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_RENDER_MAJOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_RENDER_MINOR_VERSION 11
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* RandR Xinerama */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_RRXINERAMA_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_RRXINERAMA_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Screensaver */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SAVER_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SAVER_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Security */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SECURITY_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SECURITY_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Shape */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SHAPE_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SHAPE_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* SHM */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SHM_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#if XTRANS_SEND_FDS
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SHM_MINOR_VERSION 2
65fea56f17cd614bc8908264df980a62e1931468vboxsync#else
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SHM_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Sync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SYNC_MAJOR_VERSION 3
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_SYNC_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Windows WM */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_WINDOWSWM_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_WINDOWSWM_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_WINDOWSWM_PATCH_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* DGA */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XDGA_MAJOR_VERSION 2
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XDGA_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Big Font */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XF86BIGFONT_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XF86BIGFONT_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* DRI */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XF86DRI_MAJOR_VERSION 4
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XF86DRI_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XF86DRI_PATCH_VERSION 20040604
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Vidmode */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XF86VIDMODE_MAJOR_VERSION 2
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XF86VIDMODE_MINOR_VERSION 2
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Fixes */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XFIXES_MAJOR_VERSION 5
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XFIXES_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* X Input */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XI_MAJOR_VERSION 2
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XI_MINOR_VERSION 3
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* XKB */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XKB_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XKB_MINOR_VERSION 0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* Resource */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XRES_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XRES_MINOR_VERSION 2
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/* XvMC */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XVMC_MAJOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define SERVER_XVMC_MINOR_VERSION 1
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif