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