ocssw  1.0
/disk01/web/ocssw/build/src/l2mapgen/miscstruct.h (r8099/r2592)
Go to the documentation of this file.
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 "misc.h"
00029 
00030 extern uint32_t globalSerialNumber;
00031 typedef struct _DDXPoint {
00032     short x, y;
00033 } DDXPointRec;
00034 
00035 typedef struct _Box {
00036     short x1, y1, x2, y2;
00037 } BoxRec;
00038 
00039 typedef union _DevUnion {
00040     pointer     ptr;
00041     int32_t     val;
00042     uint32_t uval;
00043 } DevUnion;
00044 
00045 #endif /* MISCSTRUCT_H */