MISR Toolkit  1.5.1
hproto_fortran.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: hproto.h 4784 2006-11-21 04:49:51Z bmribler $ */
15 
16 #ifndef _H_PROTO_FORTRAN
17 #define _H_PROTO_FORTRAN
18 
19 #include "H4api_adpt.h"
20 #include "df.h"
21 
22 #if defined c_plusplus || defined __cplusplus
23 extern "C"
24 {
25 #endif /* c_plusplus || __cplusplus */
26 
27 
28 /*
29  ** from dfanF.c
30  */
31 # define ndaiganl H4_F77_FUNC(daiganl, DAIGANL)
32 # define ndaigann H4_F77_FUNC(daigann, DAIGANN)
33 # define ndaipann H4_F77_FUNC(daipann, DAIPANN)
34 # define ndailist H4_F77_FUNC(dailist, DAILIST)
35 # define ndalref H4_F77_FUNC(dalref, DALREF)
36 # define ndaclear H4_F77_FUNC(daclear, DACLEAR)
37 # define ndfanlastref H4_F77_FUNC(dfanlastref, DFANLASTREF)
38 # define ndfanaddfds H4_F77_FUNC(dfanaddfds, DFANADDFDS)
39 # define ndfangetfidlen H4_F77_FUNC(dfangetfidlen, DFANGETFIDLEN)
40 # define ndfangetfdslen H4_F77_FUNC(dfangetfdslen, DFANGETFDSLEN)
41 # define ndfangetfid H4_F77_FUNC(dfangetfid, DFANGETFID)
42 # define ndfangetfds H4_F77_FUNC(dfangetfds, DFANGETFDS)
43 # define ndaafds H4_F77_FUNC(daafds, DAAFDS)
44 # define ndagfidl H4_F77_FUNC(dagfidl, DAGFIDL)
45 # define ndagfdsl H4_F77_FUNC(dagfdsl, DAGFDSL)
46 # define ndagfid H4_F77_FUNC(dagfid, DAGFID)
47 # define ndagfds H4_F77_FUNC(dagfds, DAGFDS)
48 # define ndaiafid H4_F77_FUNC(daiafid, DAIAFID)
49 
52  intf * fnlen);
53 
55  (_fcd filename, intf * tag, intf * ref, _fcd annotation,
56  intf * maxlen, intf * type, intf * fnlen);
57 
59  (_fcd filename, intf * tag, intf * ref, _fcd annotation,
60  intf * annlen, intf * type, intf * fnlen);
61 
63  (_fcd filename, intf * tag, intf reflist[], _fcd labellist,
64  intf * listsize, intf * maxlen, intf * startpos,
65  intf * fnlen);
66 
68  (void);
69 
71  (void);
72 
74  (void);
75 
77  (intf * dfile, _fcd desc, intf * desclen);
78 
80  (intf * dfile, intf * isfirst);
81 
83  (intf * dfile, intf * isfirst);
84 
86  (intf * dfile, _fcd id, intf * maxlen, intf * isfirst);
87 
89  (intf * dfile, _fcd id, intf * maxlen, intf * isfirst);
90 
92  (intf * dfile, _fcd desc, intf * desclen);
93 
95  (intf * dfile, intf * isfirst);
96 
98  (intf * dfile, intf * isfirst);
99 
101  (intf * dfile, _fcd id, intf * maxlen, intf * isfirst);
102 
104  (intf * dfile, _fcd id, intf * maxlen, intf * isfirst);
105 
107  (intf * dfile, _fcd id, intf * idlen);
108 
109 /*
110  ** from dfr8F.c
111  */
112 # define nd8spal H4_F77_FUNC(d8spal, D8SPAL)
113 # define nd8first H4_F77_FUNC(d8first, D8FIRST)
114 # define nd8igdim H4_F77_FUNC(d8igdim, D8IGDIM)
115 # define nd8igimg H4_F77_FUNC(d8igimg, D8IGIMG)
116 # define nd8ipimg H4_F77_FUNC(d8ipimg, D8IPIMG)
117 # define nd8iaimg H4_F77_FUNC(d8iaimg, D8IAIMG)
118 # define nd8irref H4_F77_FUNC(d8irref, D8IRREF)
119 # define nd8iwref H4_F77_FUNC(d8iwref, D8IWREF)
120 # define nd8inims H4_F77_FUNC(d8inims, D8INIMS)
121 # define nd8lref H4_F77_FUNC(d8lref, D8LREF)
122 # define ndfr8lastref H4_F77_FUNC(dfr8lastref, DFR8LASTREF)
123 # define ndfr8setpalette H4_F77_FUNC(dfr8setpalette, DFR8SETPALETTE)
124 # define ndfr8restart H4_F77_FUNC(dfr8restart, DFR8RESTART)
125 # define nd8scomp H4_F77_FUNC(d8scomp, D8SCOMP)
126 # define ndfr8scompress H4_F77_FUNC(dfr8scompress, DFR8SCOMPRESS)
127 # define nd8sjpeg H4_F77_FUNC(d8sjpeg, D8SJPEG)
128 # define ndfr8sjpeg H4_F77_FUNC(dfr8sjpeg, DFR8SJPEG)
129 
131  (_fcd pal);
132 
134  (void);
135 
137  (_fcd filename, intf * xdim, intf * ydim, intf * ispal,
138  intf * lenfn);
139 
141  (_fcd filename, _fcd image, intf * xdim, intf * ydim,
142  _fcd pal, intf * lenfn);
143 
145  (_fcd filename, _fcd image, intf * xdim, intf * ydim,
146  intf * compress, intf * lenfn);
147 
149  (_fcd filename, _fcd image, intf * xdim, intf * ydim,
150  intf * compress, intf * lenfn);
151 
153  (_fcd filename, intf * ref, intf * fnlen);
154 
156  (_fcd filename, intf * ref, intf * fnlen);
157 
159  (_fcd filename, intf * fnlen);
160 
162  (void);
163 
165  (void);
166 
168  (_fcd pal);
169 
171  (void);
172 
174  (intf * scheme);
175 
177  (intf * scheme);
178 
181 
183  (intf * quality, intf * force_baseline);
184 
185 /*
186  ** from dfsdF.c
187  */
188 # define ndsgdast H4_F77_FUNC(dsgdast, DSGDAST)
189 # define ndsgdisc H4_F77_FUNC(dsgdisc, DSGDISC)
190 # define ndsgrang H4_F77_FUNC(dsgrang, DSGRANG)
191 # define ndssdims H4_F77_FUNC(dssdims, DSSDIMS)
192 # define ndssdisc H4_F77_FUNC(dssdisc, DSSDISC)
193 # define ndssrang H4_F77_FUNC(dssrang, DSSRANG)
194 # define ndsclear H4_F77_FUNC(dsclear, DSCLEAR)
195 # define ndsslens H4_F77_FUNC(dsslens, DSSLENS)
196 # define ndsgdiln H4_F77_FUNC(dsgdiln, DSGDILN)
197 # define ndsgdaln H4_F77_FUNC(dsgdaln, DSGDALN)
198 # define ndsfirst H4_F77_FUNC(dsfirst, DSFIRST)
199 # define ndspslc H4_F77_FUNC(dspslc, DSPSLC)
200 # define ndseslc H4_F77_FUNC(dseslc, DSESLC)
201 # define ndsgnt H4_F77_FUNC(dsgnt, DSGNT)
202 # define ndssnt H4_F77_FUNC(dssnt, DSSNT)
203 # define ndsigdim H4_F77_FUNC(dsigdim, DSIGDIM)
204 # define ndsigdat H4_F77_FUNC(dsigdat, DSIGDAT)
205 # define ndsipdat H4_F77_FUNC(dsipdat, DSIPDAT)
206 # define ndsiadat H4_F77_FUNC(dsiadat, DSIADAT)
207 # define ndsigdas H4_F77_FUNC(dsigdas, DSIGDAS)
208 # define ndsigslc H4_F77_FUNC(dsigslc, DSIGSLC)
209 # define ndsigdis H4_F77_FUNC(dsigdis, DSIGDIS)
210 # define ndsisslc H4_F77_FUNC(dsisslc, DSISSLC)
211 # define ndsisdas H4_F77_FUNC(dsisdas, DSISDAS)
212 # define ndsisdis H4_F77_FUNC(dsisdis, DSISDIS)
213 # define ndsirref H4_F77_FUNC(dsirref, DSIRREF)
214 # define ndslref H4_F77_FUNC(dslref, DSLREF)
215 # define ndsinum H4_F77_FUNC(dsinum, DSINUM)
216 # define ndsip32s H4_F77_FUNC(dsip32s, DSIP32S)
217 # define ndsscal H4_F77_FUNC(dsscal, DSSCAL)
218 # define ndsgcal H4_F77_FUNC(dsgcal, DSGCAL)
219 # define ndfsdgetdatastrs H4_F77_FUNC(dfsdgetdatastrs, DFSDGETDATASTRS)
220 # define ndfsdgetdimscale H4_F77_FUNC(dfsdgetdimscale, DFSDGETDIMSCALE)
221 # define ndfsdgetrange H4_F77_FUNC(dfsdgetrange, DFSDGETRANGE)
222 # define ndfsdsetdims H4_F77_FUNC(dfsdsetdims, DFSDSETDIMS)
223 # define ndfsdsetdimscale H4_F77_FUNC(dfsdsetdimscale, DFSDSETDIMSCALE)
224 # define ndfsdsetrange H4_F77_FUNC(dfsdsetrange, DFSDSETRANGE)
225 # define ndfsdclear H4_F77_FUNC(dfsdclear, DFSDCLEAR)
226 # define ndfsdsetlengths H4_F77_FUNC(dfsdsetlengths, DFSDSETLENGTHS)
227 # define ndfsdgetdimlen H4_F77_FUNC(dfsdgetdimlen, DFSDGETDIMLEN)
228 # define ndfsdgetdatalen H4_F77_FUNC(dfsdgetdatalen, DFSDGETDATALEN)
229 # define ndfsdrestart H4_F77_FUNC(dfsdrestart, DFSDRESTART)
230 # define ndfsdputslice H4_F77_FUNC(dfsdputslice, DFSDPUTSLICE)
231 # define ndfsdendslice H4_F77_FUNC(dfsdendslice, DFSDENDSLICE)
232 # define ndfsdsetnt H4_F77_FUNC(dfsdsetnt, DFSDSETNT)
233 # define ndfsdgetnt H4_F77_FUNC(dfsdgetnt, DFSDGETNT)
234 # define ndfsdlastref H4_F77_FUNC(dfsdlastref, DFSDLASTREF)
235 # define ndsiwref H4_F77_FUNC(dsiwref, DSIWREF)
236 # define ndssfill H4_F77_FUNC(dssfill, DSSFILL)
237 # define ndsgfill H4_F77_FUNC(dsgfill, DSGFILL)
238 # define ndsisslab H4_F77_FUNC(dsisslab, DSISSLAB)
239 # define ndswslab H4_F77_FUNC(dswslab, DSWSLAB)
240 # define ndseslab H4_F77_FUNC(dseslab, DSESLAB)
241 # define ndsirslab H4_F77_FUNC(dsirslab, DSIRSLAB)
242 
244  (intf * dim, intf * maxsize, void * scale);
245 
247  (void * pmax, void * pmin);
248 
251 
253  (intf * dim, intf * dimsize, void * scale);
254 
256  (void * max, void * min);
257 
259  (void);
260 
262  (intf * maxlen_label, intf * maxlen_unit,
264 
266  (intf * dim, intf * llabel, intf * lunit,
267  intf * lformat);
268 
270  (intf * llabel, intf * lunit, intf * lformat,
271  intf * lcoordsys);
272 
274  (void);
275 
277  (intf windims[], void * data, intf dims[]);
278 
280  (void);
281 
283  (intf * numbertype);
284 
286  (intf * pnumbertype);
287 
289  (_fcd filename, intf * prank, intf sizes[],
290  intf * maxrank, intf * lenfn);
291 
293  (_fcd filename, intf * rank, intf maxsizes[],
294  void * data, intf * fnlen);
295 
297  (_fcd filename, intf * rank, intf dimsizes[],
298  void * data, intf * fnlen);
299 
301  (_fcd filename, intf * rank, intf dimsizes[],
302  void * data, intf * fnlen);
303 
305  (_fcd filename, intf winst[], intf windims[],
306  void * data, intf dims[], intf * fnlen);
307 
309  (_fcd filename, intf * fnlen);
310 
312  (_fcd filename, intf * ref, intf * fnlen);
313 
315  (void);
316 
318  (_fcd filename, intf * len);
319 
321  (_fcd filename, intf * ref, intf * ispre32, intf * len);
322 
325 
326  HDFFCLIBAPI FRETVAL(intf) ndfsdgetdimstrs
327  (intf * dim, _fcd label, _fcd unit, _fcd format);
328 
330  (intf * dim, intf * maxsize, void * scale);
331 
333  (void * pmax, void * pmin);
334 
336  (intf * rank, intf dimsizes[]);
337 
339  (intf * dim, intf * dimsize, void * scale);
340 
342  (void * max, void * min);
343 
345  (void);
346 
348  (intf * maxlen_label, intf * maxlen_unit,
349  intf * maxlen_format, intf * maxlen_coordsys);
350 
352  (intf * dim, intf * llabel, intf * lunit,
353  intf * lformat);
354 
356  (intf * llabel, intf * lunit, intf * lformat,
357  intf * lcoordsys);
358 
360  (void);
361 
363  (intf windims[], void * data, intf dims[]);
364 
366  (void);
367 
369  (intf * numbertype);
370 
372  (intf * pnumbertype);
373 
375  (void);
376 
379  intf * llabel, intf * lunit, intf * lformat);
380 
382  (intf * dim, _fcd label, _fcd unit, _fcd format,
383  intf * llabel, intf * lunit, intf * lformat);
384 
386  (_fcd flabel, _fcd funit, _fcd fformat, _fcd fcoordsys,
387  intf * isfortran, intf * llabel, intf * lunit,
388  intf * lformat, intf * lcoordsys);
389 
391  (_fcd label, _fcd unit, _fcd format, _fcd coordsys, intf * llabel,
392  intf * lunit, intf * lformat, intf * lcoord);
393 
395  (float64 * cal, float64 * cal_err, float64 * ioff,
396  float64 * ioff_err, intf * cal_type);
397 
399  (float64 * cal, float64 * cal_err, float64 * ioff,
400  float64 * ioff_err, intf * cal_type);
401 
402  HDFFCLIBAPI FRETVAL(intf) ndswref
403  (_fcd filename, intf * fnlen, intf * ref);
404 
406  (void * fill_value);
407 
409  (void * fill_value);
410 
411  HDFFCLIBAPI FRETVAL(intf) ndssslab
412  (_fcd filename, intf * fnlen);
413 
416  intf cont[], void * data);
417 
419  (void);
420 
422  (_fcd filename, intf * fnlen, intf * ref);
423 
425  (_fcd filename, intf * fnlen);
426 
428  (_fcd filename, intf * fnlen, intf start[], intf slab_size[],
429  intf stride[], void * buffer, intf buffer_size[]);
430 
431 /*
432  ** from dfpF.c
433  */
434 
435 # define ndpigpal H4_F77_FUNC(dpigpal, DPIGPAL)
436 # define ndpippal H4_F77_FUNC(dpippal, DPIPPAL)
437 # define ndpinpal H4_F77_FUNC(dpinpal, DPINPAL)
438 # define ndpiwref H4_F77_FUNC(dpiwref, DPIWREF)
439 # define ndpirref H4_F77_FUNC(dpirref, DPIRREF)
440 # define ndprest H4_F77_FUNC(dprest, DPREST)
441 # define ndplref H4_F77_FUNC(dplref, DPLREF)
442 # define ndfprestart H4_F77_FUNC(dfprestart, DFPRESTART)
443 # define ndfplastref H4_F77_FUNC(dfplastref, DFPLASTREF)
444 
446  (_fcd filename, _fcd pal, intf * fnlen);
447 
449  (_fcd filename, _fcd pal, intf * overwrite, _fcd filemode,
450  intf * fnlen);
451 
453  (_fcd filename, intf * fnlen);
454 
456  (_fcd filename, intf * ref, intf * fnlen);
457 
459  (_fcd filename, intf * ref, intf * fnlen);
460 
462  (void);
463 
465  (void);
466 
468  (void);
469 
471  (void);
472 
473 /*
474  ** from df24F.c
475  */
476 # define nd2reqil H4_F77_FUNC(d2reqil, D2REQIL)
477 # define ndf24reqil H4_F77_FUNC(df24reqil, DF24REQIL)
478 # define nd2sdims H4_F77_FUNC(d2sdims, D2SDIMS)
479 # define ndf24setdims H4_F77_FUNC(df24setdims, DF24SETDIMS)
480 # define nd2setil H4_F77_FUNC(d2setil, D2SETIL)
481 # define ndf24setil H4_F77_FUNC(df24setil, DF24SETIL)
482 # define nd2first H4_F77_FUNC(d2first, D2FIRST)
483 # define ndf24restart H4_F77_FUNC(df24restart, DF24RESTART)
484 # define nd2igdim H4_F77_FUNC(d2igdim, D2IGDIM)
485 # define nd2igimg H4_F77_FUNC(d2igimg, D2IGIMG)
486 # define nd2iaimg H4_F77_FUNC(d2iaimg, D2IAIMG)
487 # define nd2irref H4_F77_FUNC(d2irref, D2IRREF)
488 # define nd2inimg H4_F77_FUNC(d2inimg, D2INIMG)
489 # define nd2lref H4_F77_FUNC(d2lref, D2LREF)
490 # define nd2scomp H4_F77_FUNC(d2scomp, D2SCOMP)
491 # define ndf24scompress H4_F77_FUNC(df24scompress, DF24SCOMPRESS)
492 # define nd2sjpeg H4_F77_FUNC(d2sjpeg, D2SJPEG)
493 # define ndf24sjpeg H4_F77_FUNC(df24sjpeg, DF24SJPEG)
494 
496  (intf * il);
497 
499  (intf * xdim, intf * ydim);
500 
502  (_fcd filename, intf * pxdim, intf * pydim, intf * pil,
503  intf * fnlen);
504 
506  (_fcd filename, _fcd image, intf * xdim, intf * ydim,
507  intf * fnlen);
508 
510  (_fcd filename, _fcd image, intf * xdim, intf * ydim,
511  intf * fnlen, intf * newfile);
512 
514  (intf * il);
515 
517  (void);
518 
520  (intf * il);
521 
523  (intf * xdim, intf * ydim);
524 
526  (intf * il);
527 
529  (void);
530 
532  (_fcd filename, intf * ref, intf * fnlen);
533 
535  (_fcd filename, intf * fnlen);
536 
538  (void);
539 
541  (intf * scheme);
542 
544  (intf * scheme);
545 
547  (intf * quality, intf * force_baseline);
548 
550  (intf * quality, intf * force_baseline);
551 
552 /*
553  ** from dfF.c
554  */
555 # define ndfiaccess H4_F77_FUNC(dfiaccess, DFIACCESS)
556 # define ndfiopen H4_F77_FUNC(dfiopen, DFIOPEN)
557 # define ndfclose H4_F77_FUNC(dfclose, DFCLOSE)
558 # define ndfdesc H4_F77_FUNC(dfdesc, DFDESC)
559 # define ndfdup H4_F77_FUNC(dfdup, DFDUP)
560 # define ndfdel H4_F77_FUNC(dfdel, DFDEL)
561 # define ndfstart H4_F77_FUNC(dfstart, DFSTART)
562 # define ndfread H4_F77_FUNC(dfread, DFREAD)
563 # define ndfseek H4_F77_FUNC(dfseek, DFSEEK)
564 # define ndfwrite H4_F77_FUNC(dfwrite, DFWRITE)
565 # define ndfupdate H4_F77_FUNC(dfupdate, DFUPDATE)
566 # define ndfget H4_F77_FUNC(dfget, DFGET)
567 # define ndfput H4_F77_FUNC(dfput, DFPUT)
568 # define ndfsfind H4_F77_FUNC(dfsfind, DFSFIND)
569 # define ndffind H4_F77_FUNC(dffind, DFFIND)
570 # define ndferrno H4_F77_FUNC(dferrno, DFERRNO)
571 # define ndfnewref H4_F77_FUNC(dfnewref, DFNEWREF)
572 # define ndfnumber H4_F77_FUNC(dfnumber, DFNUMBER)
573 # define ndfstat H4_F77_FUNC(dfstat, DFSTAT)
574 # define ndfiishdf H4_F77_FUNC(dfiishdf, DFIISHDF)
575 
578 
580  (intf * dfile);
581 
583  (intf * dfile, intf ptr[][4], intf * begin,
584  intf * num);
585 
587  (intf * dfile, intf * tag, intf * ref, intf * otag,
588  intf * oref);
589 
591  (intf * dfile, intf * tag, intf * ref);
592 
594  (intf * dfile, intf * tag, intf * ref, _fcd acc_mode, intf * acclen);
595 
597  (intf * dfile, intf * tag, intf * ref, char * acc_mode);
598 
600  (intf * dfile, _fcd ptr, intf * len);
601 
603  (intf * dfile, intf * offset);
604 
606  (intf * dfile, _fcd ptr, intf * len);
607 
609  (intf * dfile);
610 
612  (intf * dfile, intf * tag, intf * ref, _fcd ptr);
613 
615  (intf * dfile, intf * tag, intf * ref, _fcd ptr, intf * len);
616 
618  (intf * dfile, intf * tag, intf * ref);
619 
621  (intf * dfile, intf * itag, intf * iref, intf * len);
622 
624  (void);
625 
627  (intf * dfile);
628 
630  (intf * dfile, intf * tag);
631 
633  (intf * dfile, DFdata * dfinfo);
634 
636  (_fcd name, intf * namelen);
637 
638 /*
639  ** from dfutilF.c
640  */
641 # define ndfindnr H4_F77_FUNC(dfindnr, DFINDNR)
642 # define ndffindnextref H4_F77_FUNC(dffindnextref, DFFINDNEXTREF)
643 
645  (intf * dfile, intf * tag, intf * lref);
646 
648  (intf * dfile, intf * tag, intf * lref);
649 
650 /*
651  ** from herrF.c
652  */
653 # define nheprnt H4_F77_FUNC(heprnt, HEPRNT)
654 # define nheprntc H4_F77_FUNC(heprntc, HEPRNTC)
655 # define nhestringc H4_F77_FUNC(hestringc, HESTRINGC)
656 
658  (intf * print_levels);
659 
661  (_fcd filename, intf * print_levels, intf *namelen);
662 
664  (intf *error_code,_fcd error_message, intf *len);
665 /*
666  ** from hfilef.c
667 */
668 /*
669  * Not all HDF4 Fortran functions are real Fortran functions, they are C wrappers called from a
670  * Fortran program. Since on Windows we have to have a real Fortran function, additional C wrappers
671  * were added at the time when Windows port was done for multi-file interfaces: for example,
672  * hclose is a C wrapper on UNIX, while on Windows we have two functions: Fortran function hclose
673  * and C wrapper function hiclose called by hclose
674  * EIP 2007-09-14
675  */
676 # if !defined _WIN32 || defined CMAKE_INTDIR
677 # define nhiopen H4_F77_FUNC(hiopen, HIOPEN)
678 # define nhclose H4_F77_FUNC(hclose, HCLOSE)
679 # define nhnumber H4_F77_FUNC(hnumber, HNUMBER)
680 # define nhxisdir H4_F77_FUNC(hxisdir, HXISDIR)
681 # define nhxiscdir H4_F77_FUNC(hxiscdir, HXISCDIR)
682 # define nhddontatexit H4_F77_FUNC(hddontatexit, HDDONTATEXIT)
683 # define nhglibverc H4_F77_FUNC(hglibverc, HGLIBVERC)
684 # define nhgfilverc H4_F77_FUNC(hgfilverc, HGFILVERC)
685 # define nhiishdf H4_F77_FUNC(hiishdf, HIISHDF)
686 # define nhconfinfc H4_F77_FUNC(hconfinfc, HCONFINFC)
687 # else /* !sl */
688 # define nhiopen H4_F77_FUNC(hiopen, HIOPEN)
689 # define nhiclose H4_F77_FUNC(hiclose, HICLOSE)
690 # define nhinumbr H4_F77_FUNC(hinumbr, HINUMBR)
691 # define nhxisdir H4_F77_FUNC(hxisdir, HXISDIR)
692 # define nhxiscdir H4_F77_FUNC(hxiscdir, HXISCDIR)
693 # define nhddontatexit H4_F77_FUNC(hddontatexit, HDDONTATEXIT)
694 # define nhglibverc H4_F77_FUNC(hglibverc, HGLIBVERC)
695 # define nhgfilverc H4_F77_FUNC(hgfilverc, HGFILVERC)
696 # define nhiishdf H4_F77_FUNC(hiishdf, HIISHDF)
697 # define nhconfinfc H4_F77_FUNC(hconfinfc, HCONFINFC)
698 # endif /* !sl */
699 
700 
702  (_fcd name, intf * acc_mode, intf * defdds, intf * namelen);
703 
705  (intf * file_id);
706 
708  (intf * file_id, intf * tag);
709 
711  (_fcd dir, intf * dirlen);
712 
714  (_fcd dir, intf * dirlen);
715 
717  nhddontatexit(void);
718 
721  _fcd string, intf *len);
722 
724  nhgfilverc(intf *file_id, intf *major_v, intf *minor_v,
725  intf *release, _fcd string, intf *len);
726 
728  (_fcd name, intf * namelen);
729 
730  HDFFCLIBAPI FRETVAL(intf) nhiclose
731  (intf * file_id);
732 
733  HDFFCLIBAPI FRETVAL(intf) nhinumbr
734  (int32 file_id, uint16 tag);
735 
737  (intf *coder_type, intf *info);
738 /*
739  ** from dfufp2im.c
740  */
741 # define nduif2i H4_F77_FUNC(duif2i, DUIF2I)
742 
744  (int32 * hdim, int32 * vdim, float32 * max,
745  float32 * min, float32 hscale[], float32 vscale[],
746  float32 data[], _fcd palette, _fcd outfile,
747  int * ct_method, int32 * hres, int32 * vres,
748  int * compress, int * lenfn);
749 
751  (int32 hdim, int32 vdim, float32 max, float32 min,
752  float32 * hscale, float32 * vscale, float32 * data,
753  uint8 * palette, char * outfile, int ct_method,
754  int32 hres, int32 vres, int compress);
755 
756 /* for Multi-file fortran Annotation inteface */
757 
758 /*
759  * Not all HDF4 Fortran functions are real Fortran functions, they are C wrappers called from a
760  * Fortran program. Since on Windows we have to have a real Fortran function, additional C wrappers
761  * were added at the time when Windows port was done for multi-file interfaces: for example,
762  * hclose is a C wrapper on UNIX, while on Windows we have two functions: Fortran function hclose
763  * and C wrapper function hiclose called by hclose
764  * EIP 2007-09-14
765  */
766 # if !defined _WIN32 || defined CMAKE_INTDIR
767 # define nafstart H4_F77_FUNC(afstart, AFSTART)
768 # define naffileinfo H4_F77_FUNC(affileinfo, AFFILEINFO)
769 # define nafend H4_F77_FUNC(afend, AFEND)
770 # define nafcreate H4_F77_FUNC(afcreate, AFCREATE)
771 # define naffcreate H4_F77_FUNC(affcreate, AFFCREATE)
772 # define nafselect H4_F77_FUNC(afselect, AFSELECT)
773 # define nafnumann H4_F77_FUNC(afnumann, AFNUMANN)
774 # define nafannlist H4_F77_FUNC(afannlist, AFANNLIST)
775 # define nafannlen H4_F77_FUNC(afannlen, AFANNLEN)
776 # define nafwriteann H4_F77_FUNC(afwriteann, AFWRITEANN)
777 # define nafreadann H4_F77_FUNC(afreadann, AFREADANN)
778 # define nafendaccess H4_F77_FUNC(afendaccess, AFENDACCESS)
779 # define nafgettagref H4_F77_FUNC(afgettagref, AFGETTAGREF)
780 # define nafidtagref H4_F77_FUNC(afidtagref, AFIDTAGREF)
781 # define naftagrefid H4_F77_FUNC(aftagrefid, AFTAGREFID)
782 # define nafatypetag H4_F77_FUNC(afatypetag, AFATYPETAG)
783 # define naftagatype H4_F77_FUNC(aftagatype, AFTAGATYPE)
784 # else /* !sl */
785 # define nafistart H4_F77_FUNC(afistart, AFISTART)
786 # define nafifinf H4_F77_FUNC(afifinf, AFIFINF)
787 # define nafiend H4_F77_FUNC(afiend, AFIEND)
788 # define naficreat H4_F77_FUNC(aficreat, AFICREAT)
789 # define nafifcreat H4_F77_FUNC(afifcreat, AFIFCREAT)
790 # define nafiselct H4_F77_FUNC(afiselct, AFISELCT)
791 # define nafinann H4_F77_FUNC(afinann, AFINANN)
792 # define nafialst H4_F77_FUNC(afialst, AFIALST)
793 # define nafialen H4_F77_FUNC(afialen, AFIALEN)
794 # define nafiwann H4_F77_FUNC(afiwann, AFIWANN)
795 # define nafirann H4_F77_FUNC(afirann, AFIRANN)
796 # define nafiendac H4_F77_FUNC(afiendac, AFIENDAC)
797 # define nafigtr H4_F77_FUNC(afigtr, AFIGTR)
798 # define nafiid2tr H4_F77_FUNC(afiid2tr, AFIID2TR)
799 # define nafitr2id H4_F77_FUNC(afitr2id, AFITR2ID)
800 # define nafitp2tg H4_F77_FUNC(afitp2tg, AFITP2TG)
801 # define nafitg2tp H4_F77_FUNC(afitg2tp, AFITG2TP)
802 # endif /* !sl */
803 
804 /* Multi-file Annotation C-stubs for fortan interface found in mfanf.c */
805 
807 nafstart(intf *file_id);
808 
811  intf *num_odesc);
812 
814 nafend(intf *an_id);
815 
818 
820 naffcreate(intf *an_id, intf *atype);
821 
823 nafselect(intf *an_id, intf *idx, intf *atype);
824 
826 nafnumann(intf *an_id, intf *atype, intf *etag, intf *eref);
827 
829 nafannlist(intf *an_id, intf *atype, intf *etag, intf *eref, intf alist[]);
830 
832 nafannlen(intf *ann_id);
833 
835 nafwriteann(intf *ann_id,_fcd ann, intf *annlen);
836 
838 nafreadann(intf *ann_id,_fcd ann, intf *maxlen);
839 
841 nafendaccess(intf *ann_id);
842 
844 nafgettagref(intf *an_id, intf *idx, intf *type, intf *tag, intf *ref);
845 
847 nafidtagref(intf *ann_id, intf *tag, intf *ref);
848 
850 naftagrefid(intf *an_id, intf *tag, intf *ref);
851 
853 nafatypetag(intf *atype);
854 
856 naftagatype(intf *tag);
857 
858 /* if defined Windows */
859 /* Multi-file Annotation C-stubs for fortan interface found in mfanf.c */
860 
862 nafistart(intf *file_id);
863 
865 nafifinf(intf *an_id, intf *num_flabel, intf *num_fdesc, intf *num_olabel,
866  intf *num_odesc);
867 
869 nafiend(intf *an_id);
870 
872 naficreat(intf *an_id, intf *etag, intf *eref, intf *atype);
873 
875 nafifcreat(intf *an_id, intf *atype);
876 
878 nafiselct(intf *an_id, intf *index, intf *atype);
879 
881 nafinann(intf *an_id, intf *atype, intf *etag, intf *eref);
882 
884 nafialst(intf *an_id, intf *atype, intf *etag, intf *eref, intf alist[]);
885 
887 nafialen(intf *ann_id);
888 
890 nafiwann(intf *ann_id,_fcd ann, intf *annlen);
891 
893 nafirann(intf *ann_id,_fcd ann, intf *maxlen);
894 
896 nafiendac(intf *ann_id);
897 
899 nafigtr(intf *an_id, intf *index, intf *type, intf *tag, intf *ref);
900 
902 nafiid2tr(intf *ann_id, intf *tag, intf *ref);
903 
905 nafitr2id(intf *an_id, intf *tag, intf *ref);
906 
908 nafitp2tg(intf *atype);
909 
911 nafitg2tp(intf *tag);
912 
913 /* endif defined Windows */
914 
915 
916 /* Multi-file Annotation C-routines found in mfan.c */
917 HDFLIBAPI int32 ANstart(int32 file_id);
918 
919 HDFLIBAPI intn ANfileinfo(int32 an_id, int32 *n_file_label, int32 *n_file_desc,
920  int32 *n_obj_label, int32 *n_obj_desc);
921 
922 HDFLIBAPI int32 ANend(int32 an_id);
923 
924 HDFLIBAPI int32 ANcreate(int32 an_id, uint16 elem_tag, uint16 elem_ref,
925  ann_type type);
926 
927 HDFLIBAPI int32 ANcreatef(int32 an_id, ann_type type);
928 
929 HDFLIBAPI int32 ANselect(int32 an_id, int32 idx, ann_type type);
930 
931 HDFLIBAPI intn ANnumann(int32 an_id, ann_type type, uint16 elem_tag,
932  uint16 elem_ref);
933 
934 HDFLIBAPI intn ANannlist(int32 an_id, ann_type type, uint16 elem_tag,
935  uint16 elem_ref, int32 ann_list[]);
936 
937 HDFLIBAPI int32 ANannlen(int32 ann_id);
938 
939 HDFLIBAPI int32 ANwriteann(int32 ann_id, const char *ann, int32 annlen);
940 
941 HDFLIBAPI int32 ANreadann(int32 ann_id, char *ann, int32 maxlen);
942 
943 HDFLIBAPI intn ANendaccess(int32 ann_id);
944 
945 HDFLIBAPI int32 ANget_tagref(int32 an_id, int32 idx, ann_type type,
946  uint16 *ann_tag, uint16 *ann_ref);
947 
948 HDFLIBAPI int32 ANid2tagref(int32 an_id, uint16 *ann_tag, uint16 *ann_ref);
949 
950 HDFLIBAPI int32 ANtagref2id(int32 an_id, uint16 ann_tag, uint16 ann_ref);
951 
952 HDFLIBAPI uint16 ANatype2tag(ann_type atype);
953 
954 HDFLIBAPI ann_type ANtag2atype(uint16 atag);
955 
956 /* Removed because this function is meant to be private.
957 HDFLIBAPI intn ANdestroy(void); */
958 
959 /* for Multi-file fortran GR interface */
960 /*
961  * Not all HDF4 Fortran functions are real Fortran functions, they are C wrappers called from a
962  * Fortran program. Since on Windows we have to have a real Fortran function, additional C wrappers
963  * were added at the time when Windows port was done for multi-file interfaces: for example,
964  * hclose is a C wrapper on UNIX, while on Windows we have two functions: Fortran function hclose
965  * and C wrapper function hiclose called by hclose
966  * EIP 2007-09-14
967  */
968 # if !defined _WIN32 || defined CMAKE_INTDIR
969 # define nmgstart H4_F77_FUNC(mgstart, MGSTART)
970 # define nmgfinfo H4_F77_FUNC(mgfinfo, MGFINFO)
971 # define nmgend H4_F77_FUNC(mgend, MGEND)
972 # define nmgicreat H4_F77_FUNC(mgicreat, MGICREAT)
973 # define nmgselct H4_F77_FUNC(mgselct, MGSELCT)
974 # define nmgin2ndx H4_F77_FUNC(mgin2ndx, MGIN2NDX)
975 # define nmggiinf H4_F77_FUNC(mggiinf, MGGIINF)
976 # define nmgwcimg H4_F77_FUNC(mgwcimg, MGWCIMG)
977 # define nmgrcimg H4_F77_FUNC(mgrcimg, MGRCIMG)
978 # define nmgwrimg H4_F77_FUNC(mgwrimg, MGWRIMG)
979 # define nmgrdimg H4_F77_FUNC(mgrdimg, MGRDIMG)
980 # define nmgendac H4_F77_FUNC(mgendac, MGENDAC)
981 # define nmgid2rf H4_F77_FUNC(mgid2rf, MGID2RF)
982 # define nmgr2idx H4_F77_FUNC(mgr2idx, MGR2IDX)
983 # define nmgrltil H4_F77_FUNC(mgrltil, MGRLTIL)
984 # define nmgrimil H4_F77_FUNC(mgrimil, MGRIMIL)
985 # define nmggltid H4_F77_FUNC(mggltid, MGGLTID)
986 # define nmgglinf H4_F77_FUNC(mgglinf, MGGLINF)
987 # define nmgwrlut H4_F77_FUNC(mgwrlut, MGWRLUT)
988 # define nmgwclut H4_F77_FUNC(mgwclut, MGWCLUT)
989 # define nmgrdlut H4_F77_FUNC(mgrdlut, MGRDLUT)
990 # define nmgrclut H4_F77_FUNC(mgrclut, MGRCLUT)
991 # define nmgisxfil H4_F77_FUNC(mgisxfil, MGISXFIL)
992 # define nmgiscatt H4_F77_FUNC(mgiscatt, MGISCATT)
993 # define nmgisattr H4_F77_FUNC(mgisattr, MGISATTR)
994 # define nmgatinf H4_F77_FUNC(mgatinf, MGATINF)
995 # define nmggcatt H4_F77_FUNC(mggcatt, MGGCATT)
996 # define nmggnatt H4_F77_FUNC(mggnatt, MGGNATT)
997 # define nmggattr H4_F77_FUNC(mggattr, MGGATTR)
998 # define nmgifndat H4_F77_FUNC(mgifndat, MGIFNDAT)
999 # define nmgcgichnk H4_F77_FUNC(mgcgichnk, MGCGICHNK)
1000 # define nmgcrcchnk H4_F77_FUNC(mgcrcchnk, MGCRCCHNK)
1001 # define nmgcrchnk H4_F77_FUNC(mgcrchnk, MGCRCHNK)
1002 # define nmgcscchnk H4_F77_FUNC(mgcscchnk, MGCSCCHNK)
1003 # define nmgcschnk H4_F77_FUNC(mgcschnk, MGCSCHNK)
1004 # define nmgcwcchnk H4_F77_FUNC(mgcwcchnk, MGCWCCHNK)
1005 # define nmgcwchnk H4_F77_FUNC(mgcwchnk, MGCWCHNK)
1006 # define nmgcscompress H4_F77_FUNC(mgcscompress, MGCSCOMPRESS)
1007 # define nmgcgcompress H4_F77_FUNC(mgcgcompress, MGCGCOMPRESS)
1008 # define nmglt2rf H4_F77_FUNC(mglt2rf, MGLT2RF)
1009 # define nmgcgnluts H4_F77_FUNC(mgcgnluts, MGCGNLUTS)
1010 # else /* !sl */
1011 # define nmgistrt H4_F77_FUNC(mgistrt, MGISTRT)
1012 # define nmgifinf H4_F77_FUNC(mgifinf, MGIFINF)
1013 # define nmgiend H4_F77_FUNC(mgiend, MGIEND)
1014 # define nmgicreat H4_F77_FUNC(mgicreat, MGICREAT)
1015 # define nmgislct H4_F77_FUNC(mgislct, MGISLCT)
1016 # define nmgin2ndx H4_F77_FUNC(mgin2ndx, MGIN2NDX)
1017 # define nmgigiinf H4_F77_FUNC(mgigiinf, MGIGIINF)
1018 # define nmgiwcim H4_F77_FUNC(mgiwcim, MGIWCIM)
1019 # define nmgircim H4_F77_FUNC(mgircim, MGIRCIM)
1020 # define nmgiwimg H4_F77_FUNC(mgiwim, MGIWIMG)
1021 # define nmgirimg H4_F77_FUNC(mgirimg, MGIRIMG)
1022 # define nmgiendac H4_F77_FUNC(mgiendac, MGIENDAC)
1023 # define nmgiid2r H4_F77_FUNC(mgiid2r, MGIID2R)
1024 # define nmgir2dx H4_F77_FUNC(mgir2dx, MGIR2DX)
1025 # define nmgiltil H4_F77_FUNC(mgiltil, MGILTIL)
1026 # define nmgiimil H4_F77_FUNC(mgiimil, MGIIMIL)
1027 # define nmgiglid H4_F77_FUNC(mgiglid, MGIGLID)
1028 # define nmgiglinf H4_F77_FUNC(mgiglinf, MGIGLINF)
1029 # define nmgiwrlt H4_F77_FUNC(mgiwrlt, MGIWRLT)
1030 # define nmgiwclt H4_F77_FUNC(mgiwclt, MGIWCLT)
1031 # define nmgirdlt H4_F77_FUNC(mgirdlt, MGIRDLT)
1032 # define nmgirclt H4_F77_FUNC(mgirclt, MGIRCLT)
1033 # define nmgisxfil H4_F77_FUNC(mgisxfil, MGISXFIL)
1034 # define nmgiactp H4_F77_FUNC(mgiactp, MGIACTP)
1035 # define nmgiscatt H4_F77_FUNC(mgiscatt, MGISCATT)
1036 # define nmgisattr H4_F77_FUNC(mgisattr, MGISATTR)
1037 # define nmgiainf H4_F77_FUNC(mgiainf, MGIAINF)
1038 # define nmgigcat H4_F77_FUNC(mgigcat, MGIGCAT)
1039 # define nmgignat H4_F77_FUNC(mgignat, MGIGNAT)
1040 # define nmgigatt H4_F77_FUNC(mgigatt, MGIGATT)
1041 # define nmgifndat H4_F77_FUNC(mgifndat, MGIFNDAT)
1042 # define nmgcgichnk H4_F77_FUNC(mgcgichnk, MGCGICHNK)
1043 # define nmgcrcchnk H4_F77_FUNC(mgcrcchnk, MGCRCCHNK)
1044 # define nmgcrchnk H4_F77_FUNC(mgcrchnk, MGCRCHNK)
1045 # define nmgcscchnk H4_F77_FUNC(mgcscchnk, MGCSCCHNK)
1046 # define nmgcschnk H4_F77_FUNC(mgcschnk, MGCSCHNK)
1047 # define nmgcwcchnk H4_F77_FUNC(mgcwcchnk, MGCWCCHNK)
1048 # define nmgcwchnk H4_F77_FUNC(mgcwchnk, MGCWCHNK)
1049 # define nmgcscompress H4_F77_FUNC(mgcscompress, MGCSCOMPRESS)
1050 # define nmgcgcompress H4_F77_FUNC(mgcgcompress, MGCGCOMPRESS)
1051 # define nmglt2rf H4_F77_FUNC(mglt2rf, MGLT2RF)
1052 # define nmgcgnluts H4_F77_FUNC(mgcgnluts, MGCGNLUTS)
1053 # endif /* sl */
1054 
1055 /* Multi-file GR C-stubs for FORTRAN interface found in mfgrf.c */
1056 
1057 HDFFCLIBAPI FRETVAL(intf) /* !sl */
1058 nmgiwimg(intf * riid, intf *start, intf *stride, intf *count, VOIDP data);
1059 
1060 HDFFCLIBAPI FRETVAL(intf) /* !sl */
1061 nmgirimg(intf * riid, intf *start, intf *stride, intf *count, VOIDP data);
1062 
1063 HDFFCLIBAPI FRETVAL(intf) /* !sl */
1064 nmgignat(intf * riid, intf *idx, VOIDP data);
1065 
1067 nmgstart(intf * fid);
1068 
1071 
1073 nmgend(intf * grid);
1074 
1076 nmgicreat(intf * grid, _fcd name, intf *ncomp, intf *nt, intf *il, intf dimsizes[2], intf *nlen);
1077 
1079 nmgselct(intf * grid, intf *idx);
1080 
1082 nmgin2ndx(intf * grid, _fcd name, intf *nlen);
1083 
1085 nmggiinf(intf * riid, _fcd name, intf *ncomp, intf *nt, intf *il, intf *dimsizes, intf *nattr);
1086 
1087 
1089 nmgwcimg(intf * riid, intf *start, intf *stride, intf *count, _fcd data);
1090 
1092 nmgrcimg(intf * riid, intf *start, intf *stride, intf *count, _fcd data);
1093 
1095 nmgwrimg(intf * riid, intf *start, intf *stride, intf *count, void * data);
1096 
1098 nmgrdimg(intf * riid, intf *start, intf *stride, intf *count, void * data);
1099 
1101 nmgendac(intf * riid);
1102 
1104 nmgid2rf(intf * riid);
1105 
1107 nmgr2idx(intf * grid, intf *ref);
1108 
1110 nmgrltil(intf * riid, intf *il);
1111 
1113 nmgrimil(intf * riid, intf *il);
1114 
1117 
1119 nmgglinf(intf * lutid, intf *ncomp, intf *nt, intf *il, intf *nentries);
1120 
1122 nmgwrlut(intf * lutid, intf *ncomp, intf *nt, intf *il, intf *nentries, void * data);
1123 
1125 nmgwclut(intf * lutid, intf *ncomp, intf *nt, intf *il, intf *nentries, _fcd data);
1126 
1128 nmgrdlut(intf * lutid, void * data);
1129 
1131 nmgrclut(intf * lutid, _fcd data);
1132 
1134 nmgisxfil(intf * riid, _fcd filename, intf *offset, intf *nlen);
1135 
1137 nmgsactp(intf * riid, intf *accesstype);
1138 
1140 nmgiscatt(intf * riid, _fcd name, intf *nt, intf *count, _fcd data, intf *nlen);
1141 
1143 nmgisattr(intf * riid, _fcd name, intf *nt, intf *count, void * data, intf *nlen);
1144 
1146 nmgatinf(intf * riid, intf *idx, _fcd name, intf *nt, intf *count);
1147 
1149 nmggcatt(intf * riid, intf *idx, _fcd data);
1150 
1152 nmggnatt(intf * riid, intf *idx, void * data);
1153 
1155 nmggattr(intf * riid, intf *idx, void * data);
1156 
1158 nmgifndat(intf * riid, _fcd name, intf *nlen);
1159 
1162 
1165 
1167  nmgcrchnk(intf *id, intf *start, VOIDP num_data);
1168 
1171 
1173  nmgcschnk(intf *id, intf *dim_length, intf *comp_type,
1174  intf *comp_prm);
1176  nmgcwcchnk(intf *id, intf *start, _fcd char_data);
1177 
1179  nmgcwchnk(intf *id, intf *start, VOIDP num_data);
1180 
1182  nmgcscompress(intf *id, intf *comp_type, intf *comp_prm);
1183 
1185  nmgcgcompress(intf *id, intf *comp_type, intf *comp_prm);
1186 
1188  nmglt2rf(intf *id);
1189 
1191  nmgcgnluts(intf *id);
1192 
1193 # if defined _WIN32 && !defined CMAKE_INTDIR
1194 /* Multi-file GR C-stubs for FORTRAN interface found in mfgrf.c */
1196 nmgistrt(intf * fid);
1197 
1199 nmgifinf(intf * grid,intf *n_datasets,intf *n_attrs);
1200 
1202 nmgiend(intf * grid);
1203 
1205 nmgislct(intf * grid, intf *index);
1206 
1208 nmgigiinf(intf * riid, _fcd name, intf *ncomp, intf *nt, intf *il, intf *dimsizes, intf *nattr);
1209 
1211 nmgiwcim(intf * riid, intf *start, intf *stride, intf *count, _fcd data);
1212 
1214 nmgircim(intf * riid, intf *start, intf *stride, intf *count, _fcd data);
1215 
1217 nmgiendac(intf * riid);
1218 
1220 nmgiid2r(intf * riid);
1221 
1223 nmgir2dx(intf * grid, intf *ref);
1224 
1226 nmgiltil(intf * riid, intf *il);
1227 
1229 nmgiimil(intf * riid, intf *il);
1230 
1232 nmgiglid(intf * riid, intf *lut_index);
1233 
1235 nmgiglinf(intf * lutid, intf *ncomp, intf *nt, intf *il, intf *nentries);
1236 
1238 nmgiwrlt(intf * lutid, intf *ncomp, intf *nt, intf *il, intf *nentries, VOIDP data);
1239 
1241 nmgiwclt(intf * lutid, intf *ncomp, intf *nt, intf *il, intf *nentries, _fcd data);
1242 
1244 nmgirdlt(intf * lutid, VOIDP data);
1245 
1247 nmgirclt(intf * lutid, _fcd data);
1248 
1250 nmgiactp(intf * riid, intf *accesstype);
1251 
1253 nmgiainf(intf * riid, intf *index, _fcd name, intf *nt, intf *count);
1254 
1256 nmgigcat(intf * riid, intf *index, _fcd data);
1257 
1259 nmgigatt(intf * riid, intf *index, VOIDP data);
1260 
1261 #endif /* _WIN32 */
1262 
1263 /*
1264  ** from vgF.c
1265  */
1266 /*
1267  * Not all HDF4 Fortran functions are real Fortran functions, they are C wrappers called from a
1268  * Fortran program. Since on Windows we have to have a real Fortran function, additional C wrappers
1269  * were added at the time when Windows port was done for multi-file interfaces: for example,
1270  * hclose is a C wrapper on UNIX, while on Windows we have two functions: Fortran function hclose
1271  * and C wrapper function hiclose called by hclose
1272  * EIP 2007-09-14
1273  */
1274 # if !defined _WIN32 || defined CMAKE_INTDIR
1275 # define ndfivopn H4_F77_FUNC(dfivopn, DFIVOPN)
1276 # define ndfvclos H4_F77_FUNC(dfvclos, DFVCLOS)
1277 # define nvatchc H4_F77_FUNC(vatchc, VATCHC)
1278 # define nvdtchc H4_F77_FUNC(vdtchc, VDTCHC)
1279 # define nvgnamc H4_F77_FUNC(vgnamc, VGNAMC)
1280 # define nvgclsc H4_F77_FUNC(vgclsc, VGCLSC)
1281 # define nvinqc H4_F77_FUNC(vinqc, VINQC)
1282 # define nvdeletec H4_F77_FUNC(vdeletec, VDELETEC)
1283 # define nvgidc H4_F77_FUNC(vgidc, VGIDC)
1284 # define nvgnxtc H4_F77_FUNC(vgnxtc, VGNXTC)
1285 # define nvsnamc H4_F77_FUNC(vsnamc, VSNAMC)
1286 # define nvsclsc H4_F77_FUNC(vsclsc, VSCLSC)
1287 # define nvinsrtc H4_F77_FUNC(vinsrtc, VINSRTC)
1288 # define nvisvgc H4_F77_FUNC(visvgc, VISVGC)
1289 # define nvisvsc H4_F77_FUNC(visvsc, VISVSC)
1290 # define nvsatchc H4_F77_FUNC(vsatchc, VSATCHC)
1291 # define nvsdtchc H4_F77_FUNC(vsdtchc, VSDTCHC)
1292 # define nvsqref H4_F77_FUNC(vsqref, VSQREF)
1293 # define nvsqtag H4_F77_FUNC(vsqtag, VSQTAG)
1294 # define nvsgver H4_F77_FUNC(vsgver, VSGVER)
1295 # define nvsseekc H4_F77_FUNC(vsseekc, VSSEEKC)
1296 # define nvsgnamc H4_F77_FUNC(vsgnamc, VSGNAMC)
1297 # define nvsgclsc H4_F77_FUNC(vsgclsc, VSGCLSC)
1298 # define nvsinqc H4_F77_FUNC(vsinqc, VSINQC)
1299 # define nvsfexc H4_F77_FUNC(vsfexc, VSFEXC)
1300 # define nvsfndc H4_F77_FUNC(vsfndc, VSFNDC)
1301 # define nvsgidc H4_F77_FUNC(vsgidc, VSGIDC)
1302 # define nvsdltc H4_F77_FUNC(vsdltc, VSDLTC)
1303 # define nvsapp H4_F77_FUNC(vsapp, VSAPP)
1304 # define nvssnamc H4_F77_FUNC(vssnamc, VSSNAMC)
1305 # define nvssclsc H4_F77_FUNC(vssclsc, VSSCLSC)
1306 # define nvssfldc H4_F77_FUNC(vssfldc, VSSFLDC)
1307 # define nvssintc H4_F77_FUNC(vssintc, VSSINTC)
1308 # define nvsfdefc H4_F77_FUNC(vsfdefc, VSFDEFC)
1309 # define nvssextfc H4_F77_FUNC(vssextfc, VSSEXTFC)
1310 # define nvfnflds H4_F77_FUNC(vfnflds, VFNFLDS)
1311 # define nvffnamec H4_F77_FUNC(vffnamec, VFFNAMEC)
1312 # define nvfftype H4_F77_FUNC(vfftype, VFFTYPE)
1313 # define nvffisiz H4_F77_FUNC(vffisiz, VFFISIZ)
1314 # define nvffesiz H4_F77_FUNC(vffesiz, VFFESIZ)
1315 # define nvffordr H4_F77_FUNC(vffordr, VFFORDR)
1316 # define nvsfrdc H4_F77_FUNC(vsfrdc, VSFRDC)
1317 # define nvsfrd H4_F77_FUNC(vsfrd, VSFRD)
1318 # define nvsreadc H4_F77_FUNC(vsreadc, VSREADC)
1319 # define nvsfwrt H4_F77_FUNC(vsfwrt, VSFWRT)
1320 # define nvsfwrtc H4_F77_FUNC(vsfwrtc, VSFWRTC)
1321 # define nvswritc H4_F77_FUNC(vswritc, VSWRITC)
1322 # define nvsgintc H4_F77_FUNC(vsgintc, VSGINTC)
1323 # define nvseltsc H4_F77_FUNC(vseltsc, VSELTSC)
1324 # define nvsgfldc H4_F77_FUNC(vsgfldc, VSGFLDC)
1325 # define nvssizc H4_F77_FUNC(vssizc, VSSIZC)
1326 # define nventsc H4_F77_FUNC(ventsc, VENTSC)
1327 # define nvlonec H4_F77_FUNC(vlonec, VLONEC)
1328 # define nvslonec H4_F77_FUNC(vslonec, VSLONEC)
1329 # define nvfindc H4_F77_FUNC(vfindc, VFINDC)
1330 # define nvfndclsc H4_F77_FUNC(vfndclsc, VFNDCLSC)
1331 # define nvhscdc H4_F77_FUNC(vhscdc, VHSCDC)
1332 # define nvhsdc H4_F77_FUNC(vhsdc, VHSDC)
1333 # define nvhscdmc H4_F77_FUNC(vhscdmc, VHSCDMC)
1334 # define nvhsdmc H4_F77_FUNC(vhsdmc, VHSDMC)
1335 # define nvhmkgpc H4_F77_FUNC(vhmkgpc, VHMKGPC)
1336 # define nvflocc H4_F77_FUNC(vflocc, VFLOCC)
1337 # define nvinqtrc H4_F77_FUNC(vinqtrc, VINQTRC)
1338 # define nvntrc H4_F77_FUNC(vntrc, VNTRC)
1339 # define nvnrefs H4_F77_FUNC(vnrefs, VNREFS)
1340 # define nvgttrsc H4_F77_FUNC(vgttrsc, VGTTRSC)
1341 # define nvqref H4_F77_FUNC(vqref, VQREF)
1342 # define nvqtag H4_F77_FUNC(vqtag, VQTAG)
1343 # define nvgttrc H4_F77_FUNC(vgttrc, VGTTRC)
1344 # define nvadtrc H4_F77_FUNC(vadtrc, VADTRC)
1345 # define nvfstart H4_F77_FUNC(vfstart, VFSTART)
1346 # define nvfend H4_F77_FUNC(vfend, VFEND)
1347 # define nvsqfnelt H4_F77_FUNC(vsqfnelt, VSQFNELT)
1348 # define nvsqfintr H4_F77_FUNC(vsqfintr, VSQFINTR)
1349 # define nvsqfldsc H4_F77_FUNC(vsqfldsc, VSQFLDSC)
1350 # define nvsqfvsiz H4_F77_FUNC(vsqfvsiz, VSQFVSIZ)
1351 # define nvsqnamec H4_F77_FUNC(vsqnamec, VSQNAMEC)
1352 # define nvsfccpk H4_F77_FUNC(vsfccpk, VSFCCPK)
1353 # define nvsfncpk H4_F77_FUNC(vsfncpk, VSFNCPK)
1354 # define nvdtrc H4_F77_FUNC(vdtrc, VDTRC)
1355 # define nvscfcls H4_F77_FUNC(vscfcls, VSCFCLS)
1356 # define nvscsetblsz H4_F77_FUNC(vscsetblsz, VSCSETBLSZ)
1357 # define nvscsetnmbl H4_F77_FUNC(vscsetnmbl, VSCSETNMBL)
1358 # define nvscgblinfo H4_F77_FUNC(vscgblinfo, VSCGBLINFO)
1359 # else /* !sl */
1360 # define ndfivopn H4_F77_FUNC(dfivopn, DFIVOPN)
1361 # define ndfvclos H4_F77_FUNC(dfvclos, DFVCLOS)
1362 # define nvatchc H4_F77_FUNC(vatchc, VATCHC)
1363 # define nvdtchc H4_F77_FUNC(vdtchc, VDTCHC)
1364 # define nvgnamc H4_F77_FUNC(vgnamc, VGNAMC)
1365 # define nvgclsc H4_F77_FUNC(vgclsc, VGCLSC)
1366 # define nvinqc H4_F77_FUNC(vinqc, VINQC)
1367 # define nvdeletec H4_F77_FUNC(vdeletec, VDELETEC)
1368 # define nvgidc H4_F77_FUNC(vgidc, VGIDC)
1369 # define nvgnxtc H4_F77_FUNC(vgnxtc, VGNXTC)
1370 # define nvsnamc H4_F77_FUNC(vsnamc, VSNAMC)
1371 # define nvsclsc H4_F77_FUNC(vsclsc, VSCLSC)
1372 # define nvinsrtc H4_F77_FUNC(vinsrtc, VINSRTC)
1373 # define nvisvgc H4_F77_FUNC(visvgc, VISVGC)
1374 # define nvfistart H4_F77_FUNC(vfistart, VFISTART)
1375 # define nvfiend H4_F77_FUNC(vfiend, VFIEND)
1376 # define nvisvsc H4_F77_FUNC(visvsc, VISVSC)
1377 # define nvsatchc H4_F77_FUNC(vsatchc, VSATCHC)
1378 # define nvsdtchc H4_F77_FUNC(vsdtchc, VSDTCHC)
1379 # define nvsiqref H4_F77_FUNC(vsiqref, VSIQREF)
1380 # define nvsiqtag H4_F77_FUNC(vsiqtag, VSIQTAG)
1381 # define nvsigver H4_F77_FUNC(vsigver, VSIGVER)
1382 # define nvsseekc H4_F77_FUNC(vsseekc, VSSEEKC)
1383 # define nvsgnamc H4_F77_FUNC(vsgnamc, VSGNAMC)
1384 # define nvsgclsc H4_F77_FUNC(vsglcsc, VSGCLSC)
1385 # define nvsinqc H4_F77_FUNC(vsinqc, VSINQC)
1386 # define nvsfexc H4_F77_FUNC(vsfexc, VSFEXC)
1387 # define nvsfndc H4_F77_FUNC(vsfnd, VSFNDC)
1388 # define nvsgidc H4_F77_FUNC(vsgidc, VSGIDC)
1389 # define nvsdltc H4_F77_FUNC(vsdltc, VSDLTC)
1390 # define nvsapp H4_F77_FUNC(vsapp, VSAPP)
1391 # define nvssnamc H4_F77_FUNC(vssnamc, VSSNAMC)
1392 # define nvssclsc H4_F77_FUNC(vssclsc, VSSCLSC)
1393 # define nvssfldc H4_F77_FUNC(vssfldc, VSSFLDC)
1394 # define nvssintc H4_F77_FUNC(vssintc, VSSINTC)
1395 # define nvsfdefc H4_F77_FUNC(vsfdefc, VSFDEFC)
1396 # define nvssextfc H4_F77_FUNC(vssextfc, VSSEXTFC)
1397 # define nvffnamec H4_F77_FUNC(vffnamec, VFFNAMEC)
1398 # define nvfinflds H4_F77_FUNC(vfinflds, VFINFLDS)
1399 # define nvfifnm H4_F77_FUNC(vfifnm, VFIFNM)
1400 # define nvfiftp H4_F77_FUNC(vfiftp, VFIFTP)
1401 # define nvfifisz H4_F77_FUNC(vfifisz, VFIFISZ)
1402 # define nvfifesz H4_F77_FUNC(vfifesz, VFIFESZ)
1403 # define nvfifodr H4_F77_FUNC(vfiford, VFIFODR)
1404 # define nvsfirdc H4_F77_FUNC(vsfirdc, VSFIRDC)
1405 # define nvsfird H4_F77_FUNC(vsfird, VSFIRD)
1406 # define nvsreadc H4_F77_FUNC(vsreadc, VSREADC)
1407 # define nvsfiwrc H4_F77_FUNC(vsfiwrc, VSFIWRC)
1408 # define nvsfiwr H4_F77_FUNC(vsfiwr, VSFIWR)
1409 # define nvswritc H4_F77_FUNC(vswritc, VSWRITC)
1410 # define nvsgintc H4_F77_FUNC(vsgintc, VSGINTC)
1411 # define nvseltsc H4_F77_FUNC(vseltsc, VSELTSC)
1412 # define nvsgfldc H4_F77_FUNC(vsgfldc, VSGFLDC)
1413 # define nvssizc H4_F77_FUNC(vssizc, VSSIZC)
1414 # define nventsc H4_F77_FUNC(ventsc, VENTSC)
1415 # define nvlonec H4_F77_FUNC(vlonec, VLONEC)
1416 # define nvslonec H4_F77_FUNC(vslonec, VSLONEC)
1417 # define nvfindc H4_F77_FUNC(vfindc, VFINDC)
1418 # define nvfndclsc H4_F77_FUNC(vfndclsc, VFNDCLSC)
1419 # define nvhsdc H4_F77_FUNC(vhsdc, VHSDC)
1420 # define nvhscdc H4_F77_FUNC(vhscdc, VHSCDC)
1421 # define nvhscdmc H4_F77_FUNC(vhscmc, VHSCDMC)
1422 # define nvhsdmc H4_F77_FUNC(vhsdmc, VHSDMC)
1423 # define nvhmkgpc H4_F77_FUNC(vhmkgpc, VHMKGPC)
1424 # define nvflocc H4_F77_FUNC(vflocc, VFLOCC)
1425 # define nvfirefs H4_F77_FUNC(vfirefs, VFIREFS)
1426 # define nvfiqref H4_F77_FUNC(vfiqref, VFIQREF)
1427 # define nvfiqtag H4_F77_FUNC(vfiqtag, VFIQTAG)
1428 # define nvinqtrc H4_F77_FUNC(vinqtrc, VINQTRC)
1429 # define nvntrc H4_F77_FUNC(vntrc, VNTRC)
1430 # define nvgttrsc H4_F77_FUNC(vgttrsc, VGTTRSC)
1431 # define nvgttrc H4_F77_FUNC(vgttrc, VGTTRC)
1432 # define nvadtrc H4_F77_FUNC(vadtrc, VADTRC)
1433 # define nvsiqintr H4_F77_FUNC(vsiqintr, VSIQINTR)
1434 # define nvsiqnelt H4_F77_FUNC(vsiqnelt, VSIQNELT)
1435 # define nvsqfldsc H4_F77_FUNC(vsqfldsc, VSQFLDSC)
1436 # define nvsiqvsz H4_F77_FUNC(vsiqvsz, VSIQVSZ)
1437 # define nvsqnamec H4_F77_FUNC(vsqnamec, VSQNAMEC)
1438 # define nvsfccpk H4_F77_FUNC(vsfccpk, VSFCCPK)
1439 # define nvsfncpk H4_F77_FUNC(vsfncpk, VSFNCPK)
1440 # define nvdtrc H4_F77_FUNC(vdtrc, VDTRC)
1441 # define nvscfcls H4_F77_FUNC(vscfcls, VSCFCLS)
1442 # define nvscsetblsz H4_F77_FUNC(vscsetblsz, VSCSETBLSZ)
1443 # define nvscsetnmbl H4_F77_FUNC(vscsetnmbl, VSCSETNMBL)
1444 # define nvscgblinfo H4_F77_FUNC(vscgblinfo, VSCGBLINFO)
1445 # endif /* !sl */
1446 
1448  (_fcd filename, intf * acc_mode, intf * defdds, intf * namelen);
1449 
1451  (intf * file_id);
1452 
1454  (intf * f, intf * vgid, _fcd accesstype);
1455 
1457  (intf * vkey);
1458 
1461 
1463  (intf * vkey, _fcd vgclass);
1464 
1466  (intf * vkey, intf * nentries, _fcd vgname);
1467 
1469  (intf *f, intf * vkey);
1470 
1472  (intf * f, intf * vgid);
1473 
1475  (intf * vkey, intf * id);
1476 
1478  (intf * vkey, _fcd vgname, intf * vgnamelen);
1479 
1481  (intf * vkey, _fcd vgclass, intf * vgclasslen);
1482 
1484  (intf * vkey, intf * vobjptr);
1485 
1487  (intf * vkey, intf * id);
1488 
1490  (intf * f);
1491 
1493  (intf * f);
1494 
1496  (intf * vkey, intf * id);
1497 
1499  (intf * f, intf * vsref, _fcd accesstype);
1500 
1502  (intf * vkey);
1503 
1505  (intf * vkey);
1506 
1508  (intf * vkey);
1509 
1510 
1512  (intf * vkey);
1513 
1515  (intf * vkey, intf * eltpos);
1516 
1519 
1522 
1525  intf * eltsize, _fcd vsname, intf *fieldslen, intf *vsnamelen);
1526 
1528  (intf * vkey, _fcd fields, intf * fieldslen);
1529 
1531  (intf * f, _fcd name, intf * namelen);
1532 
1534  (intf * f, intf * vsref);
1535 
1537  (intf * f, intf * vsref);
1538 
1540  (intf * vkey, intf *blk);
1541 
1543  (intf * vkey, _fcd vsname, intf * vsnamelen);
1544 
1546  (intf * vkey, _fcd vsclass, intf * vsclasslen);
1547 
1549  (intf * vkey, _fcd fields, intf * fieldslen);
1550 
1552  (intf * vkey, intf * interlace);
1553 
1556  intf * order, intf * fieldlen);
1557 
1559  (intf * vkey, _fcd fname, intf * offset,
1560  intf * fnamelen);
1561 
1563  (intf * vkey);
1564 
1566  (intf * vkey, intf *idx, _fcd fname, intf *len);
1567 
1569  (intf * vkey, intf *idx);
1570 
1572  (intf * vkey, intf *idx);
1573 
1575  (intf * vkey, intf *idx);
1576 
1578  (intf * vkey, intf *idx);
1579 
1581  (intf * vkey, _fcd cbuf, intf * nelt,
1582  intf * interlace);
1583 
1585  (intf * vkey, intf * buf, intf * nelt,
1586  intf * interlace);
1587 
1589  (intf * vkey, uint8 * buf, intf * nelt,
1590  intf * interlace);
1591 
1593  (intf * vkey, _fcd cbuf, intf * nelt,
1594  intf * interlace);
1595 
1597  (intf * vkey, intf * buf, intf * nelt,
1598  intf * interlace);
1599 
1601  (intf * vkey, uint8 * buf, intf * nelt,
1602  intf * interlace);
1603 
1605  (intf * vkey);
1606 
1608  (intf * vkey);
1609 
1611  (intf * vkey, _fcd fields);
1612 
1614  (intf * vkey, _fcd fields, intf * fieldslen);
1615 
1617  (intf * f, intf * vgid);
1618 
1620  (intf * f, intf * idarray, intf * asize);
1621 
1623  (intf * f, intf * idarray, intf * asize);
1624 
1626  (intf * f, _fcd name, intf * namelen);
1627 
1629  (intf * f, _fcd vgclass, intf * classlen);
1630 
1632  (intf * f, _fcd field, _fcd cbuf, intf * n,
1633  intf * datatype, _fcd vsname, _fcd vsclass,
1634  intf * fieldlen, intf * vsnamelen,
1635  intf * vsclasslen);
1636 
1638  (intf * f, _fcd field, uint8 * buf, intf * n,
1639  intf * datatype, _fcd vsname, _fcd vsclass,
1640  intf * fieldlen, intf * vsnamelen,
1641  intf * vsclasslen);
1642 
1644  (intf * f, _fcd field, _fcd cbuf, intf * n,
1645  intf * datatype, _fcd vsname, _fcd vsclass,
1646  intf * order, intf * fieldlen, intf * vsnamelen,
1647  intf * vsclasslen);
1648 
1650  (intf * f, _fcd field, uint8 * buf, intf * n,
1651  intf * datatype, _fcd vsname, _fcd vsclass,
1652  intf * order, intf * fieldlen, intf * vsnamelen,
1653  intf * vsclasslen);
1654 
1656  (intf * f, intf * tagarray, intf * refarray, intf * n,
1657  _fcd vgname, _fcd vgclass, intf * vgnamelen, intf * vgclasslen);
1658 
1660  (intf * vkey, _fcd field, intf * fieldlen);
1661 
1663  (intf * vkey, intf * tag, intf * ref);
1664 
1666  (intf * vkey);
1667 
1669  (intf * vkey, intf *tag);
1670 
1672  (intf * vkey);
1673 
1675  (intf * vkey);
1676 
1678  (intf * vkey, intf * tagarray, intf * refarray, intf * n);
1679 
1681  (intf * vkey, intf * which, intf * tag, intf * ref);
1682 
1684  (intf * vkey, intf * tag, intf * ref);
1685 
1687  (intf * vkey, intf * tag, intf * ref);
1688 
1690  (intf * vkey, intf * nelt);
1691 
1693  (intf * vkey, intf * interlace);
1694 
1696  (intf * vkey, _fcd fields, intf *fieldslen);
1697 
1699  (intf * vkey, intf * size);
1700 
1702  (intf * vkey, _fcd name, intf *namelen);
1703 
1707 
1709  (intf *vs, intf *packtype, _fcd buflds, intf *buf, intf *bufsz,
1710  intf *nrecs, _fcd pckfld, intf *fldbuf, intf *buflds_len, intf *fld_len);
1711 
1714 
1717 
1719  (intf *id, intf *block_size, intf *num_blocks);
1720 
1722  (intf * id, _fcd name, intf * namelen);
1723 
1724  HDFFCLIBAPI FRETVAL(intf) nvfistart
1725  (intf * f);
1726 
1727  HDFFCLIBAPI FRETVAL(intf) nvfiend
1728  (intf * f);
1729 
1730  HDFFCLIBAPI FRETVAL(intf) nvsiqref
1731  (intf * vkey);
1732 
1733  HDFFCLIBAPI FRETVAL(intf) nvsiqtag
1734  (intf * vkey);
1735 
1736  HDFFCLIBAPI FRETVAL(intf) nvsigver
1737  (intf * vkey);
1738 
1739  HDFFCLIBAPI FRETVAL(intf) nvfinflds
1740  (intf * vkey);
1741 
1742  HDFFCLIBAPI FRETVAL(intf) nvfifnm
1743  (intf * vkey, intf *index, _fcd fname);
1744 
1745  HDFFCLIBAPI FRETVAL(intf) nvfiftp
1746  (intf * vkey, intf *index);
1747 
1748  HDFFCLIBAPI FRETVAL(intf) nvfifisz
1749  (intf * vkey, intf *index);
1750  HDFFCLIBAPI FRETVAL(intf) nvfifesz
1751  (intf * vkey, intf *index);
1752  HDFFCLIBAPI FRETVAL(intf) nvfifodr
1753  (intf * vkey, intf *index);
1754 
1755  HDFFCLIBAPI FRETVAL(intf) nvsfirdc
1756  (intf * vkey, _fcd cbuf, intf * nelt,
1757  intf * interlace);
1758 
1759  HDFFCLIBAPI FRETVAL(intf) nvsfird
1760  (intf * vkey, intf * buf, intf * nelt,
1761  intf * interlace);
1762 
1763  HDFFCLIBAPI FRETVAL(intf) nvsfiwrc
1764  (intf * vkey, _fcd cbuf, intf * nelt,
1765  intf * interlace);
1766 
1767  HDFFCLIBAPI FRETVAL(intf) nvsfiwr
1768  (intf * vkey, intf * buf, intf * nelt,
1769  intf * interlace);
1770 
1771  HDFFCLIBAPI FRETVAL(intf) nvfirefs
1772  (intf * vkey, intf *tag);
1773 
1774  HDFFCLIBAPI FRETVAL(intf) nvfiqref
1775  (intf * vkey);
1776 
1777  HDFFCLIBAPI FRETVAL(intf) nvfiqtag
1778  (intf * vkey);
1779 
1780  HDFFCLIBAPI FRETVAL(intf) nvsiqnelt
1781  (intf * vkey, intf *nelt);
1782 
1783  HDFFCLIBAPI FRETVAL(intf) nvsiqintr
1784  (intf * vkey, intf *interlace);
1785 
1787  (intf * vkey, _fcd fields, intf *fieldslen);
1788 
1789  HDFFCLIBAPI FRETVAL(intf) nvsiqvsz
1790  (intf * vkey, intf *ret_size);
1791 
1792  /*
1793  ** from vattrf.c
1794  */
1795 /*
1796  * Not all HDF4 Fortran functions are real Fortran functions, they are C wrappers called from a
1797  * Fortran program. Since on Windows we have to have a real Fortran function, additional C wrappers
1798  * were added at the time when Windows port was done for multi-file interfaces: for example,
1799  * hclose is a C wrapper on UNIX, while on Windows we have two functions: Fortran function hclose
1800  * and C wrapper function hiclose called by hclose
1801  * EIP 2007-09-14
1802  */
1803 # if !defined _WIN32 || defined CMAKE_INTDIR
1804 # define nvsfcfdx H4_F77_FUNC(vsfcfdx, VSFCFDX)
1805 # define nvsfcsat H4_F77_FUNC(vsfcsat, VSFCSAT)
1806 # define nvsfcsca H4_F77_FUNC(vsfcsca, VSFCSCA)
1807 # define nvsfnats H4_F77_FUNC(vsfnats, VSFNATS)
1808 # define nvsffnas H4_F77_FUNC(vsffnas, VSFFNAS)
1809 # define nvsfcfda H4_F77_FUNC(vsfcfda, VSFCFDA)
1810 # define nvsfcain H4_F77_FUNC(vsfcain, VSFCAIN)
1811 # define nvsfgnat H4_F77_FUNC(vsfgnat, VSFGNAT)
1812 # define nvsfgcat H4_F77_FUNC(vsfgcat, VSFGCAT)
1813 # define nvsfisat H4_F77_FUNC(vsfisat, VSFISAT)
1814 # define nvfcsatt H4_F77_FUNC(vfcsatt, VFCSATT)
1815 # define nvfcscat H4_F77_FUNC(vfcscat, VFCSCAT)
1816 # define nvfnatts H4_F77_FUNC(vfnatts, VFNATTS)
1817 # define nvfcfdat H4_F77_FUNC(vfcfdat, VFCFDAT)
1818 # define nvfainfo H4_F77_FUNC(vfainfo, VFAINFO)
1819 # define nvfgnatt H4_F77_FUNC(vfgnatt, VFGNATT)
1820 # define nvfgcatt H4_F77_FUNC(vfgcatt, VFGCATT)
1821 # define nvfgver H4_F77_FUNC(vfgver, VFGVER)
1822 # else /* !sl */
1823 # define nvsfcfdx H4_F77_FUNC(vsfcfdx, VSFCFDX)
1824 # define nvsfcsat H4_F77_FUNC(vsfcsat, VSFCSAT)
1825 # define nvsfcsca H4_F77_FUNC(vsfcsca, VSFCSCA)
1826 # define nvsfcnats H4_F77_FUNC(vsfcnats, VSFCNATS)
1827 # define nvsfcfnas H4_F77_FUNC(vsfcfnas, VSFCFNAS)
1828 # define nvsfcfda H4_F77_FUNC(vsfcfda, VSFCFDA)
1829 # define nvsfcain H4_F77_FUNC(vsfcain, VSFCAINF)
1830 # define nvsfcainf H4_F77_FUNC(vsfcainf, VSFCAINF)
1831 # define nvsfcgna H4_F77_FUNC(vsfcgna, VSFCGNA)
1832 # define nvsfcgca H4_F77_FUNC(vsfcgca, VSFCGCA)
1833 # define nvsfcisa H4_F77_FUNC(vsfcisa, VSFCISA)
1834 # define nvfcsatt H4_F77_FUNC(vfcsatt, VFCSATT)
1835 # define nvfcscat H4_F77_FUNC(vfcscat, VFCSCAT)
1836 # define nvfcnats H4_F77_FUNC(vfcnats, VFCNATS)
1837 # define nvfcfdat H4_F77_FUNC(vfcfdat, VFCFDAT)
1838 # define nvfcainf H4_F77_FUNC(vfcainf, VFCAINF)
1839 # define nvfcgnat H4_F77_FUNC(vfcgnat, VFCGNAT)
1840 # define nvfcgcat H4_F77_FUNC(vfcgcat, VFCGCAT)
1841 # define nvfcgver H4_F77_FUNC(vfcgver, VFCGVER)
1842 # endif /* !sl */
1843 
1847  (intf *vsid, intf *findex, _fcd attrnm, intf *dtype,
1848  intf *count, intf *values, intf *attrnmlen);
1850  (intf *vsid, intf *findex, _fcd attrnm, intf *dtype,
1851  intf *count, _fcd values, intf *attrnmlen);
1853  (intf *vsid);
1855  (intf *vsid, intf *findex);
1857  (intf *vsid, intf *findex, _fcd attrnm, intf *attrnmlen);
1859  (intf *vsid, intf *findex, intf *aindex, _fcd attrname,
1860  intf *dtype, intf *count, intf *size, intf *attrnamelen);
1862  (intf *vsid, intf *findex, intf *aindex, intf *values);
1864  (intf *vsid, intf *findex, intf *aindex, _fcd values);
1866  (intf *vsid);
1868  (intf *vgid, _fcd attrnm, intf *dtype,
1869  intf *count, intf *values, intf *attrnmlen);
1871  (intf *vgid, _fcd attrnm, intf *dtype, intf *count,
1872  _fcd values, intf *attrnmlen);
1874  (intf *vgid);
1876  (intf *vgid, _fcd attrnm, intf *attrnmlen);
1878  (intf *vgid, intf *aindex, _fcd attrname,
1879  intf *dtype, intf *count, intf *size);
1881  (intf *vgid, intf *aindex, intf *values);
1883  (intf *vgid, intf *aindex, _fcd values);
1885  (intf *vgid);
1886 
1887 /* Added for windows */
1888  HDFFCLIBAPI FRETVAL(intf) nvsfainf
1889  (intf *vsid, intf *findex, intf *aindex, _fcd attrname,
1890  intf *dtype, intf *count, intf *size);
1891 
1892  HDFFCLIBAPI FRETVAL(intf) nvsfcnats
1893  (intf *vsid);
1894 
1895  HDFFCLIBAPI FRETVAL(intf) nvsfcfnas
1896  (intf *vsid, intf *findex);
1897 
1898  HDFFCLIBAPI FRETVAL(intf) nvsfcainf
1899  (intf *vsid, intf *findex, intf *aindex, _fcd attrname,
1900  intf *dtype, intf *count, intf *size);
1901 
1902  HDFFCLIBAPI FRETVAL(intf) nvsfcgna
1903  (intf *vsid, intf *findex, intf *aindex, intf *values);
1904 
1905  HDFFCLIBAPI FRETVAL(intf) nvsfcgca
1906  (intf *vsid, intf *findex, intf *aindex, _fcd values);
1907 
1908  HDFFCLIBAPI FRETVAL(intf) nvsfcisa
1909  (intf *vsid);
1910 
1911  HDFFCLIBAPI FRETVAL(intf) nvfcnats
1912  (intf *vgid);
1913 
1914  HDFFCLIBAPI FRETVAL(intf) nvfcainf
1915  (intf *vgid, intf *aindex, _fcd attrname,
1916  intf *dtype, intf *count, intf *size);
1917 
1918  HDFFCLIBAPI FRETVAL(intf) nvfcgnat
1919  (intf *vgid, intf *aindex, intf *values);
1920 
1921  HDFFCLIBAPI FRETVAL(intf) nvfcgcat
1922  (intf *vgid, intf *aindex, _fcd values);
1923 
1924  HDFFCLIBAPI FRETVAL(intf) nvfcgver
1925  (intf *vgid);
1926 /* End of windows */
1927 
1928 
1929 /*
1930  ** from dfufp2i.c
1931  */
1932 
1933 # define nduif2i H4_F77_FUNC(duif2i, DUIF2I)
1934 
1936  (int32 *hdim, int32 *vdim, float32 *max, float32 *min, float32 hscale[],
1937  float32 vscale[], float32 data[], _fcd palette, _fcd outfile,
1938  int *ct_method, int32 *hres, int32 *vres, int *compress, int *lenfn);
1939 
1940 
1941 #if defined c_plusplus || defined __cplusplus
1942 }
1943 #endif /* c_plusplus || __cplusplus */
1944 
1945 #endif /* _H_PROTO_FORTRAN */
1946 
#define nvfftype
HDFFCLIBAPI intf intf intf * count
#define nvsdltc
#define nvffordr
HDFLIBAPI int32 ANreadann(int32 ann_id, char *ann, int32 maxlen)
#define nvssfldc
HDFFCLIBAPI _fcd intf intf intf intf intf * nlen
#define ndfr8scompress
#define nvsgclsc
#define nafidtagref
#define nvinsrtc
#define nvsqfintr
#define nmgstart
#define nvgnamc
HDFFCLIBAPI intf * len
#define nvatchc
#define ndfsdgetnt
HDFFCLIBAPI intf intf * lref
HDFFCLIBAPI _fcd intf * findex
HDFFCLIBAPI intf intf intf intf * num_odesc
#define nafreadann
#define ndaiafid
HDFFCLIBAPI intf winst[]
#define ndsslens
HDFFCLIBAPI intf intf _fcd intf _fcd intf * fieldslen
#define ndfr8sjpeg
HDFFCLIBAPI intf intf intf * lformat
HDFFCLIBAPI intf intf * release
HDFFCLIBAPI intf * info
#define naffileinfo
#define nvisvsc
#define ndpippal
#define nvntrc
#define nmggnatt
#define nafatypetag
HDFFCLIBAPI intf * block_size
HDFFCLIBAPI intf * maxlen_unit
HDFFCLIBAPI intf * num_flabel
#define nvsseekc
HDFFCLIBAPI _fcd _fcd intf intf * datatype
HDFFCLIBAPI intf intf intf * atype
#define nd8spal
HDFFCLIBAPI intf _fcd intf intf * bufsz
#define ndfangetfid
#define ndailist
HDFFCLIBAPI intf * itag
#define ndfsdrestart
#define nvhsdmc
HDFFCLIBAPI DFdata * dfinfo
HDFFCLIBAPI intf * idx
#define nmgcscchnk
HDFFCLIBAPI intf intf intf intf * nentries
HDFLIBAPI int32 ANselect(int32 an_id, int32 idx, ann_type type)
HDFFCLIBAPI _fcd _fcd _fcd fcoordsys
HDFLIBAPI int32 ANget_tagref(int32 an_id, int32 idx, ann_type type, uint16 *ann_tag, uint16 *ann_ref)
#define ndsisslab
#define ndfindnr
#define nvsfwrtc
#define ndsigdas
#define nvdtchc
HDFFCLIBAPI _fcd label
HDFFCLIBAPI intf intf intf * namelen
#define nhxiscdir
HDFFCLIBAPI intf intf * defdds
#define ndfprestart
HDFFCLIBAPI intf * vkey
#define nvssintc
HDFFCLIBAPI _fcd vgclass
HDFFCLIBAPI intf * etag
#define nd2sdims
#define nvsatchc
#define ndswslab
HDFFCLIBAPI intf _fcd intf intf intf * nrecs
HDFFCLIBAPI float64 * cal_err
#define nmgid2rf
#define nvfnflds
HDFFCLIBAPI intf * llabel
HDFFCLIBAPI intf intf * comp_type
#define nvinqc
#define nvsffnas
HDFFCLIBAPI _fcd error_message
#define nmggiinf
#define nvfend
HDFFCLIBAPI intf _fcd buflds
#define ndplref
#define nvfcfdat
HDFFCLIBAPI intf intf * iref
HDFFCLIBAPI intf _fcd intf intf intf intf * attrnmlen
#define ndsigdis
#define ndalref
#define nafwriteann
#define ndagfidl
#define nvsfnats
#define naftagatype
int FAR intf
Definition: zconf.h:273
#define nmgatinf
#define nmgin2ndx
#define nvsgnamc
#define nvsnamc
HDFFCLIBAPI _fcd intf _fcd filemode
#define ndpigpal
#define nmgcwcchnk
#define nd2igdim
HDFFCLIBAPI FRETVAL(intf) ndaiganl(_fcd filename
#define ndf24sjpeg
#define ndsigdat
HDFFCLIBAPI void intf dims[]
#define nvsqfvsiz
#define nmgfinfo
HDFFCLIBAPI intf intf * begin
HDFFCLIBAPI _fcd vsclass
HDFFCLIBAPI _fcd _fcd _fcd fformat
#define nvhmkgpc
#define ndfangetfds
HDFFCLIBAPI intf intf intf intf * oref
#define ndfupdate
#define nmgendac
#define nafannlen
#define nvdtrc
#define nvlonec
#define nvfgnatt
#define const
Definition: zconf.h:124
HDFFCLIBAPI intf intf * ispre32
HDFFCLIBAPI _fcd cbuf
HDFFCLIBAPI _fcd intf * localtype
HDFFCLIBAPI intf intf * refarray
HDFFCLIBAPI intf * dirlen
HDFFCLIBAPI float64 float64 * ioff
#define nvisvgc
HDFLIBAPI int32 ANcreatef(int32 an_id, ann_type type)
HDFFCLIBAPI intf * dimsize
HDFLIBAPI int32 ANend(int32 an_id)
#define ndfr8lastref
HDFFCLIBAPI intf * accesstype
#define ndsisdis
#define nhiishdf
#define nhnumber
#define nmggcatt
HDFFCLIBAPI _fcd vgname
#define nvfndclsc
#define ndfr8setpalette
#define nvfcsatt
#define nmgisxfil
#define ndf24setdims
HDFFCLIBAPI int32 float32 float32 float32 float32 float32 _fcd _fcd outfile
#define nvffisiz
HDFLIBAPI int32 ANwriteann(int32 ann_id, const char *ann, int32 annlen)
HDFFCLIBAPI intf intf _fcd annotation
#define ndfstat
#define ndfdel
HDFFCLIBAPI intf intf _fcd intf intf intf intf * attrnamelen
#define nvsgintc
#define ndfsdsetlengths
#define ndfdup
HDFFCLIBAPI _fcd intf * overwrite
#define ndfsdsetrange
HDFFCLIBAPI _fcd intf intf intf * fieldlen
HDFFCLIBAPI intf * tagarray
#define nmgcrcchnk
#define nd2first
HDFFCLIBAPI intf dimsizes[]
#define ndf24restart
#define ndfvclos
#define ndfread
#define nvadtrc
HDFFCLIBAPI intf intf * aindex
#define nmglt2rf
HDFFCLIBAPI intf intf _fcd attrname
#define nvsgfldc
HDFFCLIBAPI intf intf intf * maxlen_coordsys
HDFFCLIBAPI int32 float32 float32 float32 hscale[]
#define ndsgdiln
HDFFCLIBAPI intf VOIDP num_data
#define nvsfexc
#define nvsdtchc
HDFFCLIBAPI _fcd fldnm
#define ndsgdaln
#define nvqtag
#define nd2scomp
HDFFCLIBAPI intf intf reflist[]
HDFFCLIBAPI intf intf * eref
HDFFCLIBAPI intf intf maxsizes[]
#define nvscsetblsz
HDFFCLIBAPI intf intf intf intf void * buffer
HDFFCLIBAPI int32 float32 float32 float32 float32 float32 _fcd _fcd int * ct_method
char * _fcd
Definition: H5f90i.h:37
HDFFCLIBAPI intf * pxdim
#define nvsfdefc
HDFFCLIBAPI _fcd intf * classlen
HDFFCLIBAPI intf intf _fcd intf * annlen
HDFFCLIBAPI _fcd intf * vgclasslen
#define nhclose
#define nmgrcimg
HDFFCLIBAPI intf * print_levels
HDFFCLIBAPI intf intf * pydim
#define ndfsdgetdimlen
HDFFCLIBAPI intf * maxcache
HDFFCLIBAPI intf * idarray
HDFFCLIBAPI int32 * vdim
#define nvsfisat
HDFFCLIBAPI float64 float64 float64 intf * cal_type
#define nheprntc
#define nmgcrchnk
#define nd8scomp
HDFFCLIBAPI _fcd _fcd _fcd coordsys
#define ndfplastref
HDFFCLIBAPI _fcd intf * idlen
HDFFCLIBAPI intf intf * interlace
#define ndf24setil
#define nvsreadc
HDFFCLIBAPI intf _fcd intf intf intf _fcd _fcd intf * buflds_len
#define nhestringc
#define nvsfgnat
#define ndsgdisc
HDFFCLIBAPI intf _fcd intf intf intf _fcd pckfld
#define nmgrdimg
#define nvgidc
#define nvsfndc
#define ndfangetfdslen
HDFFCLIBAPI intf intf _fcd intf intf intf * startpos
HDFFCLIBAPI _fcd intf intf intf * compress
HDFFCLIBAPI _fcd intf intf * nt
HDFFCLIBAPI _fcd flabel
#define nmggattr
HDFFCLIBAPI void * pmin
HDFLIBAPI intn ANannlist(int32 an_id, ann_type type, uint16 elem_tag, uint16 elem_ref, int32 ann_list[])
HDFFCLIBAPI _fcd ann
HDFFCLIBAPI intf intf intf * num_olabel
HDFFCLIBAPI intf intf intf * comp_prm
#define nmgcschnk
HDFFCLIBAPI intf _fcd char_data
#define nd8igdim
HDFFCLIBAPI intf intf _fcd intf * listsize
#define nvsfrd
HDFFCLIBAPI _fcd name
#define ndfsdsetdimscale
#define nmgrltil
HDFFCLIBAPI intf * dim_length
HDFFCLIBAPI intf intf * ref
HDFFCLIBAPI _fcd intf intf _fcd pal
HDFFCLIBAPI intf * packtype
HDFFCLIBAPI intf intf intf * otag
#define naffcreate
#define ndseslab
#define nafnumann
#define nvdeletec
#define nmgrclut
HDFFCLIBAPI int32 float32 float32 float32 float32 float32 _fcd _fcd int int32 * hres
#define nvhscdmc
HDFFCLIBAPI intf * vsref
#define nvfstart
#define nvfgcatt
HDFFCLIBAPI _fcd fname
#define nvffesiz
#define nvsgver
HDFFCLIBAPI intf intf * ydim
#define ndsiadat
#define nd2igimg
HDFFCLIBAPI intf * n_datasets
#define nvsfccpk
HDFFCLIBAPI _fcd _fcd _fcd intf * isfortran
#define ndsclear
HDFFCLIBAPI _fcd intf * vsnamelen
#define nvssextfc
#define ndsipdat
#define nhiopen
#define ndssnt
HDFFCLIBAPI _fcd intf intf * order
#define ndfiishdf
#define ndspslc
#define ndpirref
#define nvfcscat
#define ndfiaccess
#define ndaafds
HDFFCLIBAPI intf * blk
#define nd8sjpeg
#define nd2lref
#define nvscfcls
HDFFCLIBAPI int32 float32 float32 float32 float32 float32 _fcd _fcd int int32 int32 * vres
#define nmgiscatt
#define ndagfdsl
#define ndfsdgetrange
HDFFCLIBAPI intf * num_blocks
#define nvgclsc
#define ndagfds
#define nvsinqc
HDFFCLIBAPI intf intf _fcd intf * eltsize
HDFFCLIBAPI intf intf * num_fdesc
#define ndpiwref
#define ndsgcal
#define nvfgver
#define nafend
#define nvgttrsc
#define nvsqref
HDFLIBAPI int32 ANstart(int32 file_id)
HDFFCLIBAPI intf * size
HDFFCLIBAPI intf _fcd intf intf intf * values
HDFFCLIBAPI intf * vobjptr
#define nvsfncpk
#define nvflocc
#define nmgwrimg
HDFFCLIBAPI int32 float32 * max
#define ndssdisc
#define ndsirref
#define nvsqfnelt
#define ndferrno
#define ndfanaddfds
HDFFCLIBAPI intf _fcd attrnm
HDFFCLIBAPI intf * ret_size
#define ndfget
int quality
Definition: jpeglib.h:919
#define ndaipann
HDFFCLIBAPI intf * isfirst
HDFFCLIBAPI intf * tag
HDFFCLIBAPI _fcd intf * desclen
HDFFCLIBAPI _fcd _fcd intf * n
#define ndfsdputslice
#define HDFFCLIBAPI
Definition: H4api_adpt.h:196
#define nd2reqil
#define nvgttrc
#define ndf24reqil
#define ndffindnextref
HDFFCLIBAPI intf intf intf * lcoordsys
#define nvfindc
#define ndfsdendslice
HDFFCLIBAPI float64 float64 float64 * ioff_err
HDFFCLIBAPI _fcd intf intf * fldnmlen
HDFFCLIBAPI intf intf intf * num
HDFFCLIBAPI intf * which
HDFFCLIBAPI _fcd vsname
HDFFCLIBAPI intf intf intf * pil
#define nd2irref
#define nvsfgcat
HDFFCLIBAPI intf intf intf intf void intf buffer_size[]
HDFFCLIBAPI _fcd intf intf intf * il
#define ndsiwref
HDFLIBAPI intn ANendaccess(int32 ann_id)
HDFFCLIBAPI intf * nelt
#define ndfsdgetdatastrs
#define nd8iwref
#define ndfangetfidlen
#define ndssrang
#define nhddontatexit
#define ndagfid
HDFFCLIBAPI _fcd _fcd _fcd intf intf intf intf * lcoord
#define ndpinpal
#define ndfsdsetdims
#define ndfseek
HDFFCLIBAPI intf * lut_index
#define nd2setil
#define ndfsdsetnt
#define nmgrdlut
HDFFCLIBAPI intf intf intf intf * lenfn
#define nvhsdc
HDFFCLIBAPI _fcd intf * ncomp
#define nheprnt
HDFFCLIBAPI intf * xdim
#define nvsfcfda
#define nvfnatts
HDFLIBAPI ann_type ANtag2atype(uint16 atag)
HDFFCLIBAPI intf void * scale
#define nd8iaimg
#define nd8irref
HDFFCLIBAPI intf * acc_mode
#define nvsclsc
#define nafstart
#define nvsfwrt
#define ndaclear
#define nhconfinfc
HDFFCLIBAPI _fcd intf intf intf intf intf * nattr
#define ndseslc
HDFFCLIBAPI intf intf _fcd fields
#define nmgglinf
#define nd2iaimg
#define ndsirslab
#define nmgcgichnk
HDFFCLIBAPI intf _fcd intf intf intf _fcd _fcd fldbuf
#define nvslonec
HDFFCLIBAPI intf intf start[]
HDFFCLIBAPI void * data
#define nafgettagref
#define nafselect
#define ndssfill
#define nvscsetnmbl
#define ndfclose
HDFFCLIBAPI _fcd filename
#define ndfsfind
#define ndsisdas
#define ndaigann
HDFFCLIBAPI intf * vgid
#define ndssdims
#define naftagrefid
HDFFCLIBAPI intf intf intf * ispal
HDFLIBAPI int32 ANannlen(int32 ann_id)
#define nvinqtrc
#define ndsisslc
#define nd8first
HDFLIBAPI int32 ANtagref2id(int32 an_id, uint16 ann_tag, uint16 ann_ref)
#define nhglibverc
HDFFCLIBAPI _fcd unit
#define nmgcgnluts
#define nmgwcimg
#define nvsqnamec
HDFFCLIBAPI intf * force_baseline
#define nvhscdc
HDFFCLIBAPI intf * eltpos
HDFFCLIBAPI intf intf intf * type
HDFFCLIBAPI intf intf * n_attrs
#define nmgifndat
#define nmgwclut
ann_type
Definition: hdf.h:33
HDFFCLIBAPI intf intf intf intf * fnlen
HDFFCLIBAPI intf intf * flags
#define nvsapp
#define nvssclsc
HDFFCLIBAPI intf intf * asize
#define nvscgblinfo
#define nvsfcsca
#define ndsscal
#define ndfwrite
#define nvssnamc
HDFFCLIBAPI intf intf _fcd intf * maxlen
HDFLIBAPI int32 ANid2tagref(int32 an_id, uint16 *ann_tag, uint16 *ann_ref)
#define ndffind
#define ndfput
#define ndfsdclear
HDFFCLIBAPI intf * prank
#define nmgwrlut
#define nduif2i
#define ndfsdgetdimscale
#define ndfnumber
HDFFCLIBAPI _fcd intf intf * fnamelen
HDFFCLIBAPI intf stride[]
#define nafendaccess
#define nhxisdir
#define nvsgidc
HDFLIBAPI intn ANfileinfo(int32 an_id, int32 *n_file_label, int32 *n_file_desc, int32 *n_obj_label, int32 *n_obj_desc)
#define nd8igimg
HDFLIBAPI uint16 ANatype2tag(ann_type atype)
#define nvgnxtc
#define HDFLIBAPI
Definition: H4api_adpt.h:195
HDFFCLIBAPI intf intf _fcd intf * acclen
#define nvssizc
HDFFCLIBAPI _fcd intf * vgnamelen
#define nvsfrdc
#define ndprest
HDFFCLIBAPI _fcd _fcd funit
#define nmgend
HDFFCLIBAPI intf _fcd intf intf intf _fcd _fcd intf intf * fld_len
#define nd8lref
HDFFCLIBAPI _fcd intf intf intf intf * newfile
#define nvsfcain
#define ndfsdgetdatalen
HDFFCLIBAPI intf _fcd intf * dtype
#define nvqref
HDFFCLIBAPI intf intf windims[]
#define nmgcwchnk
HDFFCLIBAPI _fcd image
HDFFCLIBAPI intf ptr[][4]
HDFFCLIBAPI intf intf sizes[]
HDFFCLIBAPI _fcd desc
HDFLIBAPI intn ANnumann(int32 an_id, ann_type type, uint16 elem_tag, uint16 elem_ref)
HDFFCLIBAPI intf * offset
#define ndf24scompress
#define nvswritc
#define ndsgnt
HDFFCLIBAPI int DFUfptoimage(int32 hdim, int32 vdim, float32 max, float32 min, float32 *hscale, float32 *vscale, float32 *data, uint8 *palette, char *outfile, int ct_method, int32 hres, int32 vres, int compress)
HDFFCLIBAPI intf intf cont[]
#define nmgisattr
#define nd2inimg
#define nd8inims
HDFFCLIBAPI intf * rank
#define nmggltid
#define nmgrimil
#define ndsgfill
#define nvfainfo
#define nvsfcsat
#define ndfr8restart
#define nd8ipimg
HDFFCLIBAPI intf * index
#define ndaiganl
#define ndfstart
#define nafcreate
HDFFCLIBAPI _fcd intf * vsclasslen
#define ndslref
#define ndfivopn
#define ndfanlastref
#define nmgcgcompress
HDFFCLIBAPI int32 float32 float32 float32 float32 float32 _fcd palette
#define ndsigslc
#define ndfnewref
#define nd2sjpeg
HDFFCLIBAPI intf intf * maxlen_format
#define nafannlist
HDFFCLIBAPI intf * major_v
#define nvseltsc
#define ndsfirst
#define nhgfilverc
HDFFCLIBAPI intf * minor_v
#define nmgcscompress
HDFFCLIBAPI _fcd _fcd format
#define nmgicreat
HDFFCLIBAPI intf intf intf slab_size[]
HDFFCLIBAPI intf intf intf intf alist[]
#define ndfsdlastref
HDFFCLIBAPI void * min
#define nvsfcfdx
#define nvffnamec
#define ndsip32s
Definition: df.h:102
HDFFCLIBAPI _fcd field
HDFFCLIBAPI intf intf intf * maxrank
#define nvsqtag
HDFFCLIBAPI intf * maxsize
#define nventsc
#define ndsinum
HDFFCLIBAPI intf * buf
#define nmgr2idx
#define nvnrefs
#define ndsgrang
#define ndfiopen
HDFFCLIBAPI intf intf _fcd labellist
#define ndfdesc
HDFFCLIBAPI int32 float32 float32 float32 float32 vscale[]
HDFLIBAPI int32 ANcreate(int32 an_id, uint16 elem_tag, uint16 elem_ref, ann_type type)
#define nmgselct
#define ndsigdim
#define nvsqfldsc
HDFFCLIBAPI intf intf * lunit

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