OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
miscstruct.h
Go to the documentation of this file.
1 /* $XConsortium: miscstruct.h,v 5.2 89/06/09 17:54:23 keith Exp $ */
2 /***********************************************************
3 Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
4 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
5 
6  All Rights Reserved
7 
8 Permission to use, copy, modify, and distribute this software and its
9 documentation for any purpose and without fee is hereby granted,
10 provided that the above copyright notice appear in all copies and that
11 both that copyright notice and this permission notice appear in
12 supporting documentation, and that the names of Digital or MIT not be
13 used in advertising or publicity pertaining to distribution of the
14 software without specific, written prior permission.
15 
16 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
17 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
18 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
19 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
21 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
22 SOFTWARE.
23 
24  ******************************************************************/
25 #ifndef MISCSTRUCT_H
26 #define MISCSTRUCT_H 1
27 
28 #include <stdint.h>
29 #include "misc.h"
30 
31 extern uint32_t globalSerialNumber;
32 
33 typedef struct _DDXPoint {
34  short x, y;
35 } DDXPointRec;
36 
37 typedef struct _Box {
38  short x1, y1, x2, y2;
39 } BoxRec;
40 
41 typedef union _DevUnion {
43  int32_t val;
44  uint32_t uval;
45 } DevUnion;
46 
47 #endif /* MISCSTRUCT_H */
unsigned char * pointer
Definition: misc.h:54
int32_t val
Definition: miscstruct.h:43
short y1
Definition: miscstruct.h:38
short y
Definition: miscstruct.h:34
uint32_t uval
Definition: miscstruct.h:44
uint32_t globalSerialNumber
short x
Definition: miscstruct.h:34
short x1
Definition: miscstruct.h:38
short y2
Definition: miscstruct.h:38
pointer ptr
Definition: miscstruct.h:42
short x2
Definition: miscstruct.h:38