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

« back to all changes in this revision

Viewing changes to unix/xc/lib/xkbfile/XKBbells.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
#ifndef _XKBBELLS_H_
 
2
#define _XKBBELLS_H_ 1
 
3
 
 
4
/* $Xorg: XKBbells.h,v 1.3 2000/08/17 19:46:42 cpqbld Exp $ */
 
5
/************************************************************
 
6
 Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc.
 
7
 
 
8
 Permission to use, copy, modify, and distribute this
 
9
 software and its documentation for any purpose and without
 
10
 fee is hereby granted, provided that the above copyright
 
11
 notice appear in all copies and that both that copyright
 
12
 notice and this permission notice appear in supporting
 
13
 documentation, and that the name of Silicon Graphics not be 
 
14
 used in advertising or publicity pertaining to distribution 
 
15
 of the software without specific prior written permission.
 
16
 Silicon Graphics makes no representation about the suitability 
 
17
 of this software for any purpose. It is provided "as is"
 
18
 without any express or implied warranty.
 
19
 
 
20
 SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 
 
21
 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 
 
22
 AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
 
23
 GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 
 
24
 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 
 
25
 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 
 
26
 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
 
27
 THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
28
 
 
29
 ********************************************************/
 
30
 
 
31
#define XkbBN_Info                      "Info"
 
32
#define XkbBN_Warning                   "Warning"
 
33
#define XkbBN_MinorError                "MinorError"
 
34
#define XkbBN_MajorError                "MajorError"
 
35
#define XkbBN_BadValue                  "BadValue"
 
36
#define XkbBN_InvalidLocation           "InvalidLocation"
 
37
#define XkbBN_Question                  "Question"
 
38
#define XkbBN_Start                     "Start"
 
39
#define XkbBN_End                       "End"
 
40
#define XkbBN_Success                   "Success"
 
41
#define XkbBN_Failure                   "Failure"
 
42
#define XkbBN_Wait                      "Wait"
 
43
#define XkbBN_Proceed                   "Proceed"
 
44
#define XkbBN_Ignore                    "Ignore"
 
45
#define XkbBN_Iconify                   "Iconify"
 
46
#define XkbBN_Deiconify                 "Deconify"
 
47
#define XkbBN_Open                      "Open"
 
48
#define XkbBN_Close                     "Close"
 
49
#define XkbBN_TerminalBell              "TerminalBell"
 
50
#define XkbBN_MarginBell                "MarginBell"
 
51
#define XkbBN_CursorStuck               "CursorStuck"
 
52
#define XkbBN_NewMail                   "NewMail"
 
53
#define XkbBN_LaunchApp                 "LaunchApp"
 
54
#define XkbBN_AppDeath                  "AppDeath"
 
55
#define XkbBN_ImAlive                   "ImAlive"
 
56
#define XkbBN_ClockChimeHour            "ClockChimeHour"
 
57
#define XkbBN_ClockChimeHalf            "ClockChimeHalf"
 
58
#define XkbBN_ClockChimeQuarter         "ClockChimeQuarter"
 
59
#define XkbBN_RepeatingLastBell         "RepeatingLastBell"
 
60
#define XkbBN_ComposeFail               "ComposeFail"
 
61
#define XkbBN_AX_FeatureOn              "AX_FeatureOn"
 
62
#define XkbBN_AX_FeatureOff             "AX_FeatureOff"
 
63
#define XkbBN_AX_FeatureChange          "AX_FeatureChange"
 
64
#define XkbBN_AX_IndicatorOn            "AX_IndicatorOn"
 
65
#define XkbBN_AX_IndicatorOff           "AX_IndicatorOff"
 
66
#define XkbBN_AX_IndicatorChange        "AX_IndicatorChange"
 
67
#define XkbBN_AX_SlowKeysWarning        "AX_SlowKeysWarning"
 
68
#define XkbBN_AX_SlowKeyPress           "AX_SlowKeyPress"
 
