MISR Toolkit  1.5.1
dfstubs.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF. The full HDF copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the files COPYING and Copyright.html. COPYING can be found at the root *
9  * of the source code distribution tree; Copyright.html can be found at *
10  * http://hdfgroup.org/products/hdf4/doc/Copyright.html. If you do not have *
11  * access to either file, you may request a copy from help@hdfgroup.org. *
12  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 /* $Id: dfstubs.h 4932 2007-09-07 17:17:23Z bmribler $ */
15 
16 /*
17  ** FILE
18  ** dfstubs.h
19  ** PURPOSE
20  ** Header file for "dfstubs.c" HDF 3.1 emulation using new routines
21  ** from "hfile.c".
22  ** AUTHOR
23  ** Doug Ilg
24  */
25 
26 #ifndef DFSTUBS_H /* avoid re-inclusion */
27 #define DFSTUBS_H
28 /* This is the master HDF driver (taking the place of df.c), so... */
29 #define DFMASTER
30 #undef PERM_OUT /* used to "comment out" code */
31 
32 #include "df.h"
33 #undef DFMASTER
34 
35 #if !defined(__GNUC__) & !defined(CONVEX) & !defined(VMS)
36 #include <memory.h>
37 #endif /* !__GNUC__ & !CONVEX & !VMS */
38 
39 #define DFACC_APPEND 8
40 #define DFEL_ABSENT 0
41 #define DFEL_RESIDENT 1
42 #define DFSRCH_OLD 0
43 #define DFSRCH_NEW 1
44 
45 PRIVATE int32 DFid = 0;
46 PRIVATE int32 DFaid = 0;
49 PRIVATE uint16 search_tag = 0;
50 PRIVATE uint16 search_ref = 0;
52 PRIVATE int32 search_aid = 0;
54 PRIVATE int32 DFelsize = 0;
55 PRIVATE int32 DFelseekpos = 0;
56 PRIVATE uint16 acc_tag = 0;
57 PRIVATE uint16 acc_ref = 0;
58 PRIVATE char *DFelement = NULL;
59 
60 #if defined c_plusplus || defined __cplusplus
61 extern "C"
62 {
63 #endif /* c_plusplus || __cplusplus */
64 
65 /* prototypes for internal routines */
67  (void);
68 
69  PRIVATE int DFIcheck
70  (DF * dfile);
71 
72 #if defined c_plusplus || defined __cplusplus
73 }
74 #endif /* c_plusplus || __cplusplus */
75 
76 #endif /* DFSTUBS_H */
#define PRIVATE
Definition: hdf.h:117
PRIVATE int DFaccmode
Definition: dfstubs.h:47
PRIVATE int DFelstat
Definition: dfstubs.h:53
PRIVATE int32 DFelsize
Definition: dfstubs.h:54
PRIVATE int DFIcheck(DF *dfile)
PRIVATE uint16 acc_ref
Definition: dfstubs.h:57
PRIVATE int32 DFaid
Definition: dfstubs.h:46
PRIVATE int32 DFelseekpos
Definition: dfstubs.h:55
#define DFSRCH_NEW
Definition: dfstubs.h:43
PRIVATE uint16 search_ref
Definition: dfstubs.h:50
PRIVATE uint16 search_tag
Definition: dfstubs.h:49
PRIVATE char * DFelement
Definition: dfstubs.h:58
PRIVATE int search_stat
Definition: dfstubs.h:51
#define DFEL_ABSENT
Definition: dfstubs.h:40
PRIVATE int DFelaccmode
Definition: dfstubs.h:48
Definition: df.h:74
PRIVATE uint16 acc_tag
Definition: dfstubs.h:56
PRIVATE int DFIclearacc(void)
PRIVATE int32 DFid
Definition: dfstubs.h:45
PRIVATE int32 search_aid
Definition: dfstubs.h:52

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:52