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

« back to all changes in this revision

Viewing changes to unix/xc/lib/XIE/globals.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
/* $Xorg: globals.h,v 1.4 2001/02/09 02:03:41 xorgcvs Exp $ */
 
2
 
 
3
/*
 
4
 
 
5
Copyright 1993, 1998  The Open Group
 
6
 
 
7
Permission to use, copy, modify, distribute, and sell this software and its
 
8
documentation for any purpose is hereby granted without fee, provided that
 
9
the above copyright notice appear in all copies and that both that
 
10
copyright notice and this permission notice appear in supporting
 
11
documentation.
 
12
 
 
13
The above copyright notice and this permission notice shall be included
 
14
in all copies or substantial portions of the Software.
 
15
 
 
16
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
17
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
18
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 
19
IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
 
20
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 
21
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 
22
OTHER DEALINGS IN THE SOFTWARE.
 
23
 
 
24
Except as contained in this notice, the name of The Open Group shall
 
25
not be used in advertising or otherwise to promote the sale, use or
 
26
other dealings in this Software without prior written authorization
 
27
from The Open Group.
 
28
 
 
29
*/
 
30
/* $XFree86: xc/lib/XIE/globals.h,v 1.6 2002/05/31 18:45:43 dawes Exp $ */
 
31
 
 
32
extern void _XieElemImportClientLUT             (char **, XiePhotoElement *);
 
33
extern void _XieElemImportClientPhoto           (char **, XiePhotoElement *);
 
34
extern void _XieElemImportClientROI             (char **, XiePhotoElement *);
 
35
extern void _XieElemImportDrawable              (char **, XiePhotoElement *);
 
36
extern void _XieElemImportDrawablePlane         (char **, XiePhotoElement *);
 
37
extern void _XieElemImportLUT                   (char **, XiePhotoElement *);
 
38
extern void _XieElemImportPhotomap              (char **, XiePhotoElement *);
 
39
extern void _XieElemImportROI                   (char **, XiePhotoElement *);
 
40
extern void _XieElemArithmetic                  (char **, XiePhotoElement *);
 
41
extern void _XieElemBandCombine                 (char **, XiePhotoElement *);
 
42
extern void _XieElemBandExtract                 (char **, XiePhotoElement *);
 
43
extern void _XieElemBandSelect                  (char **, XiePhotoElement *);
 
44
extern void _XieElemBlend                       (char **, XiePhotoElement *);
 
45
extern void _XieElemCompare                     (char **, XiePhotoElement *);
 
46
extern void _XieElemConstrain                   (char **, XiePhotoElement *);
 
47
extern void _XieElemConvertFromIndex            (char **, XiePhotoElement *);
 
48
extern void _XieElemConvertFromRGB              (char **, XiePhotoElement *);
 
49
extern void _XieElemConvertToIndex              (char **, XiePhotoElement *);
 
50
extern void _XieElemConvertToRGB                (char **, XiePhotoElement *);
 
51
extern void _XieElemConvolve                    (char **, XiePhotoElement *);
 
52
extern void _XieElemDither                      (char **, XiePhotoElement *);
 
53
extern void _XieElemGeometry                    (char **, XiePhotoElement *);
 
54
extern void _XieElemLogical                     (char **, XiePhotoElement *);
 
55
extern void _XieElemMatchHistogram              (char **, XiePhotoElement *);
 
56
extern void _XieElemMath                        (char **, XiePhotoElement *);
 
57
extern void _XieElemPasteUp                     (char **, XiePhotoElement *);
 
58
extern void _XieElemPoint                       (char **, XiePhotoElement *);
 
59
extern void _XieElemUnconstrain                 (char **, XiePhotoElement *);
 
60
extern void _XieElemExportClientHistogram       (char **, XiePhotoElement *);
 
61
extern void _XieElemExportClientLUT             (char **, XiePhotoElement *);
 
62
extern void _XieElemExportClientPhoto           (char **, XiePhotoElement *);
 
63
extern void _XieElemExportClientROI             (char **, XiePhotoElement *);
 
64
extern void _XieElemExportDrawable              (char **, XiePhotoElement *);
 
65
extern void _XieElemExportDrawablePlane         (char **, XiePhotoElement *);
 
66
extern void _XieElemExportLUT                   (char **, XiePhotoElement *);
 
67
extern void _XieElemExportPhotomap              (char **, XiePhotoElement *);
 
68
extern void _XieElemExportROI                   (char **, XiePhotoElement *);
 
69
 
 
70
#ifdef NEED_XIE_GLOBALS
 
71
 
 
72
XieExtInfo *_XieExtInfoHeader = NULL;
 
73
 
 
74
void (*(_XieElemFuncs[]))(char **, XiePhotoElement *) =
 
75
{
 
76
    _XieElemImportClientLUT,
 
77
    _XieElemImportClientPhoto,
 
78
    _XieElemImportClientROI,
 
79
    _XieElemImportDrawable,
 
80
    _XieElemImportDrawablePlane,
 
81
    _XieElemImportLUT,
 
82
    _XieElemImportPhotomap,
 
83
    _XieElemImportROI,
 
84
    _XieElemArithmetic,
 
85
    _XieElemBandCombine,
 
86
    _XieElemBandExtract,
 
87
    _XieElemBandSelect,
 
88
    _XieElemBlend,
 
89
    _XieElemCompare,
 
90
    _XieElemConstrain,
 
91
    _XieElemConvertFromIndex,
 
92
    _XieElemConvertFromRGB,
 
93
    _XieElemConvertToIndex,
 
94
    _XieElemConvertToRGB,
 
95
    _XieElemConvolve,
 
96
    _XieElemDither,
 
97
    _XieElemGeometry,
 
98
    _XieElemLogical,
 
99
    _XieElemMatchHistogram,
 
100
    _XieElemMath,
 
101
    _XieElemPasteUp,
 
102
    _XieElemPoint,
 
103
    _XieElemUnconstrain,
 
104
    _XieElemExportClientHistogram,
 
105
    _XieElemExportClientLUT,
 
106
    _XieElemExportClientPhoto,
 
107
    _XieElemExportClientROI,
 
108
    _XieElemExportDrawable,
 
109
    _XieElemExportDrawablePlane,
 
110
    _XieElemExportLUT,
 
111
    _XieElemExportPhotomap,
 
112
    _XieElemExportROI
 
113
};
 
114
 
 
115
 
 
116
#ifndef __UNIXOS2__
 
117
XieTechFuncRec *_XieTechFuncs[xieValMaxTechGroup];
 
118
#else
 
119
XieTechFuncRec *_XieTechFuncs[xieValMaxTechGroup] = {0};
 
120
#endif
 
121
 
 
122
Bool _XieTechFuncsInitialized = 0;
 
123
 
 
124
#endif /* NEED_XIE_GLOBALS */