OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
hdfio.h
Go to the documentation of this file.
1 /*******************************************************************
2 
3  hdfio.h
4 
5  purpose: include file for the use of hdf I/O routines
6 
7  Parameters: none
8 
9  Modification history:
10  Programmer Date Description of change
11  ---------- ---- ---------------------
12  W. Robinson 15-Feb-1993 Original development
13  W. Robinson, SAIC, 28 Jan 2004 add include of mfhdf.h
14  W. Robinson, SAIC, 5 Aug 2004 updated for generic use
15 
16  *******************************************************************/
17 
18 /*
19  * Note that hdf.h is needed for this and navigation defs
20  */
21 #include "hdf.h"
22 #include "mfhdf.h"
23 
24 /*
25  * the l1info_struct structure has file ids...
26  */
27 struct hdfio_struc_d {
28  int32 fid;
29  int32 sdfid;
30 };
31 
32 typedef struct hdfio_struc_d hdfio_struc;
33 
34 /*
35  * prototypes
36  */
37 int hdfio_rd_sd(hdfio_struc, char *, void *);
38 int hdfio_open(char *, hdfio_struc *);
39 int hdfio_rd_gattr(hdfio_struc, char *, int32, int32, void *);
40 void hdfio_close(hdfio_struc);
int32 fid
Definition: hdfio.h:43
int32 sdfid
Definition: hdfio.h:44
int hdfio_rd_gattr(hdfio_struc, char *, int32, int32, void *)
Definition: hdfio.c:62
int hdfio_open(char *, hdfio_struc *)
Definition: hdfio.c:16
void hdfio_close(hdfio_struc)
Definition: hdfio.c:223
int hdfio_rd_sd(hdfio_struc, char *, void *)
Definition: hdfio.c:142