globals.h revision 266e564d
1266e564dSmrg/* $Xorg: globals.h,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */ 2266e564dSmrg/****************************************************************************** 3266e564dSmrg 4266e564dSmrg 5266e564dSmrgCopyright 1993, 1998 The Open Group 6266e564dSmrg 7266e564dSmrgPermission to use, copy, modify, distribute, and sell this software and its 8266e564dSmrgdocumentation for any purpose is hereby granted without fee, provided that 9266e564dSmrgthe above copyright notice appear in all copies and that both that 10266e564dSmrgcopyright notice and this permission notice appear in supporting 11266e564dSmrgdocumentation. 12266e564dSmrg 13266e564dSmrgThe above copyright notice and this permission notice shall be included in 14266e564dSmrgall copies or substantial portions of the Software. 15266e564dSmrg 16266e564dSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17266e564dSmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18266e564dSmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19266e564dSmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 20266e564dSmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21266e564dSmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22266e564dSmrg 23266e564dSmrgExcept as contained in this notice, the name of The Open Group shall not be 24266e564dSmrgused in advertising or otherwise to promote the sale, use or other dealings 25266e564dSmrgin this Software without prior written authorization from The Open Group. 26266e564dSmrg 27266e564dSmrgAuthor: Ralph Mor, X Consortium 28266e564dSmrg******************************************************************************/ 29266e564dSmrg/* $XFree86: xc/lib/ICE/globals.h,v 1.4 2001/12/14 19:53:35 dawes Exp $ */ 30266e564dSmrg 31266e564dSmrgextern void _IceDefaultErrorHandler (); 32266e564dSmrgextern void _IceDefaultIOErrorHandler (); 33266e564dSmrg 34266e564dSmrgextern IcePoAuthStatus _IcePoMagicCookie1Proc (); 35266e564dSmrgextern IcePaAuthStatus _IcePaMagicCookie1Proc (); 36266e564dSmrg 37266e564dSmrgextern void _IceProcessCoreMessage (); 38266e564dSmrg 39266e564dSmrg#ifndef __UNIXOS2__ 40266e564dSmrgIceConn _IceConnectionObjs[256]; 41266e564dSmrgchar *_IceConnectionStrings[256]; 42266e564dSmrg_IceProtocol _IceProtocols[255]; 43266e564dSmrg#else 44266e564dSmrgIceConn _IceConnectionObjs[256] = {0}; 45266e564dSmrgchar *_IceConnectionStrings[256] = {0}; 46266e564dSmrg_IceProtocol _IceProtocols[255] = {0}; 47266e564dSmrg#endif 48266e564dSmrgint _IceConnectionCount = 0; 49266e564dSmrg 50266e564dSmrgint _IceLastMajorOpcode = 0; 51266e564dSmrg 52266e564dSmrgint _IceAuthCount = 1; 53266e564dSmrgchar *_IceAuthNames[] = {"MIT-MAGIC-COOKIE-1"}; 54266e564dSmrgIcePoAuthProc _IcePoAuthProcs[] = {_IcePoMagicCookie1Proc}; 55266e564dSmrgIcePaAuthProc _IcePaAuthProcs[] = {_IcePaMagicCookie1Proc}; 56266e564dSmrg 57266e564dSmrgint _IceVersionCount = 1; 58266e564dSmrg_IceVersion _IceVersions[] = { 59266e564dSmrg {IceProtoMajor, IceProtoMinor, _IceProcessCoreMessage}}; 60266e564dSmrg 61266e564dSmrg_IceWatchProc *_IceWatchProcs = NULL; 62266e564dSmrg 63266e564dSmrgIceErrorHandler _IceErrorHandler = _IceDefaultErrorHandler; 64266e564dSmrgIceIOErrorHandler _IceIOErrorHandler = _IceDefaultIOErrorHandler; 65