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

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/hw/darwin/quartz/rootlessAquaImp.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
 * Rootless implementation for Mac OS X Aqua environment
 
3
 *
 
4
 * Greg Parker     gparker@cs.stanford.edu
 
5
 */
 
6
/* $XFree86: xc/programs/Xserver/hw/darwin/quartz/rootlessAquaImp.h,v 1.2 2002/12/10 00:00:39 torrey Exp $ */
 
7
 
 
8
#ifndef _ROOTLESSAQUAIMP_H
 
9
#define _ROOTLESSAQUAIMP_H
 
10
 
 
11
#include "fakeBoxRec.h"
 
12
 
 
13
int AquaDisplayCount();
 
14
 
 
15
void AquaScreenInit(int index, int *x, int *y, int *width, int *height,
 
16
                    int *rowBytes, int *bps, int *spp, int *bpp);
 
17
 
 
18
void *AquaNewWindow(void *upperw, int x, int y, int w, int h, int isRoot);
 
19
 
 
20
void AquaDestroyWindow(void *rw);
 
21
 
 
22
void AquaMoveWindow(void *rw, int x, int y);
 
23
 
 
24
void AquaStartResizeWindow(void *rw, int x, int y, int w, int h);
 
25
 
 
26
void AquaFinishResizeWindow(void *rw, int x, int y, int w, int h);
 
27
 
 
28
void AquaUpdateRects(void *rw, fakeBoxRec *rects, int count);
 
29
 
 
30
void AquaRestackWindow(void *rw, void *lowerw);
 
31
 
 
32
void AquaReshapeWindow(void *rw, fakeBoxRec *rects, int count);
 
33
 
 
34
void AquaStartDrawing(void *rw, char **bits,
 
35
                      int *rowBytes, int *depth, int *bpp);
 
36
 
 
37
void AquaStopDrawing(void *rw);
 
38
 
 
39
#endif /* _ROOTLESSAQUAIMP_H */