69
#define XkbBN_AX_SlowKeyAccept          "AX_SlowKeyAccept"
 
70
#define XkbBN_AX_SlowKeyReject          "AX_SlowKeyReject"
 
71
#define XkbBN_AX_SlowKeyRelease         "AX_SlowKeyRelease"
 
72
#define XkbBN_AX_BounceKeyReject        "AX_BounceKeyReject"
 
73
#define XkbBN_AX_StickyLatch            "AX_StickyLatch"
 
74
#define XkbBN_AX_StickyLock             "AX_StickyLock"
 
75
#define XkbBN_AX_StickyUnlock           "AX_StickyUnlock"
 
76
 
 
77
#define XkbBI_Info                      0
 
78
#define XkbBI_Warning                   1
 
79
#define XkbBI_MinorError                2
 
80
#define XkbBI_MajorError                3
 
81
#define XkbBI_BadValue                  4
 
82
#define XkbBI_InvalidLocation           5
 
83
#define XkbBI_Question                  6
 
84
#define XkbBI_Start                     7
 
85
#define XkbBI_End                       8
 
86
#define XkbBI_Success                   9
 
87
#define XkbBI_Failure                   10
 
88
#define XkbBI_Wait                      11
 
89
#define XkbBI_Proceed                   12
 
90
#define XkbBI_Ignore                    13
 
91
#define XkbBI_Iconify                   14
 
92
#define XkbBI_Deiconify                 15
 
93
#define XkbBI_Open                      16
 
94
#define XkbBI_Close                     17
 
95
#define XkbBI_TerminalBell              18
 
96
#define XkbBI_MarginBell                19
 
97
#define XkbBI_CursorStuck               20
 
98
#define XkbBI_NewMail                   21
 
99
#define XkbBI_LaunchApp                 22
 
100
#define XkbBI_AppDeath                  23
 
101
#define XkbBI_ImAlive                   24
 
102
#define XkbBI_ClockChimeHour            25
 
103
#define XkbBI_ClockChimeHalf            26
 
104
#define XkbBI_ClockChimeQuarter         27
 
105
#define XkbBI_RepeatingLastBell         28
 
106
#define XkbBI_ComposeFail               29
 
107
#define XkbBI_AX_FeatureOn              30
 
108
#define XkbBI_AX_FeatureOff             31
 
109
#define XkbBI_AX_FeatureChange          32
 
110
#define XkbBI_AX_IndicatorOn            33
 
111
#define XkbBI_AX_IndicatorOff           34
 
112
#define XkbBI_AX_IndicatorChange        35
 
113
#define XkbBI_AX_SlowKeysWarning        36
 
114
#define XkbBI_AX_SlowKeyPress           37
 
115
#define XkbBI_AX_SlowKeyAccept          38
 
116
#define XkbBI_AX_SlowKeyReject          39
 
117
#define XkbBI_AX_SlowKeyRelease         40
 
118
#define XkbBI_AX_BounceKeyReject        41
 
119
#define XkbBI_AX_StickyLatch            42
 
120
#define XkbBI_AX_StickyLock             43
 
121
#define XkbBI_AX_StickyUnlock           44
 
122
#define XkbBI_NumBells                  45
 
123
 
 
124
_XFUNCPROTOBEGIN
 
125
 
 
126
extern  Bool XkbStdBell(
 
127
#if NeedFunctionPrototypes
 
128
        Display *       /* dpy */,
 
129
        Window          /* win */,
 
130
        int             /* percent */,
 
131
        int             /* bellDef */
 
132
#endif
 
133
);
 
134
 
 
135
extern  Bool XkbStdBellEvent(
 
136
#if NeedFunctionPrototypes
 
137
        Display *       /* dpy */,
 
138
        Window          /* win */,
 
139
        int             /* percent */,
 
140
        int             /* bellDef */
 
141
#endif
 
142
);
 
143
 
 
144
_XFUNCPROTOEND
 
145
 
 
146
#endif /* _XKBBELLS_H_ */