|
ocssw
1.0
|
00001 /* $XConsortium: miscstruct.h,v 5.2 89/06/09 17:54:23 keith Exp $ */ 00002 /*********************************************************** 00003 Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts, 00004 and the Massachusetts Institute of Technology, Cambridge, Massachusetts. 00005 00006 All Rights Reserved 00007 00008 Permission to use, copy, modify, and distribute this software and its 00009 documentation for any purpose and without fee is hereby granted, 00010 provided that the above copyright notice appear in all copies and that 00011 both that copyright notice and this permission notice appear in 00012 supporting documentation, and that the names of Digital or MIT not be 00013 used in advertising or publicity pertaining to distribution of the 00014 software without specific, written prior permission. 00015 00016 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 00017 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 00018 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 00019 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 00020 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 00021 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 00022 SOFTWARE. 00023 00024 ******************************************************************/ 00025 #ifndef MISCSTRUCT_H 00026 #define MISCSTRUCT_H 1 00027 00028 #include <stdint.h> 00029 #include "misc.h" 00030 00031 extern uint32_t globalSerialNumber; 00032 typedef struct _DDXPoint { 00033 short x, y; 00034 } DDXPointRec; 00035 00036 typedef struct _Box { 00037 short x1, y1, x2, y2; 00038 } BoxRec; 00039 00040 typedef union _DevUnion { 00041 pointer ptr; 00042 int32_t val; 00043 uint32_t uval; 00044 } DevUnion; 00045 00046 #endif /* MISCSTRUCT_H */
1.7.6.1