~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/extras/Mesa/src/rastpos.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/*
 
3
 * Mesa 3-D graphics library
 
4
 * Version:  3.5
 
5
 *
 
6
 * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
 
7
 *
 
8
 * Permission is hereby granted, free of charge, to any person obtaining a
 
9
 * copy of this software and associated documentation files (the "Software"),
 
10
 * to deal in the Software without restriction, including without limitation
 
11
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 
12
 * and/or sell copies of the Software, and to permit persons to whom the
 
13
 * Software is furnished to do so, subject to the following conditions:
 
14
 *
 
15
 * The above copyright notice and this permission notice shall be included
 
16
 * in all copies or substantial portions of the Software.
 
17
 *
 
18
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
19
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
20
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 
21
 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 
22
 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 
23
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
24
 */
 
25
 
 
26
 
 
27
#ifndef RASTPOS_H
 
28
#define RASTPOS_H
 
29
 
 
30
 
 
31
#include "glheader.h"
 
32
 
 
33
 
 
34
extern void
 
35
_mesa_RasterPos2d(GLdouble x, GLdouble y);
 
36
 
 
37
extern void
 
38
_mesa_RasterPos2f(GLfloat x, GLfloat y);
 
39
 
 
40
extern void
 
41
_mesa_RasterPos2i(GLint x, GLint y);
 
42
 
 
43
extern void
 
44
_mesa_RasterPos2s(GLshort x, GLshort y);
 
45
 
 
46
extern void
 
47
_mesa_RasterPos3d(GLdouble x, GLdouble y, GLdouble z);
 
48
 
 
49
extern void
 
50
_mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z);
 
51
 
 
52
extern void
 
53
_mesa_RasterPos3i(GLint x, GLint y, GLint z);
 
54
 
 
55
extern void
 
56
_mesa_RasterPos3s(GLshort x, GLshort y, GLshort z);
 
57
 
 
58
extern void
 
59
_mesa_RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
 
60
 
 
61
extern void
 
62
_mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
 
63
 
 
64
extern void
 
65
_mesa_RasterPos4i(GLint x, GLint y, GLint z, GLint w);
 
66
 
 
67
extern void
 
68
_mesa_RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
 
69
 
 
70
extern void
 
71
_mesa_RasterPos2dv(const GLdouble *v);
 
72
 
 
73
extern void
 
74
_mesa_RasterPos2fv(const GLfloat *v);
 
75
 
 
76
extern void
 
77
_mesa_RasterPos2iv(const GLint *v);
 
78
 
 
79
extern void
 
80
_mesa_RasterPos2sv(const GLshort *v);
 
81
 
 
82
extern void
 
83
_mesa_RasterPos3dv(const GLdouble *v);
 
84
 
 
85
extern void
 
86
_mesa_RasterPos3fv(const GLfloat *v);
 
87
 
 
88
extern void
 
89
_mesa_RasterPos3iv(const GLint *v);
 
90
 
 
91
extern void
 
92
_mesa_RasterPos3sv(const GLshort *v);
 
93
 
 
94
extern void
 
95
_mesa_RasterPos4dv(const GLdouble *v);
 
96
 
 
97
extern void
 
98
_mesa_RasterPos4fv(const GLfloat *v);
 
99
 
 
100
extern void
 
101
_mesa_RasterPos4iv(const GLint *v);
 
102
 
 
103
extern void
 
104
_mesa_RasterPos4sv(const GLshort *v);
 
105
 
 
106
 
 
107
/**********************************************************************/
 
108
/***                     GL_MESA_window_pos                         ***/
 
109
/**********************************************************************/
 
110
 
 
111
extern void
 
112
_mesa_WindowPos2dMESA(GLdouble x, GLdouble y);
 
113
 
 
114
extern void
 
115
_mesa_WindowPos2fMESA(GLfloat x, GLfloat y);
 
116
 
 
117
extern void
 
118
_mesa_WindowPos2iMESA(GLint x, GLint y);
 
119
 
 
120
extern void
 
121
_mesa_WindowPos2sMESA(GLshort x, GLshort y);
 
122
 
 
123
extern void
 
124
_mesa_WindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z);
 
125
 
 
126
extern void
 
127
_mesa_WindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z);
 
128
 
 
129
extern void
 
130
_mesa_WindowPos3iMESA(GLint x, GLint y, GLint z);
 
131
 
 
132
extern void
 
133
_mesa_WindowPos3sMESA(GLshort x, GLshort y, GLshort z);
 
134
 
 
135
extern void
 
136
_mesa_WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
 
137
 
 
138
extern void
 
139
_mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
 
140
 
 
141
extern void
 
142
_mesa_WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w);
 
143
 
 
144
extern void
 
145
_mesa_WindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w);
 
146
 
 
147
extern void
 
148
_mesa_WindowPos2dvMESA(const GLdouble *v);
 
149
 
 
150
extern void
 
151
_mesa_WindowPos2fvMESA(const GLfloat *v);
 
152
 
 
153
extern void
 
154
_mesa_WindowPos2ivMESA(const GLint *v);
 
155
 
 
156
extern void
 
157
_mesa_WindowPos2svMESA(const GLshort *v);
 
158
 
 
159
extern void
 
160
_mesa_WindowPos3dvMESA(const GLdouble *v);
 
161
 
 
162
extern void
 
163
_mesa_WindowPos3fvMESA(const GLfloat *v);
 
164
 
 
165
extern void
 
166
_mesa_WindowPos3ivMESA(const GLint *v);
 
167
 
 
168
extern void
 
169
_mesa_WindowPos3svMESA(const GLshort *v);
 
170
 
 
171
extern void
 
172
_mesa_WindowPos4dvMESA(const GLdouble *v);
 
173
 
 
174
extern void
 
175
_mesa_WindowPos4fvMESA(const GLfloat *v);
 
176
 
 
177
extern void
 
178
_mesa_WindowPos4ivMESA(const GLint *v);
 
179
 
 
180
extern void
 
181
_mesa_WindowPos4svMESA(const GLshort *v);
 
182
 
 
183
 
 
184
#endif