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

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/Xext/EVIstruct.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: EVIstruct.h,v 1.3 2000/08/17 19:47:55 cpqbld Exp $ */
 
2
/************************************************************
 
3
Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc.
 
4
Permission to use, copy, modify, and distribute this
 
5
software and its documentation for any purpose and without
 
6
fee is hereby granted, provided that the above copyright
 
7
notice appear in all copies and that both that copyright
 
8
notice and this permission notice appear in supporting
 
9
documentation, and that the name of Silicon Graphics not be
 
10
used in advertising or publicity pertaining to distribution
 
11
of the software without specific prior written permission.
 
12
Silicon Graphics makes no representation about the suitability
 
13
of this software for any purpose. It is provided "as is"
 
14
without any express or implied warranty.
 
15
SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
 
16
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 
17
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
 
18
GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
 
19
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 
20
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
 
21
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
 
22
THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
23
********************************************************/
 
24
#ifndef EVI_STRUCT_H
 
25
#define EVI_STRUCT_H
 
26
/*
 
27
 ******************************************************************************
 
28
 ** Per-ddx data
 
29
 ******************************************************************************
 
30
 */
 
31
typedef int (*GetVisualInfoProc)(
 
32
#if NeedNestedPrototypes
 
33
        VisualID32*,
 
34
        int,
 
35
        xExtendedVisualInfo**,
 
36
        int*,
 
37
        VisualID32**,
 
38
        int*
 
39
#endif
 
40
);
 
41
typedef void (*FreeVisualInfoProc)(
 
42
#if NeedNestedPrototypes
 
43
    xExtendedVisualInfo*,
 
44
    VisualID32*
 
45
#endif
 
46
);
 
47
typedef struct _EviPrivRec {
 
48
    GetVisualInfoProc getVisualInfo;
 
49
    FreeVisualInfoProc freeVisualInfo;
 
50
} EviPrivRec, *EviPrivPtr;
 
51
extern EviPrivPtr eviDDXInit();
 
52
extern void eviDDXReset();
 
53
#endif /* EVI_STRUCT_H */