Apply a patch for fixing TDIS-5990 (CVE-2013-1940 allow physically proximate attacker...
[framework/uifw/xorg/server/xorg-server.git] / include / protocol-versions.h
1 /*
2  * Copyright © 2009 Red Hat, Inc.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice (including the next
12  * paragraph) shall be included in all copies or substantial portions of the
13  * Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21  * DEALINGS IN THE SOFTWARE.
22  *
23  */
24
25 /**
26  * This file specifies the server-supported protocol versions.
27  */
28 #ifndef _PROTOCOL_VERSIONS_
29 #define _PROTOCOL_VERSIONS_
30
31 /* Apple DRI */
32 #define SERVER_APPLEDRI_MAJOR_VERSION           1
33 #define SERVER_APPLEDRI_MINOR_VERSION           0
34 #define SERVER_APPLEDRI_PATCH_VERSION           0
35
36 #ifdef _F_GESTURE_EXTENSION_
37 /* Gesture */
38 #define SERVER_GESTURE_MAJOR_VERSION            0
39 #define SERVER_GESTURE_MINOR_VERSION            1
40 #define SERVER_GESTURE_PATCH_VERSION            0
41 #endif//_F_GESTURE_EXTENSION_
42
43 /* AppleWM */
44 #define SERVER_APPLEWM_MAJOR_VERSION            1
45 #define SERVER_APPLEWM_MINOR_VERSION            3
46 #define SERVER_APPLEWM_PATCH_VERSION            0
47
48 /* Composite */
49 #define SERVER_COMPOSITE_MAJOR_VERSION          0
50 #define SERVER_COMPOSITE_MINOR_VERSION          4
51
52 /* Damage */
53 #define SERVER_DAMAGE_MAJOR_VERSION             1
54 #define SERVER_DAMAGE_MINOR_VERSION             1
55
56 /* DMX */
57 #define SERVER_DMX_MAJOR_VERSION                2
58 #define SERVER_DMX_MINOR_VERSION                2
59 #define SERVER_DMX_PATCH_VERSION                20040604
60
61 /* Generic event extension */
62 #define SERVER_GE_MAJOR_VERSION                 1
63 #define SERVER_GE_MINOR_VERSION                 0
64
65 /* GLX */
66 #define SERVER_GLX_MAJOR_VERSION                1
67 #define SERVER_GLX_MINOR_VERSION                4
68
69 /* Xinerama */
70 #define SERVER_PANORAMIX_MAJOR_VERSION          1
71 #define SERVER_PANORAMIX_MINOR_VERSION          1
72
73 /* RandR */
74 #define SERVER_RANDR_MAJOR_VERSION              1
75 #define SERVER_RANDR_MINOR_VERSION              3
76
77 /* Record */
78 #define SERVER_RECORD_MAJOR_VERSION             1
79 #define SERVER_RECORD_MINOR_VERSION             13
80
81 /* Render */
82 #define SERVER_RENDER_MAJOR_VERSION             0
83 #define SERVER_RENDER_MINOR_VERSION             11
84
85 /* RandR Xinerama */
86 #define SERVER_RRXINERAMA_MAJOR_VERSION         1
87 #define SERVER_RRXINERAMA_MINOR_VERSION         1
88
89 /* Screensaver */
90 #define SERVER_SAVER_MAJOR_VERSION              1
91 #define SERVER_SAVER_MINOR_VERSION              1
92
93 /* Security */
94 #define SERVER_SECURITY_MAJOR_VERSION           1
95 #define SERVER_SECURITY_MINOR_VERSION           0
96
97 /* Shape */
98 #define SERVER_SHAPE_MAJOR_VERSION              1
99 #define SERVER_SHAPE_MINOR_VERSION              1
100
101 /* SHM */
102 #define SERVER_SHM_MAJOR_VERSION                1
103 #define SERVER_SHM_MINOR_VERSION                1
104
105 /* Sync */
106 #define SERVER_SYNC_MAJOR_VERSION               3
107 #define SERVER_SYNC_MINOR_VERSION               1
108
109 /* Windows WM */
110 #define SERVER_WINDOWSWM_MAJOR_VERSION          1
111 #define SERVER_WINDOWSWM_MINOR_VERSION          0
112 #define SERVER_WINDOWSWM_PATCH_VERSION          0
113
114 /* DGA */
115 #define SERVER_XDGA_MAJOR_VERSION               2
116 #define SERVER_XDGA_MINOR_VERSION               0
117
118 /* Big Font */
119 #define SERVER_XF86BIGFONT_MAJOR_VERSION        1
120 #define SERVER_XF86BIGFONT_MINOR_VERSION        1
121
122 /* DRI */
123 #define SERVER_XF86DRI_MAJOR_VERSION            4
124 #define SERVER_XF86DRI_MINOR_VERSION            1
125 #define SERVER_XF86DRI_PATCH_VERSION            20040604
126
127 /* Vidmode */
128 #define SERVER_XF86VIDMODE_MAJOR_VERSION        2
129 #define SERVER_XF86VIDMODE_MINOR_VERSION        2
130
131 /* Fixes */
132 #define SERVER_XFIXES_MAJOR_VERSION             5
133 #define SERVER_XFIXES_MINOR_VERSION             0
134
135 /* X Input */
136 #define SERVER_XI_MAJOR_VERSION                 2
137 #define SERVER_XI_MINOR_VERSION                 2
138
139 /* XKB */
140 #define SERVER_XKB_MAJOR_VERSION                1
141 #define SERVER_XKB_MINOR_VERSION                0
142
143 /* Resource */
144 #define SERVER_XRES_MAJOR_VERSION               1
145 #define SERVER_XRES_MINOR_VERSION               2
146
147 /* XvMC */
148 #define SERVER_XVMC_MAJOR_VERSION               1
149 #define SERVER_XVMC_MINOR_VERSION               1
150
151 #endif