MISR Toolkit  1.5.1
hproto.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 5648 2011-06-09 05:18:42Z bmribler $ */
15 
16 #ifndef _H_PROTO
17 #define _H_PROTO
18 
19 #include "H4api_adpt.h"
20 
21 /* Usefull macros, which someday might become actual functions */
22 /* Wrappers for Hinquire. feb-2-92 */
23 #define HQueryfileid(aid, fileid) \
24  (Hinquire ((int32) aid, (int32*) fileid, (uint16*) NULL,\
25  (uint16*) NULL, (int32*) NULL, (int32*) NULL,\
26  (int32*) NULL, (int16*) NULL, (int16*) NULL))
27 
28 #define HQuerytagref(aid, tag, ref) \
29  (Hinquire ((int32) aid, (int32*) NULL, (uint16*) tag,\
30  (uint16*) ref, (int32*) NULL, (int32*) NULL,\
31  (int32*) NULL, (int16*) NULL, (int16*) NULL))
32 
33 #define HQuerylength(aid, length) \
34  (Hinquire ((int32) aid, (int32*) NULL, (uint16*) NULL, \
35  (uint16*) NULL, (int32*) length, (int32*) NULL, \
36  (int32*) NULL, (int16*) NULL, (int16*) NULL))
37 
38 #define HQueryoffset(aid, offset) \
39  (Hinquire ((int32) aid, (int32*) NULL, (uint16*) NULL, \
40  (uint16*) NULL, (int32*) NULL, (int32*) offset, \
41  (int32*) NULL, (int16*) NULL, (int16*) NULL))
42 
43 #define HQueryposition(aid, position) \
44  (Hinquire ((int32) aid, (int32*) NULL, (uint16*) NULL, \
45  (uint16*) NULL, (int32*) NULL, (int32*) NULL, \
46  (int32*) position, (int16*) NULL, (int16*) NULL))
47 
48 #define HQueryaccess(aid, access) \
49  (Hinquire ((int32) aid, (int32*) NULL, (uint16*) NULL, \
50  (uint16*) NULL, (int32*) NULL, (int32*) NULL, \
51  (int32*) NULL, (int16*) access, (int16*) NULL))
52 
53 #define HQueryspecial(aid, special) \
54  (Hinquire ((int32) aid, (int32*) NULL, (uint16*) NULL, \
55  (uint16*) NULL, (int32*) NULL, (int32*) NULL, \
56  (int32*) NULL, (int16*) NULL, (int16*) special))
57 
58 
59 #if defined c_plusplus || defined __cplusplus
60 extern "C"
61 {
62 #endif /* c_plusplus || __cplusplus */
63 
64 /*
65  ** from hfile.c
66  */
67  HDFLIBAPI int32 Hopen
68  (const char *path, intn acc_mode, int16 ndds);
69 
70  HDFLIBAPI intn Hclose
71  (int32 file_id);
72 
73  HDFLIBAPI int32 Hstartread
74  (int32 file_id, uint16 tag, uint16 ref);
75 
76  HDFLIBAPI intn Hnextread
77  (int32 access_id, uint16 tag, uint16 ref, intn origin);
78 
79  HDFLIBAPI intn Hexist
80  (int32 file_id, uint16 search_tag, uint16 search_ref);
81 
82  HDFLIBAPI intn Hinquire
83  (int32 access_id, int32 * pfile_id, uint16 * ptag,
84  uint16 * pref, int32 * plength, int32 * poffset,
85  int32 * pposn, int16 * paccess, int16 * pspecial);
86 
88  (int32 file_id, uint16 tag, uint16 ref, int32 length);
89 
91  (int32 file_id, uint16 tag, uint16 ref, uint32 flags);
92 
94  (int32 file_id, int32 length);
95 
97  (int32 aid);
98 
100  (int32 aid);
101 
103  (hdf_termfunc_t term_func);
104 
105  HDFLIBAPI intn Hseek
106  (int32 access_id, int32 offset, intn origin);
107 
108  HDFLIBAPI int32 Htell
109  (int32 access_id);
110 
111  HDFLIBAPI int32 Hread
112  (int32 access_id, int32 length, void * data);
113 
114  HDFLIBAPI int32 Hwrite
115  (int32 access_id, int32 length, const void * data);
116 
117  HDFLIBAPI int32 Htrunc
118  (int32 access_id, int32 trunc_len);
119 
120  HDFLIBAPI intn Hendaccess
121  (int32 access_id);
122 
123  HDFLIBAPI intn HDgetc
124  (int32 access_id);
125 
126  HDFLIBAPI intn HDputc
127  (uint8 c, int32 access_id);
128 
129  HDFLIBAPI int32 Hgetelement
130  (int32 file_id, uint16 tag, uint16 ref, uint8 * data);
131 
132  HDFLIBAPI int32 Hputelement
133  (int32 file_id, uint16 tag, uint16 ref, const uint8 * data, int32 length);
134 
135  HDFLIBAPI int32 Hlength
136  (int32 file_id, uint16 tag, uint16 ref);
137 
138  HDFLIBAPI int32 Hoffset
139  (int32 file_id, uint16 tag, uint16 ref);
140 
141  HDFLIBAPI intn Hsync
142  (int32 file_id);
143 
144  HDFLIBAPI intn Hcache
145  (int32 file_id, intn cache_on);
146 
148  (uint32 * majorv, uint32 * minorv,
149  uint32 * releasev, char * string);
150 
152  (int32 file_id, uint32 * majorv, uint32 * minorv,
153  uint32 * release, char * string);
154 
155  HDFLIBAPI intn Hsetaccesstype(int32 access_id, uintn accesstype);
156 
158  (uint16 tag);
159 
161  (uint16 tag);
162 
163  HDFLIBAPI uint16 HDbase_tag
164  (uint16 tag);
165 
166  HDFLIBAPI int HDerr
167  (int32 file_id);
168 
169  HDFLIBAPI intn HDvalidfid
170  (int32 file_id);
171 
172  HDFLIBAPI const char *HDgettagdesc
173  (uint16 tag);
174 
176  (uint16 tag);
177 
179  (const char *tag_name);
180 
181  HDFLIBAPI char *HDgetNTdesc
182  (int32 nt);
183 
184  HDFLIBAPI const char *HDfidtoname
185  (int32 fid);
186 
187  HDFLIBAPI intn Hgetntinfo
188  (int32 numbertype, hdf_ntinfo_t *nt_info);
189 
190  HDFLIBAPI intn Hishdf
191  (const char * filename);
192 
194  (int32 file_id, char ** fname, intn * acc_mode,
195  intn * attach);
196 
197  HDFLIBAPI intn Hshutdown(void);
198 
199  HDFLIBAPI void HPend(void);
200 
201  HDFLIBAPI intn HDdont_atexit(void);
202 
203 /*
204  ** from hfiledd.c
205  */
206 /******************************************************************************
207  NAME
208  Hdupdd - Duplicate a data descriptor
209 
210  DESCRIPTION
211  Duplicates a data descriptor so that the new tag/ref points to the
212  same data element pointed to by the old tag/ref. Return FAIL if
213  the given tag/ref are already in use.
214 
215  RETURNS
216  returns SUCCEED (0) if successful, FAIL (-1) otherwise
217 
218 *******************************************************************************/
219 HDFLIBAPI intn Hdupdd(int32 file_id, /* IN: File ID the tag/refs are in */
220  uint16 tag, /* IN: Tag of new tag/ref */
221  uint16 ref, /* IN: Ref of new tag/ref */
222  uint16 old_tag, /* IN: Tag of old tag/ref */
223  uint16 old_ref /* IN: Ref of old tag/ref */
224 );
225 
226 /******************************************************************************
227  NAME
228  Hnumber - Determine the number of objects of a given type
229 
230  DESCRIPTION
231  Determine how many objects of the given tag are in the file.
232  tag may be set to DFTAG_WILDCARD to get back the total number
233  of objects in the file.
234 
235  Note, a return value of zero is not a fail condition.
236 
237  RETURNS
238  the number of objects of type 'tag' else FAIL
239 
240 *******************************************************************************/
241 HDFLIBAPI int32 Hnumber(int32 file_id, /* IN: File ID the tag/refs are in */
242  uint16 tag /* IN: Tag to count */
243 );
244 
245 /******************************************************************************
246  NAME
247  Hnewref - Returns a ref that is guaranteed to be unique in the file
248 
249  DESCRIPTION
250  Returns a ref number that can be used with any tag to produce a
251  unique tag/ref. Successive calls to Hnewref will generate a
252  strictly increasing sequence until the highest possible ref had been
253  returned, then Hnewref will return unused ref's starting from 1.
254 
255  RETURNS
256  returns the ref number, 0 otherwise
257 
258 *******************************************************************************/
259 HDFLIBAPI uint16 Hnewref(int32 file_id /* IN: File ID the tag/refs are in */
260 );
261 
262 /******************************************************************************
263  NAME
264  Htagnewref - returns a ref that is unique in the file for a given tag
265 
266  DESCRIPTION
267  Returns a ref number that can be used with any tag to produce a
268  unique tag/ref. Successive calls to Hnewref will generate a
269  strictly increasing sequence until the highest possible ref had been
270  returned, then Hnewref will return unused ref's starting from 1.
271 
272  RETURNS
273  returns the ref number, 0 otherwise
274 
275 *******************************************************************************/
276 HDFLIBAPI uint16 Htagnewref(int32 file_id, /* IN: File ID the tag/refs are in */
277  uint16 tag /* IN: Tag to search for a new ref for */
278 );
279 
280 /******************************************************************************
281  NAME
282  Hfind - locate the next object of a search in an HDF file
283 
284  DESCRIPTION
285  Searches for the `next' DD that fits the search tag/ref. Wildcards
286  apply. If origin is DF_FORWARD, search from current position forwards
287  in the file, otherwise DF_BACKWARD searches backward from the current
288  position in the file. If *find_tag and *find_ref are both set to
289  0, this indicates the beginning of a search, and the search will
290  start from the beginning of the file if the direction is DF_FORWARD
291  and from the and of the file if the direction is DF_BACKWARD.
292 
293  RETURNS
294  returns SUCCEED (0) if successful and FAIL (-1) otherwise
295 
296 *******************************************************************************/
297 HDFLIBAPI intn Hfind(int32 file_id, /* IN: file ID to search in */
298  uint16 search_tag, /* IN: the tag to search for (can be DFTAG_WILDCARD) */
299  uint16 search_ref, /* IN: ref to search for (can be DFREF_WILDCARD) */
300  uint16 *find_tag, /* IN: if (*find_tag==0) and (*find_ref==0) then start search */
301  /* OUT: tag matching the search tag */
302  uint16 *find_ref, /* IN: if (*find_tag==0) and (*find_ref==0) then start search */
303  /* OUT: ref matching the search ref */
304  int32 *find_offset, /* OUT: offset of the data element found */
305  int32 *find_length, /* OUT: length of the data element found */
306  intn direction /* IN: Direction to search in: */
307  /* DF_FORWARD searches forward from the current location */
308  /* DF_BACKWARD searches backward from the current location */
309 );
310 
311 
312 /******************************************************************************
313  NAME
314  HDcheck_tagref - Checks to see if tag/ref is in DD list i.e. created already
315 
316  DESCRIPTION
317  Routine checks to see if tag/ref exists in the DD list i.e. has
318  been created.
319 
320  RETURNS
321  0-> tag/ref does not exist
322  1-> tag/ref exists
323  -1-> function failed
324 
325 *******************************************************************************/
326 HDFLIBAPI intn
327 HDcheck_tagref(int32 file_id, /* IN: id of file */
328  uint16 tag, /* IN: Tag to check */
329  uint16 ref /* IN: ref to check */);
330 
331 /************************************************************************
332 NAME
333  HDreuse_tagref -- reuse a data descriptor preserving tag/ref
334 
335 DESCRIPTION
336  Reuses the data descriptor of tag/ref in the dd list of the file.
337  The tag/ref must already exist in the DD list.
338  This routine is unsafe and may leave a file in a condition that is
339  not usable by some routines. Use with care. Not valid for
340  special elments right now. Used for allowing the data to change
341  and move somewhere else in the file for non-special elements.
342  Must be carefully if apply to higher-level objects like GR's and SDS
343  that are comprised of other objects.
344  Usefull when re-writing simple elements whose size changes while
345  preserving the original tag/ref of the element since other elements
346  might refer to this element by tag/ref e.g. in a Vgroup.
347 
348 RETURNS
349  returns SUCCEED (0) if successful, FAIL (-1) otherwise
350 ************************************************************************/
351 HDFLIBAPI intn
352 HDreuse_tagref(int32 file_id, /* IN: id of file */
353  uint16 tag, /* IN: tag of data descriptor to reuse */
354  uint16 ref /* IN: ref of data descriptor to reuse */ );
355 
356 /******************************************************************************
357  NAME
358  Hdeldd - Delete a data descriptor
359 
360  DESCRIPTION
361  Deletes a data descriptor of tag/ref from the dd list of the file.
362  This routine is unsafe and may leave a file in a condition that is
363  not usable by some routines. Use with care.
364  For example, if this element is contained in a Vgroup, that group
365  will *NOT* get updated to reflect that this element has been deleted.
366 
367  RETURNS
368  returns SUCCEED (0) if successful, FAIL (-1) otherwise
369 
370 *******************************************************************************/
371 HDFLIBAPI intn Hdeldd(int32 file_id, /* IN: File ID the tag/refs are in */
372  uint16 tag, /* IN: Tag of tag/ref to delete */
373  uint16 ref /* IN: Ref of tag/ref to delete */
374 );
375 
376 /*
377  ** from hdfalloc.c
378  */
379 
380  HDFLIBAPI void * HDmemfill
381  (void * dest, const void * src, uint32 item_size, uint32 num_items);
382 
383  HDFLIBAPI char *HIstrncpy
384  (char * dest, const char * source, int32 len);
385 
386  HDFLIBAPI int32 HDspaceleft
387  (void);
388 
389 #if defined(MALLOC_CHECK)
390  HDFPUBLIC extern void * HDmalloc
391  (uint32 qty);
392 
393  HDFPUBLIC extern void * HDrealloc
394  (void * where, uint32 qty);
395 
396  HDFPUBLIC extern void * HDcalloc
397  (uint32 n, uint32 size);
398 
399  HDFPUBLIC extern void HDfree
400  (void * ptr);
401 
402 #endif /* defined MALLOC_CHECK */
403 
404 #if defined VMS || defined macintosh || defined MAC || defined SYMANTEC_C || defined MIPSEL || defined NEXT || defined CONVEX || defined IBM6000 || defined SUN || defined IRIX
405  HDFPUBLIC extern char *HDstrdup
406  (const char *s);
407 
408 #endif
409 
410  HDFLIBAPI intn HDc2fstr
411  (char * str, intn len);
412 
413  HDFLIBAPI char *HDf2cstring
414  (_fcd fdesc, intn len);
415 
416  HDFLIBAPI intn HDflush
417  (int32 file_id);
418 
420  (char * src, char * dest, intn len);
421 
422 /*
423  ** from hblocks.c
424  */
425  HDFLIBAPI int32 HLcreate
426  (int32 file_id, uint16 tag, uint16 ref, int32 block_length,
427  int32 number_blocks);
428 
429  HDFLIBAPI intn HLconvert
430  (int32 aid, int32 block_length, int32 number_blocks);
431 
433  (int32 aid, int32 *length, int32 *first_length, int32 *block_length,
434  int32 *number_blocks);
435 
437  (int32 aid, int32 block_size, int32 num_blocks);
438 
440  (int32 aid, int32* block_size, int32* num_blocks);
441 
443  (int32 file_id, uint8 *buf, uintn start_block,
444  uintn info_count, int32 *offsetarray, int32 *lengtharray);
445 
446 
447 /*
448  ** from hextelt.c
449  */
450  HDFLIBAPI int32 HXcreate
451  (int32 file_id, uint16 tag, uint16 ref, const char * extern_file_name,
452  int32 offset, int32 start_len);
453 
455  (const char *dir);
456 
457  HDFLIBAPI intn HXsetdir
458  (const char *dir);
459 
460 /*
461  ** from hcomp.c
462  */
463  HDFLIBAPI int32 HCcreate
464  (int32 file_id, uint16 tag, uint16 ref,
465  comp_model_t model_type, model_info * m_info,
466  comp_coder_t coder_type, comp_info * c_info);
467 
469  (int32 file_id, uint16 data_tag, uint16 data_ref,
470  comp_coder_t *coder_type, comp_info * c_info);
471 
473  (int32 file_id, uint16 data_tag, uint16 data_ref,
474  comp_coder_t *coder_type, comp_info * c_info);
475 
477  (int32 file_id, uint16 data_tag, uint16 data_ref,
478  comp_coder_t *coder_type);
479 
481  (int32 file_id, uint16 data_tag, uint16 data_ref,
482  int32* comp_size, int32* orig_size);
483 
484  HDFPUBLIC intn HCget_config_info ( comp_coder_t coder_type, uint32 *compression_config_info);
485 
486  HDFLIBAPI int32 HCPquery_encode_header(comp_model_t model_type, model_info * m_info,
487  comp_coder_t coder_type, comp_info * c_info);
488 
489  HDFLIBAPI intn HCPencode_header(uint8 *p, comp_model_t model_type, model_info * m_info,
490  comp_coder_t coder_type, comp_info * c_info);
491 
492  HDFLIBAPI intn HCPdecode_header(uint8 *p, comp_model_t *model_type, model_info * m_info,
493  comp_coder_t *coder_type, comp_info * c_info);
494 
495 /*
496  ** from cszip.c
497  */
498 
499  HDFLIBAPI intn HCPsetup_szip_parms ( comp_info *c_info, int32 nt, int32 ncomp, int32 ndims, int32 *dims, int32 *cdims);
500 /*
501  ** from hbuffer.c
502  */
503  HDFLIBAPI intn HBconvert
504  (int32 aid);
505 
506 /*
507  ** from hcompri.c
508  */
509  HDFLIBAPI int32 HRPconvert
510  (int32 fid, uint16 tag, uint16 ref, int32 xdim, int32 ydim,int16 scheme, comp_info *cinfo, uintn pixel_size);
511 
512 
513 /*
514  ** from herr.c
515  */
516  HDFLIBAPI const char *HEstring
517  (hdf_err_code_t error_code);
518 
519  HDFLIBAPI void HEpush
520  (hdf_err_code_t error_code, const char * function_name,
521  const char * file_name, intn line);
522 
523  HDFLIBAPI void HEreport
524  (const char *,...);
525 
526  HDFLIBAPI void HEprint
527  (FILE * stream, int32 print_level);
528 
529  HDFLIBAPI int16 HEvalue
530  (int32 level);
531 
532  HDFLIBAPI void HEPclear
533  (void);
534 
535  HDFLIBAPI intn HEshutdown(void);
536 
537 /*
538  ** from hbitio.c
539  */
541  (int32 file_id, uint16 tag, uint16 ref);
542 
544  (int32 file_id, uint16 tag, uint16 ref, int32 length);
545 
547  (int32 bitid);
548 
549  HDFLIBAPI intn Hbitwrite
550  (int32 bitid, intn count, uint32 data);
551 
552  HDFLIBAPI intn Hbitread
553  (int32 bitid, intn count, uint32 *data);
554 
555  HDFLIBAPI intn Hbitseek
556  (int32 bitid, int32 byte_offset, intn bit_offset);
557 
558  HDFLIBAPI intn Hgetbit
559  (int32 bitid);
560 
562  (int32 bitfile_id, intn flushbit);
563 
564  HDFLIBAPI intn HPbitshutdown(void);
565 
566 /*
567  ** from dfutil.c
568  */
569  HDFLIBAPI uint16 DFfindnextref
570  (int32 file_id, uint16 tag, uint16 lref);
571 
572 /*
573  ** from dfcomp.c
574  */
575  HDFLIBAPI intn DFputcomp
576  (int32 file_id, uint16 tag, uint16 ref, const uint8 * image,
577  int32 xdim, int32 ydim, uint8 * palette, uint8 * newpal,
578  int16 scheme, comp_info * cinfo);
579 
580  HDFLIBAPI int DFgetcomp
581  (int32 file_id, uint16 tag, uint16 ref, uint8 * image,
582  int32 xdim, int32 ydim, uint16 scheme);
583 
584 /*
585  ** from dfrle.c
586  */
587  HDFLIBAPI int32 DFCIrle
588  (const void * buf, void * bufto, int32 len);
589 
590  HDFLIBAPI int32 DFCIunrle
591  (uint8 * buf, uint8 *bufto, int32 outlen, int resetsave);
592 
593 /*
594  ** from dfimcomp.c
595  */
596  HDFLIBAPI void DFCIimcomp
597  (int32 xdim, int32 ydim, const uint8 *in, uint8 out[],
598  uint8 in_pal[], uint8 out_pal[], int mode);
599 
601  (int32 xdim, int32 ydim, uint8 in[], uint8 out[]);
602 
603 /*
604  ** from dfjpeg.c
605  */
606 
607  HDFLIBAPI intn DFCIjpeg
608  (int32 file_id, uint16 tag, uint16 ref, int32 xdim, int32 ydim,
609  const void * image, int16 scheme, comp_info * scheme_info);
610 
611 /*
612  ** from dfunjpeg.c
613  */
614 
615  HDFLIBAPI intn DFCIunjpeg
616  (int32 file_id, uint16 tag, uint16 ref, void * image, int32 xdim,
617  int32 ydim, int16 scheme);
618 
619 /*
620  ** from dfgroup.c
621  */
622  HDFLIBAPI int32 DFdiread
623  (int32 file_id, uint16 tag, uint16 ref);
624 
625  HDFLIBAPI intn DFdiget
626  (int32 list, uint16 * ptag, uint16 * pref);
627 
628  HDFLIBAPI intn DFdinobj
629  (int32 list);
630 
631  HDFLIBAPI int32 DFdisetup
632  (int maxsize);
633 
634  HDFLIBAPI intn DFdiput
635  (int32 list, uint16 tag, uint16 ref);
636 
637  HDFLIBAPI intn DFdiwrite
638  (int32 file_id, int32 list, uint16 tag, uint16 ref);
639 
640  HDFLIBAPI void DFdifree
641  (int32 groupID);
642 
643 /*
644  ** from dfp.c
645  */
646  HDFLIBAPI intn DFPgetpal
647  (const char * filename, void * palette);
648 
649  HDFLIBAPI intn DFPputpal
650  (const char * filename, const void * palette, intn overwrite, const char * filemode);
651 
652  HDFLIBAPI intn DFPaddpal
653  (const char * filename, const void * palette);
654 
655  HDFLIBAPI intn DFPnpals
656  (const char * filename);
657 
658  HDFLIBAPI intn DFPreadref
659  (const char * filename, uint16 ref);
660 
662  (const char * filename, uint16 ref);
663 
664  HDFLIBAPI intn DFPrestart
665  (void);
666 
667  HDFLIBAPI uint16 DFPlastref
668  (void);
669 
670 /*
671  ** from dfr8.c
672  */
674  (int32 scheme, comp_info * cinfo);
675 
677  (const char * filename, int32 * pxdim, int32 * pydim,
678  int * pispal);
679 
681  (const char * filename, uint8 * image, int32 xdim, int32 ydim,
682  uint8 * pal);
683 
685  (uint8 * pal);
686 
688  (const char * filename, const void * image, int32 xdim, int32 ydim, uint16 compress);
689 
691  (const char * filename, const void * image, int32 xdim, int32 ydim, uint16 compress);
692 
694  (const char * filename);
695 
697  (const char * filename, uint16 ref);
698 
700  (const char * filename, uint16 ref);
701 
703  (void);
704 
705  HDFLIBAPI uint16 DFR8lastref
706  (void);
707 
708  HDFLIBAPI intn DFR8getpalref(uint16 *pal_ref);
709 
710  HDFLIBAPI intn DFR8Pshutdown(void);
711 
712 /*
713  ** from dfgr.c
714  */
716  (const char * filename, int32 * pxdim, int32 * pydim,
717  intn * pncomps, intn * pil);
718 
720  (intn il);
721 
722  HDFLIBAPI intn DFGRgetlut
723  (const char * filename, void * lut, int32 xdim, int32 ydim);
724 
726  (const char * filename, int32 * pxdim, int32 * pydim,
727  intn * pncomps, intn * pil);
728 
730  (intn il);
731 
733  (const char * filename, void * image, int32 xdim, int32 ydim);
734 
736  (int32 scheme, comp_info * cinfo);
737 
739  (int32 xdim, int32 ydim, intn ncomps, intn il);
740 
741  HDFLIBAPI intn DFGRsetlut
742  (void * lut, int32 xdim, int32 ydim);
743 
744  HDFLIBAPI intn DFGRaddlut
745  (const char * filename, void * lut, int32 xdim, int32 ydim);
746 
748  (int32 xdim, int32 ydim, intn ncomps, intn il);
749 
751  (const char * filename, void * image, int32 xdim, int32 ydim);
752 
754  (const char * filename, void * image, int32 xdim, int32 ydim);
755 
757  (const char * filename, uint16 ref);
758 
759  HDFLIBAPI uint16 DFGRIlastref
760  (void);
761 
763  (const char * filename, int32 * pxdim, int32 * pydim,
764  intn * pncomps, intn * pil, intn type);
765 
766  HDFLIBAPI intn DFGRIreqil
767  (intn il, intn type);
768 
770  (const char * filename, void * imlut, int32 xdim, int32 ydim, intn type,
771  intn isfortran, int *compressed, uint16 *compr_type, int *has_pal);
772 
774  (int32 xdim, int32 ydim, intn ncomps, intn type);
775 
776  HDFLIBAPI intn DFGRIsetil
777  (intn il, intn type);
778 
780  (void);
781 
783  (const char * filename, const void * imlut, int32 xdim, int32 ydim, intn type,
784  intn isfortran, intn newfile);
785 
786  HDFLIBAPI intn DFGRPshutdown(void);
787 
788 /*
789  ** from df24.c
790  */
792  (const char * filename, int32 * pxdim, int32 * pydim,
793  intn * pil);
794 
795  HDFLIBAPI intn DF24reqil
796  (intn il);
797 
799  (const char * filename, void * image, int32 xdim, int32 ydim);
800 
802  (int32 xdim, int32 ydim);
803 
804  HDFLIBAPI intn DF24setil
805  (intn il);
806 
808  (int32 type, comp_info * cinfo);
809 
811  (void);
812 
814  (const char * filename, const void * image, int32 xdim, int32 ydim);
815 
817  (const char * filename, const void * image, int32 xdim, int32 ydim);
818 
820  (const char * filename);
821 
823  (const char * filename, uint16 ref);
824 
825  HDFLIBAPI uint16 DF24lastref
826  (void);
827 
828 /*
829  ** from dfan.c
830  */
831 
833  (const char * filename, uint16 tag, uint16 ref);
834 
836  (const char * filename, uint16 tag, uint16 ref, char * label,
837  int32 maxlen);
838 
840  (const char * filename, uint16 tag, uint16 ref);
841 
843  (const char * filename, uint16 tag, uint16 ref, char * desc,
844  int32 maxlen);
845 
847  (int32 file_id, intn isfirst);
848 
849  HDFLIBAPI int32 DFANgetfid
850  (int32 file_id, char * id, int32 maxlen, intn isfirst);
851 
853  (int32 file_id, intn isfirst);
854 
855  HDFLIBAPI int32 DFANgetfds
856  (int32 file_id, char * desc, int32 maxlen, intn isfirst);
857 
859  (const char * filename, uint16 tag, uint16 ref, char * label);
860 
862  (const char * filename, uint16 tag, uint16 ref, char * desc,
863  int32 desclen);
864 
865  HDFLIBAPI intn DFANaddfid
866  (int32 file_id, char * id);
867 
868  HDFLIBAPI intn DFANaddfds
869  (int32 file_id, char * desc, int32 desclen);
870 
871  HDFLIBAPI uint16 DFANlastref
872  (void);
873 
875  (const char * filename, uint16 tag, uint16 reflist[],
876  char * labellist, intn listsize, intn maxlen, intn startpos);
877 
878  HDFLIBAPI intn DFANclear
879  (void);
880 
881  HDFLIBAPI intn DFANIclear
882  (void);
883 
884  HDFLIBAPI uint16 DFANIlocate
885  (int32 file_id, int type, uint16 tag, uint16 ref);
886 
888  (int type, uint16 annref, uint16 datatag, uint16 dataref);
889 
891  (const char * filename, uint16 tag, uint16 ref, int type);
892 
894  (const char * filename, uint16 tag, uint16 ref, uint8 * ann,
895  int32 maxlen, int type, int isfortran);
896 
898  (const char * filename, uint16 tag, uint16 ref, uint8 * ann,
899  int32 annlen, int type);
900 
902  (const char * filename, uint16 tag, uint16 reflist[],
903  uint8 * labellist, int listsize, int maxlen, int startpos,
904  int isfortran);
905 
907  (int32 file_id, char * ann, int32 annlen, int type);
908 
910  (int32 file_id, int type, int isfirst);
911 
912  HDFLIBAPI int32 DFANIgetfann
913  (int32 file_id, char * ann, int32 maxlen, int type, int isfirst);
914 
915  HDFLIBAPI intn DFANPshutdown(void);
916 
917 /*
918  ** from dfsd.c
919  */
920 
922  (const char * filename, intn * prank, int32 sizes[], intn maxrank);
923 
925  (char * label, char * unit, char * format, char * coordsys);
926 
928  (int dim, char * label, char * unit, char * format);
929 
931  (int * llabel, int * lunit, int * lformat, int * lcoordsys);
932 
934  (int dim, int * llabel, int * lunit, int * lformat);
935 
937  (intn dim, int32 maxsize, void * scale);
938 
940  (void * pmax, void * pmin);
941 
943  (const char * filename, intn rank, int32 maxsizes[], void * data);
944 
946  (int maxlen_label, int maxlen_unit, int maxlen_format,
947  int maxlen_coordsys);
948 
950  (intn rank, int32 dimsizes[]);
951 
953  (const char * label, const char * unit, const char * format, const char * coordsys);
954 
956  (int dim, const char * label, const char * unit, const char * format);
957 
959  (intn dim, int32 dimsize, void * scale);
960 
962  (void * maxi, void * mini);
963 
965  (const char * filename, intn rank, int32 dimsizes[], void * data);
966 
968  (const char * filename, intn rank, int32 dimsizes[], void * data);
969 
971  (void);
972 
974  (char * filename);
975 
976  HDFLIBAPI int DFSDclear
977  (void);
978 
979  HDFLIBAPI uint16 DFSDlastref
980  (void);
981 
983  (char * filename, uint16 ref);
984 
986  (const char * filename, int32 winst[], int32 windims[], void * data,
987  int32 dims[]);
988 
990  (const char * filename);
991 
993  (int32 winend[], void * data, int32 dims[]);
994 
996  (void);
997 
998  HDFLIBAPI int DFSDsetNT
999  (int32 numbertype);
1000 
1002  (int arrayorder);
1003 
1004  HDFLIBAPI int DFSDgetNT
1005  (int32 * pnumbertype);
1006 
1007  HDFLIBAPI intn DFSDpre32sdg
1008  (char * filename, uint16 ref, intn * ispre32);
1009 
1010  HDFLIBAPI int DFSDsetcal
1011  (float64 cal, float64 cal_err, float64 ioff,
1012  float64 ioff_err, int32 cal_nt);
1013 
1014  HDFLIBAPI int DFSDgetcal
1015  (float64 * pcal, float64 * pcal_err, float64 * pioff,
1016  float64 * pioff_err, int32 * cal_nt);
1017 
1019  (const char * filename, uint16 ref);
1020 
1022  (void * fill_value);
1023 
1025  (void * fill_value);
1026 
1028  (const char * filename);
1029 
1031  (int32 start[], int32 stride[], int32 count[],
1032  void * data);
1033 
1035  (void);
1036 
1038  (const char *filename, int32 start[], int32 slab_size[],
1039  int32 stride[], void * buffer, int32 buffer_size[]);
1040 
1041  HDFLIBAPI intn DFSDPshutdown(void);
1042 
1043 /*
1044  ** from dfconv.c
1045  */
1046 
1047  HDFLIBAPI int DFKNTsize
1048  (int32 number_type);
1049 
1050  HDFLIBAPI int32 DFKisnativeNT
1051  (int32 numbertype);
1052 
1053  HDFLIBAPI int32 DFKislitendNT
1054  (int32 numbertype);
1055 
1056  HDFLIBAPI int8 DFKgetPNSC
1057  (int32 numbertype, int32 machinetype);
1058 
1059  HDFLIBAPI intn DFKsetNT
1060  (int32 ntype);
1061 
1062  HDFLIBAPI int32 DFKconvert
1063  (void * source, void * dest, int32 ntype, int32 num_elm,
1064  int16 acc_mode, int32 source_stride, int32 dest_stride);
1065 
1066 /*
1067  ** from dfknat.c
1068  */
1069 
1070  HDFLIBAPI intn DFKnb1b
1071  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1072 
1073  HDFLIBAPI intn DFKnb2b
1074  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1075 
1076  HDFLIBAPI intn DFKnb4b
1077  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1078 
1079  HDFLIBAPI intn DFKnb8b
1080  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1081 
1082 /*
1083  ** from dfkswap.c
1084  */
1085 
1086  HDFLIBAPI intn DFKsb2b
1087  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1088 
1089  HDFLIBAPI intn DFKsb4b
1090  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1091 
1092  HDFLIBAPI intn DFKsb8b
1093  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1094 
1095 /*
1096  ** from dfkcray.c
1097  */
1098 
1099  HDFLIBAPI intn DFKui2i
1100  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1101 
1102  HDFLIBAPI intn DFKui2s
1103  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1104 
1105  HDFLIBAPI intn DFKuo2i
1106  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1107 
1108  HDFLIBAPI intn DFKuo2s
1109  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1110 
1111  HDFLIBAPI intn DFKui4i
1112  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1113 
1114  HDFLIBAPI intn DFKui4s
1115  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1116 
1117  HDFLIBAPI intn DFKuo4i
1118  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1119 
1120  HDFLIBAPI intn DFKuo4s
1121  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1122 
1123  HDFLIBAPI intn DFKui4f
1124  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1125 
1126  HDFLIBAPI intn DFKuo4f
1127  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1128 
1129  HDFLIBAPI intn DFKui8f
1130  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1131 
1132  HDFLIBAPI intn DFKuo8f
1133  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1134 
1135  HDFLIBAPI intn DFKlui2i
1136  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1137 
1138  HDFLIBAPI intn DFKlui2s
1139  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1140 
1141  HDFLIBAPI intn DFKluo2i
1142  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1143 
1144  HDFLIBAPI intn DFKluo2s
1145  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1146 
1147  HDFLIBAPI intn DFKlui4i
1148  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1149 
1150  HDFLIBAPI intn DFKlui4s
1151  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1152 
1153  HDFLIBAPI intn DFKluo4i
1154  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1155 
1156  HDFLIBAPI intn DFKluo4s
1157  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1158 
1159  HDFLIBAPI intn DFKlui4f
1160  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1161 
1162  HDFLIBAPI intn DFKluo4f
1163  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1164 
1165  HDFLIBAPI intn DFKlui8f
1166  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1167 
1168  HDFLIBAPI intn DFKluo8f
1169  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1170 
1171 /* CRAY-MPP */
1172  HDFLIBAPI intn DFKmi2i
1173  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1174 
1175  HDFLIBAPI intn DFKmi2s
1176  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1177 
1178  HDFLIBAPI intn DFKmo2b
1179  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1180 
1181  HDFLIBAPI intn DFKlmi2i
1182  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1183 
1184  HDFLIBAPI intn DFKlmi2s
1185  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1186 
1187  HDFLIBAPI intn DFKlmo2b
1188  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1189 
1190 
1191 /*
1192  ** from dfkvms.c
1193  */
1194 
1195  HDFLIBAPI intn DFKvi4f
1196  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1197 
1198  HDFLIBAPI intn DFKvo4f
1199  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1200 
1201  HDFLIBAPI intn DFKvi8f
1202  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1203 
1204  HDFLIBAPI intn DFKvo8f
1205  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1206 
1207  HDFLIBAPI intn DFKlvi4f
1208  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1209 
1210  HDFLIBAPI intn DFKlvo4f
1211  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1212 
1213  HDFLIBAPI intn DFKlvi8f
1214  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1215 
1216  HDFLIBAPI intn DFKlvo8f
1217  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1218 
1219 /*
1220  ** from dfkconv.c
1221  */
1222 
1223  HDFLIBAPI intn DFKci4f
1224  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1225 
1226  HDFLIBAPI intn DFKco4f
1227  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1228 
1229  HDFLIBAPI intn DFKci8f
1230  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1231 
1232  HDFLIBAPI intn DFKco8f
1233  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1234 
1235  HDFLIBAPI intn DFKlci4f
1236  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1237 
1238  HDFLIBAPI intn DFKlco4f
1239  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1240 
1241  HDFLIBAPI intn DFKlci8f
1242  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1243 
1244  HDFLIBAPI intn DFKlco8f
1245  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1246 
1247 /*
1248  ** from dfkfuji.c
1249  */
1250 
1251  HDFLIBAPI intn DFKpi4f
1252  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1253 
1254  HDFLIBAPI intn DFKpo4f
1255  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1256 
1257  HDFLIBAPI intn DFKpi8f
1258  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1259 
1260  HDFLIBAPI intn DFKpo8f
1261  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1262 
1263  HDFLIBAPI intn DFKlpi4f
1264  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1265 
1266  HDFLIBAPI intn DFKlpo4f
1267  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1268 
1269  HDFLIBAPI intn DFKlpi8f
1270  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1271 
1272  HDFLIBAPI intn DFKlpo8f
1273  (void * s, void * d, uint32 num_elm, uint32 source_stride, uint32 dest_stride);
1274 
1275 
1276 /* Multi-file Annotation C-routines found in mfan.c */
1277 HDFLIBAPI int32 ANstart(int32 file_id);
1278 
1279 HDFLIBAPI intn ANfileinfo(int32 an_id, int32 *n_file_label, int32 *n_file_desc,
1280  int32 *n_obj_label, int32 *n_obj_desc);
1281 
1282 HDFLIBAPI int32 ANend(int32 an_id);
1283 
1284 HDFLIBAPI int32 ANcreate(int32 an_id, uint16 elem_tag, uint16 elem_ref,
1285  ann_type type);
1286 
1287 HDFLIBAPI int32 ANcreatef(int32 an_id, ann_type type);
1288 
1289 HDFLIBAPI int32 ANselect(int32 an_id, int32 idx, ann_type type);
1290 
1291 HDFLIBAPI intn ANnumann(int32 an_id, ann_type type, uint16 elem_tag,
1292  uint16 elem_ref);
1293 
1294 HDFLIBAPI intn ANannlist(int32 an_id, ann_type type, uint16 elem_tag,
1295  uint16 elem_ref, int32 ann_list[]);
1296 
1297 HDFLIBAPI int32 ANannlen(int32 ann_id);
1298 
1299 HDFLIBAPI int32 ANwriteann(int32 ann_id, const char *ann, int32 annlen);
1300 
1301 HDFLIBAPI int32 ANreadann(int32 ann_id, char *ann, int32 maxlen);
1302 
1303 HDFLIBAPI intn ANendaccess(int32 ann_id);
1304 
1305 HDFLIBAPI int32 ANget_tagref(int32 an_id, int32 idx, ann_type type,
1306  uint16 *ann_tag, uint16 *ann_ref);
1307 
1308 HDFLIBAPI int32 ANid2tagref(int32 an_id, uint16 *ann_tag, uint16 *ann_ref);
1309 
1310 HDFLIBAPI int32 ANtagref2id(int32 an_id, uint16 ann_tag, uint16 ann_ref);
1311 
1313 
1314 HDFLIBAPI ann_type ANtag2atype(uint16 atag);
1315 
1316 /* BMR: Removed because this function is meant to be private.
1317 HDFLIBAPI intn ANdestroy(void); */
1318 
1319 /* Multi-file Raster C-routines found in mfgr.c */
1320 HDFLIBAPI intn rigcompare(void * k1, void * k2, intn cmparg);
1321 
1322 HDFLIBAPI int32 GRstart(int32 hdf_file_id);
1323 
1324 HDFLIBAPI intn GRfileinfo(int32 grid,int32 *n_datasets,int32 *n_attrs);
1325 
1326 HDFLIBAPI intn GRend(int32 grid);
1327 
1328 HDFLIBAPI int32 GRcreate(int32 grid,const char *name,int32 ncomp,int32 nt,int32 il,
1329  int32 dimsizes[2]);
1330 
1331 HDFLIBAPI int32 GRselect(int32 grid,int32 idx);
1332 
1333 HDFLIBAPI int32 GRnametoindex(int32 grid,const char *name);
1334 
1335 HDFLIBAPI intn GRgetiminfo(int32 riid,char *name,int32 *ncomp,int32 *nt,int32 *il,
1336  int32 dimsizes[2],int32 *n_attr);
1337 
1338 HDFLIBAPI intn GRgetnluts(int32 riid);
1339 
1340 HDFLIBAPI intn GRwriteimage(int32 riid,int32 start[2],int32 stride[2],
1341  int32 count[2],void * data);
1342 
1343 HDFLIBAPI intn GRreadimage(int32 riid,int32 start[2],int32 stride[2],
1344  int32 count[2],void * data);
1345 
1346 HDFLIBAPI intn GRendaccess(int32 riid);
1347 
1348 HDFLIBAPI uint16 GRidtoref(int32 riid);
1349 
1350 HDFLIBAPI int32 GRreftoindex(int32 grid,uint16 ref);
1351 
1352 HDFLIBAPI intn GRreqlutil(int32 riid,intn il);
1353 
1354 HDFLIBAPI intn GRreqimageil(int32 riid,intn il);
1355 
1356 HDFLIBAPI int32 GRgetlutid(int32 riid,int32 idx);
1357 
1358 HDFLIBAPI uint16 GRluttoref(int32 lutid);
1359 
1360 HDFLIBAPI intn GRgetlutinfo(int32 riid,int32 *ncomp,int32 *nt,
1361  int32 *il,int32 *nentries);
1362 
1363 HDFLIBAPI intn GRwritelut(int32 riid,int32 ncomps,int32 nt,
1364  int32 il,int32 nentries,void * data);
1365 
1366 HDFLIBAPI intn GRreadlut(int32 lutid,void * data);
1367 
1368 HDFLIBAPI intn GRsetexternalfile(int32 riid,const char *filename,int32 offset);
1369 
1370 HDFLIBAPI intn GRsetaccesstype(int32 riid,uintn accesstype);
1371 
1372 HDFLIBAPI intn GRsetcompress(int32 riid,comp_coder_t comp_type,comp_info *cinfo);
1373 
1374 HDFLIBAPI intn GRgetcompress(int32 riid,comp_coder_t* comp_type,comp_info *cinfo);
1375 
1376 HDFLIBAPI intn GRgetcompinfo(int32 riid,comp_coder_t* comp_type,comp_info *cinfo);
1377 
1378 HDFLIBAPI intn GRsetattr(int32 id,const char *name,int32 attr_nt,int32 count,const void * data);
1379 
1380 HDFLIBAPI intn GRattrinfo(int32 id,int32 idx,char *name,int32 *attr_nt,int32 *count);
1381 
1382 HDFLIBAPI intn GRgetattr(int32 id,int32 idx,void * data);
1383 
1384 HDFLIBAPI int32 GRfindattr(int32 id,const char *name);
1385 
1386 HDFLIBAPI intn GRPshutdown(void);
1387 
1388 /* This function was added for hmap project only. Feb-25-2011 */
1389 HDFLIBAPI intn GR2bmapped(int32 riid, intn *tobe_mapped, intn *created_byGR);
1390 
1391 /*=== HDF_CHUNK_DEF same as in mfhdf.h - moved here ====*/
1392 
1393 /* Bit flags used for SDsetchunk(), SDgetchunkinfo()
1394  GRsetchunk() and GRgetchunkinfo(). Note that GRs do not support NBIT */
1395 #define HDF_NONE 0x0
1396 #define HDF_CHUNK 0x1
1397 #define HDF_COMP 0x3
1398 #define HDF_NBIT 0x5
1399 
1400 /* Cache flags */
1401 #define HDF_CACHEALL 0x1
1402 
1403 /* Chunk Defintion, Note that GRs need only 2 dimensions for the chunk_lengths */
1404 typedef union hdf_chunk_def_u
1405 {
1406  /* Chunk Lengths only */
1407  int32 chunk_lengths[H4_MAX_VAR_DIMS]; /* chunk lengths along each dimension */
1408 
1409  struct
1410  { /* For Compression info */
1411  int32 chunk_lengths[H4_MAX_VAR_DIMS]; /* chunk lengths along each dimension */
1412  int32 comp_type; /* Compression type */
1413  int32 model_type; /* Compression model type */
1414  comp_info cinfo; /* Compression info struct */
1415  model_info minfo; /* Compression model info struct */
1416  }comp;
1417 
1418  struct
1419  { /* For NBIT, Used by SDS and not by GR */
1420  int32 chunk_lengths[H4_MAX_VAR_DIMS]; /* chunk lengths along each dimension */
1421  intn start_bit; /* offset of the start bit in the data */
1422  intn bit_len; /* number of bits to store */
1423  intn sign_ext; /* whether to sign extend or not */
1424  intn fill_one; /* whether to fill with 1's or not (0's) */
1425  } nbit;
1426 
1427 } HDF_CHUNK_DEF;
1428 
1429 /*=== GR Chunking Routines ====*/
1430 
1431 /******************************************************************************
1432  NAME
1433  GRsetchunk -- make GR a chunked GR
1434 
1435  DESCRIPTION
1436  This routine makes the GR a chunked GR according to the chunk
1437  definition passed in.
1438 
1439  The image currently cannot be special already. i.e. NBIT,
1440  COMPRESSED, or EXTERNAL. This is an Error.
1441 
1442  The defintion of the HDF_CHUNK_DEF union with relvant fields is:
1443 
1444  typedef union hdf_chunk_def_u
1445  {
1446  int32 chunk_lengths[2]; Chunk lengths along each dimension
1447 
1448  struct
1449  {
1450  int32 chunk_lengths[2]; Chunk lengths along each dimension
1451  int32 comp_type; Compression type
1452  comp_info cinfo; Compression info struct
1453  }comp;
1454 
1455  } HDF_CHUNK_DEF
1456 
1457  The simplist is the 'chunk_lengths' array specifiying chunk
1458  lengths for each dimension where the 'flags' argument set to
1459  'HDF_CHUNK';
1460 
1461  COMPRESSION is set by using the 'HDF_CHUNK_DEF' structure to set the
1462  appropriate compression information along with the required chunk lengths
1463  for each dimension. The compression information is the same as
1464  that set in 'SDsetcompress()'. The bit-or'd'flags' argument' is set to
1465  'HDF_CHUNK | HDF_COMP'.
1466 
1467  See the example in pseudo-C below for further usage.
1468 
1469  The maximum number of Chunks in an HDF file is 65,535.
1470 
1471  The performance of the GRxxx interface with chunking is greatly
1472  affected by the users access pattern over the image and by
1473  the maximum number of chunks set in the chunk cache. The cache contains
1474  the Least Recently Used(LRU cache replacment policy) chunks. See the
1475  routine GRsetchunkcache() for further info on the chunk cache and how
1476  to set the maximum number of chunks in the chunk cache. A default chunk
1477  cache is always created.
1478 
1479  The following example shows the organization of chunks for a 2D iamge.
1480  e.g. 4x4 image with 2x2 chunks. The array shows the layout of
1481  chunks in the chunk array.
1482 
1483  4 ---------------------
1484  | | |
1485  Y | (0,1) | (1,1) |
1486  ^ | | |
1487  | 2 ---------------------
1488  | | | |
1489  | | (0,0) | (1,0) |
1490  | | | |
1491  | ---------------------
1492  | 0 2 4
1493  ---------------> X
1494 
1495  --Without compression--:
1496  {
1497  HDF_CHUNK_DEF chunk_def;
1498 
1499  .......
1500  -- Set chunk lengths --
1501  chunk_def.chunk_lengths[0]= 2;
1502  chunk_def.chunk_lengths[1]= 2;
1503 
1504  -- Set Chunking --
1505  GRsetchunk(riid, chunk_def, HDF_CHUNK);
1506  ......
1507  }
1508 
1509  --With compression--:
1510  {
1511  HDF_CHUNK_DEF chunk_def;
1512 
1513  .......
1514  -- Set chunk lengths first --
1515  chunk_def.chunk_lengths[0]= 2;
1516  chunk_def.chunk_lengths[1]= 2;
1517 
1518  -- Set compression --
1519  chunk_def.comp.cinfo.deflate.level = 9;
1520  chunk_def.comp.comp_type = COMP_CODE_DEFLATE;
1521 
1522  -- Set Chunking with Compression --
1523  GRsetchunk(riid, chunk_def, HDF_CHUNK | HDF_COMP);
1524  ......
1525  }
1526 
1527  RETURNS
1528  SUCCEED/FAIL
1529 ******************************************************************************/
1530 HDFLIBAPI intn GRsetchunk
1531  (int32 riid, /* IN: raster access id */
1532  HDF_CHUNK_DEF chunk_def, /* IN: chunk definition */
1533  int32 flags /* IN: flags */);
1534 
1535 /******************************************************************************
1536  NAME
1537  GRgetchunkinfo -- get Info on GR
1538 
1539  DESCRIPTION
1540  This routine gets any special information on the GR. If its chunked,
1541  chunked and compressed or just a regular GR. Currently it will only
1542  fill the array of chunk lengths for each dimension as specified in
1543  the 'HDF_CHUNK_DEF' union. You can pass in a NULL for 'chunk_def'
1544  if don't want the chunk lengths for each dimension.
1545  Additionaly if successfull it will return a bit-or'd value in 'flags'
1546  indicating if the GR is:
1547 
1548  Chunked -> flags = HDF_CHUNK
1549  Chunked and compressed -> flags = HDF_CHUNK | HDF_COMP
1550  Non-chunked -> flags = HDF_NONE
1551 
1552  e.g. 4x4 array - Pseudo-C
1553  {
1554  int32 rcdims[3];
1555  HDF_CHUNK_DEF rchunk_def;
1556  int32 cflags;
1557  ...
1558  rchunk_def.chunk_lengths = rcdims;
1559  GRgetchunkinfo(riid, &rchunk_def, &cflags);
1560  ...
1561  }
1562 
1563  RETURNS
1564  SUCCEED/FAIL
1565 ******************************************************************************/
1567  (int32 riid, /* IN: Raster access id */
1568  HDF_CHUNK_DEF *chunk_def, /* IN/OUT: chunk definition */
1569  int32 *flags /* IN/OUT: flags */);
1570 
1571 
1572 /******************************************************************************
1573  NAME
1574  GRwritechunk -- write the specified chunk to the GR
1575 
1576  DESCRIPTION
1577  This routine writes a whole chunk of data to the chunked GR
1578  specified by chunk 'origin' for the given GR and can be used
1579  instead of GRwriteimage() when this information is known. This
1580  routine has less overhead and is much faster than using GRwriteimage().
1581 
1582  Origin specifies the co-ordinates of the chunk according to the chunk
1583  position in the overall chunk array.
1584 
1585  'datap' must point to a whole chunk of data.
1586 
1587  See GRsetchunk() for a description of the organization of chunks in an GR.
1588 
1589  RETURNS
1590  SUCCEED/FAIL
1591 ******************************************************************************/
1593  (int32 riid, /* IN: raster access id */
1594  int32 *origin, /* IN: origin of chunk to write */
1595  const void *datap /* IN: buffer for data */);
1596 
1597 /******************************************************************************
1598  NAME
1599  GRreadchunk -- read the specified chunk to the GR
1600 
1601  DESCRIPTION
1602  This routine reads a whole chunk of data from the chunked GR
1603  specified by chunk 'origin' for the given GR and can be used
1604  instead of GRreadimage() when this information is known. This
1605  routine has less overhead and is much faster than using GRreadimage().
1606 
1607  Origin specifies the co-ordinates of the chunk according to the chunk
1608  position in the overall chunk array.
1609 
1610  'datap' must point to a whole chunk of data.
1611 
1612  See GRsetchunk() for a description of the organization of chunks in an GR.
1613 
1614  RETURNS
1615  SUCCEED/FAIL
1616 ******************************************************************************/
1618  (int32 riid, /* IN: raster access id */
1619  int32 *origin, /* IN: origin of chunk to read */
1620  void *datap /* IN/OUT: buffer for data */);
1621 
1622 
1623 /******************************************************************************
1624 NAME
1625  GRsetchunkcache -- maximum number of chunks to cache
1626 
1627 DESCRIPTION
1628  Set the maximum number of chunks to cache.
1629 
1630  The cache contains the Least Recently Used(LRU cache replacment policy)
1631  chunks. This routine allows the setting of maximum number of chunks that
1632  can be cached, 'maxcache'.
1633 
1634  The performance of the GRxxx interface with chunking is greatly
1635  affected by the users access pattern over the image and by
1636  the maximum number of chunks set in the chunk cache. The number chunks
1637  that can be set in the cache is process memory limited. It is a good
1638  idea to always set the maximum number of chunks in the cache as the
1639  default heuristic does not take into account the memory available for
1640  the application.
1641 
1642  By default when the GR is promoted to a chunked element the
1643  maximum number of chunks in the cache 'maxcache' is set to the number of
1644  chunks along the last dimension.
1645 
1646  The values set here affects the current object's caching behaviour.
1647 
1648  If the chunk cache is full and 'maxcache' is greater then the
1649  current 'maxcache' value, then the chunk cache is reset to the new
1650  'maxcache' value, else the chunk cache remains at the current
1651  'maxcache' value.
1652 
1653  If the chunk cache is not full, then the chunk cache is set to the
1654  new 'maxcache' value only if the new 'maxcache' value is greater than the
1655  current number of chunks in the cache.
1656 
1657  Use flags argument of 'HDF_CACHEALL' if the whole object is to be cached
1658  in memory, otherwise pass in zero(0). Currently you can only
1659  pass in zero.
1660 
1661  See GRsetchunk() for a description of the organization of chunks in an GR.
1662 
1663 RETURNS
1664  Returns the 'maxcache' value for the chunk cache if successful
1665  and FAIL otherwise
1666 ******************************************************************************/
1668  (int32 riid, /* IN: raster access id */
1669  int32 maxcache, /* IN: max number of chunks to cache */
1670  int32 flags /* IN: flags = 0, HDF_CACHEALL */);
1671 
1672 
1673 #ifdef HAVE_FMPOOL
1674 /******************************************************************************
1675 NAME
1676  Hmpset - set pagesize and maximum number of pages to cache on next open/create
1677 
1678 DESCRIPTION
1679  Set the pagesize and maximum number of pages to cache on the next
1680  open/create of a file. A pagesize that is a power of 2 is recommended.
1681 
1682  The values set here only affect the next open/creation of a file and
1683  do not change a particular file's paging behaviour after it has been
1684  opened or created. This maybe changed in a later release.
1685 
1686  Use flags arguement of 'MP_PAGEALL' if the whole file is to be cached
1687  in memory otherwise passs in zero.
1688 
1689 RETURNS
1690  Returns SUCCEED if successful and FAIL otherwise
1691 
1692 NOTE
1693  This calls the real routine MPset().
1694  Currently 'maxcache' has to be greater than 1. Maybe use special
1695  case of 0 to specify you want to turn page buffering off or use
1696  the flags arguement.
1697 
1698 ******************************************************************************/
1699 HDFLIBAPI int Hmpset(int pagesize, /* IN: pagesize to use for next open/create */
1700  int maxcache, /* IN: max number of pages to cache */
1701  int flags /* IN: flags = 0, MP_PAGEALL */);
1702 
1703 /******************************************************************************
1704 NAME
1705  Hmpget - get last pagesize and max number of pages cached for open/create
1706 
1707 DESCRIPTION
1708  This gets the last pagesize and maximum number of pages cached for
1709  the last open/create of a file.
1710 
1711 RETURNS
1712  Returns SUCCEED.
1713 
1714 NOTES
1715  This routine calls the real routine MPget().
1716 ******************************************************************************/
1717 HDFLIBAPI int Hmpget(int *pagesize, /*OUT: pagesize to used in last open/create */
1718  int *maxcache, /*OUT: max number of pages cached in last open/create */
1719  int flags /* IN: */);
1720 
1721 #endif /* HAVE_FMPOOL */
1722 
1723 /* Vset interface functions (used to be in vproto.h) */
1724 
1725 /* Useful macros, which someday might become actuall functions */
1726 /*
1727  * macros for VSinquire
1728  * all these macros should be public for users
1729  */
1730 #define VSQuerycount(vs, count) \
1731  (VSinquire (vs, (int32 *) count, (int32*) NULL, (char*) NULL, (int32*) NULL, (char*) NULL))
1732 
1733 #define VSQueryinterlace(vs, intr) \
1734  (VSinquire (vs, (int32 *) NULL, (int32*) intr, (char*) NULL, (int32*) NULL, (char*) NULL))
1735 
1736 #define VSQueryfields(vs, flds) \
1737  (VSinquire (vs, (int32 *) NULL, (int32*) NULL, (char*) flds, (int32*) NULL, (char*) NULL))
1738 
1739 #define VSQueryvsize(vs, size) \
1740  (VSinquire (vs, (int32 *) NULL, (int32*) NULL, (char*) NULL, (int32*) size, (char*) NULL))
1741 
1742 #define VSQueryname(vs, name) \
1743  (VSinquire (vs, (int32 *) NULL, (int32*) NULL, (char*) NULL, (int32*) NULL, (char*) name))
1744 
1745 /*
1746  ** from vattr.c
1747  */
1748  HDFLIBAPI intn Vsetattr
1749  (int32 vgid, const char *attrname, int32 datatype,
1750  int32 count, const void * values);
1751  HDFLIBAPI intn Vnattrs
1752  (int32 vgid);
1753  HDFLIBAPI intn Vnattrs2
1754  (int32 vgid);
1755  HDFLIBAPI intn Vnoldattrs
1756  (int32 vgid);
1757  HDFLIBAPI intn Vfindattr
1758  (int32 vgid, const char *attrname);
1759  HDFLIBAPI intn Vattrinfo
1760  (int32 vgid, intn attrindex, char *name,
1761  int32 *datatype, int32 *count, int32 *size);
1762  HDFLIBAPI intn Vattrinfo2 /* copy of Vattrinfo for old attributes */
1763  (int32 vgid, intn attrindex, char *name, int32 *datatype,
1764  int32 *count, int32 *size, int32 *nfields, uint16 *refnum);
1765  HDFLIBAPI intn Vgetattr
1766  (int32 vgid, intn attrindex, void * values);
1767  HDFLIBAPI intn Vgetattr2 /* copy of Vgetattr for old attributes */
1768  (int32 vgid, intn attrindex, void * values);
1769  HDFLIBAPI int32 Vgetversion
1770  (int32 vgid);
1771  HDFLIBAPI intn VSfindex
1772  (int32 vsid, const char *fieldname, int32 *fldindex);
1773  HDFLIBAPI intn VSsetattr
1774  (int32 vsid, int32 findex, const char *attrname,
1775  int32 datatype, int32 count, const void * values);
1776  HDFLIBAPI intn VSnattrs
1777  (int32 vsid);
1778  HDFLIBAPI intn VSfnattrs
1779  (int32 vsid, int32 findex);
1780  HDFLIBAPI intn VSfindattr
1781  (int32 vsid, int32 findex, const char *attrname);
1782  HDFLIBAPI intn VSattrinfo
1783  (int32 vsid, int32 findex, intn attrindex,
1784  char *name, int32 *datatype, int32 *count,
1785  int32 *size);
1786  HDFLIBAPI intn VSgetattr
1787  (int32 vsid, int32 findex, intn attrindex,
1788  void * values);
1789  HDFLIBAPI intn VSisattr
1790  (int32 vsid);
1791 /*
1792  ** from vconv.c
1793  */
1794  HDFLIBAPI int32 vicheckcompat
1795  (HFILEID f);
1796 
1797  HDFLIBAPI int32 vimakecompat
1798  (HFILEID f);
1799 
1800  HDFLIBAPI int32 vcheckcompat
1801  (char * fs);
1802 
1803  HDFLIBAPI int32 vmakecompat
1804  (char * fs);
1805 
1806 /*
1807  ** from vg.c
1808  */
1809  HDFLIBAPI int32 VSelts
1810  (int32 vkey);
1811 
1813  (int32 vkey);
1814 
1816  (int32 vkey, int32 interlace);
1817 
1818  HDFLIBAPI int32 VSgetfields
1819  (int32 vkey, char * fields);
1820 
1821  HDFLIBAPI intn VSfexist
1822  (int32 vkey, char * fields);
1823 
1824  HDFLIBAPI int32 VSsizeof
1825  (int32 vkey, char * fields);
1826 
1827  HDFLIBAPI void VSdump
1828  (int32 vkey);
1829 
1830  HDFLIBAPI int32 VSsetname
1831  (int32 vkey, const char * vsname);
1832 
1833  HDFLIBAPI int32 VSsetclass
1834  (int32 vkey, const char * vsclass);
1835 
1836  HDFLIBAPI int32 VSgetname
1837  (int32 vkey, char * vsname);
1838 
1839  HDFLIBAPI int32 VSgetclass
1840  (int32 vkey, char * vsclass);
1841 
1842  HDFLIBAPI intn VSinquire
1843  (int32 vkey, int32 * nelt, int32 * interlace,
1844  char * fields, int32 * eltsize, char * vsname);
1845 
1846  HDFLIBAPI intn VSisinternal
1847  (const char *vsclass);
1848 
1849  HDFLIBAPI int32 VSlone
1850  (HFILEID f, int32 * idarray, int32 asize);
1851 
1852  HDFLIBAPI int32 Vlone
1853  (HFILEID f, int32 * idarray, int32 asize);
1854 
1855  HDFLIBAPI int32 Vfind
1856  (HFILEID f, const char * vgname);
1857 
1858  HDFLIBAPI int32 VSfind
1859  (HFILEID f, const char * vsname);
1860 
1861  HDFLIBAPI int32 Vfindclass
1862  (HFILEID f, const char * vgclass);
1863 
1864  HDFLIBAPI int32 VSfindclass
1865  (HFILEID f, const char * vsclass);
1866 
1867  HDFLIBAPI intn VSofclass
1868  (int32 id, const char *vsclass, uintn start_vd,
1869  uintn array_size, uint16 *refarray);
1870 
1871  HDFLIBAPI intn VSgetvdatas
1872  (int32 id, uintn start_vd, uintn array_size, uint16 *refarray);
1873 
1875  (int32 vkey, int32 block_size);
1876 
1878  (int32 vkey, int32 num_blocks);
1879 
1881  (int32 vkey, int32* block_size, int32* num_blocks);
1882 
1883  HDFLIBAPI void Vsetzap
1884  (void);
1885 
1886 /*
1887  ** from vgp.c
1888  */
1889  HDFLIBAPI intn vcompare
1890  (void * k1, void * k2, intn cmparg);
1891 
1892  HDFLIBAPI intn vcompareref
1893  (void * k1, void * k2, intn cmparg);
1894 
1895  HDFLIBAPI void vdestroynode
1896  (void * n);
1897 
1898  HDFLIBAPI void vtfreekey
1899  (void * k);
1900 
1901  HDFLIBAPI intn Vinitialize
1902  (HFILEID f);
1903 
1904  HDFLIBAPI intn Vfinish
1905  (HFILEID f);
1906 
1908  (char *path, intn acc_mode, int16 ndds);
1909 
1910  HDFLIBAPI intn Vclose
1911  (HFILEID f);
1912 
1913  HDFLIBAPI int32 vexistvg
1914  (HFILEID f, uint16 vgid);
1915 
1916  HDFLIBAPI int32 Vattach
1917  (HFILEID f, int32 vgid, const char * accesstype);
1918 
1919  HDFLIBAPI int32 Vdetach
1920  (int32 vkey);
1921 
1922  HDFLIBAPI int32 Vinsert
1923  (int32 vkey, int32 vskey);
1924  /* note: 2nd arg of Vinsert can also be (VGROUP *) */
1925 
1926  HDFLIBAPI int32 Vflocate
1927  (int32 vkey, char * field);
1928 
1929  HDFLIBAPI intn Vinqtagref
1930  (int32 vkey, int32 tag, int32 ref);
1931 
1932  HDFLIBAPI int32 Vntagrefs
1933  (int32 vkey);
1934 
1935  HDFLIBAPI int32 Vnrefs
1936  (int32 vkey,int32 tag);
1937 
1938  HDFLIBAPI int32 Vgettagrefs
1939  (int32 vkey, int32 tagarray[], int32 refarray[], int32 n);
1940 
1941  HDFLIBAPI int32 Vgetuservgs
1942  (int32 id, int32 start_ref, int32 n_vgs, int32 *refarray);
1943 
1944  HDFLIBAPI intn Vgettagref
1945  (int32 vkey, int32 which, int32 * tag, int32 * ref);
1946 
1947  HDFLIBAPI int32 VQueryref
1948  (int32 vkey);
1949 
1950  HDFLIBAPI int32 VQuerytag
1951  (int32 vkey);
1952 
1953  HDFLIBAPI int32 Vaddtagref
1954  (int32 vkey, int32 tag, int32 ref);
1955 
1956  HDFLIBAPI int32 Ventries
1957  (HFILEID f, int32 vgid);
1958 
1959  HDFLIBAPI int32 Vsetname
1960  (int32 vkey, const char * vgname);
1961 
1962  HDFLIBAPI int32 Vsetclass
1963  (int32 vkey, const char * vgclass);
1964 
1965  HDFLIBAPI intn Visvg
1966  (int32 vkey, int32 id);
1967 
1968  HDFLIBAPI intn Visvs
1969  (int32 vkey, int32 id);
1970 
1971  HDFLIBAPI int32 Vgetid
1972  (HFILEID f, int32 vgid);
1973 
1974  HDFLIBAPI int32 Vgetnext
1975  (int32 vkey, int32 id);
1976 
1977  HDFLIBAPI int32 Vgetname
1978  (int32 vkey, char * vgname);
1979 
1980  HDFLIBAPI int32 Vgetnamelen
1981  (int32 vkey, uint16 * name_len);
1982 
1984  (int32 vkey, uint16 * classname_len);
1985 
1986  HDFLIBAPI int32 Vgetclass
1987  (int32 vkey, char * vgclass);
1988 
1989  HDFLIBAPI intn Vinquire
1990  (int32 vkey, int32 * nentries, char * vgname);
1991 
1992  HDFLIBAPI int32 Vdelete
1993  (int32 f, int32 ref);
1994 
1995  HDFLIBAPI intn Visinternal
1996  (const char *classname);
1997 
1998  HDFLIBAPI intn Vgetvgroups
1999  (int32 id, uintn start_vg, uintn n_vgs, uint16 *refarray);
2000 
2001 
2002 /*******************************************************************************
2003 NAME
2004  Vdeletetagref - delete tag/ref pair in Vgroup
2005 
2006 DESCRIPTION
2007  Deletes the given tag/ref pair from the Vgroup. If the given tag/ref pair
2008  does not exist in the vgroup the routine will return FAIL. Users should use
2009  Vinqtagref() to check if the tag/ref pair exists before deleting.
2010 
2011 RETURNS
2012  Returns SUCCEED if the tag/ref pair is deleted from Vgroup and
2013  FAIL if unsuccessful.
2014 
2015 *******************************************************************************/
2016 HDFLIBAPI intn
2017 Vdeletetagref(int32 vkey, /* IN: vgroup key */
2018  int32 tag, /* IN: tag to delete in vgroup */
2019  int32 ref /* IN: ref to delete in vgroup */);
2020 
2021  HDFLIBAPI intn VPshutdown(void);
2022 
2023 /*
2024  ** from vparse.c
2025  */
2026  HDFLIBAPI int32 scanattrs
2027  (const char * attrs, int32 * attrc, char *** attrv);
2028 
2029 /*
2030  ** from vhi.c
2031  */
2032  HDFLIBAPI int32 VHstoredata
2033  (HFILEID f, const char * field, const uint8 *buf, int32 n, int32 datatype,
2034  const char * vsname, const char * vsclass);
2035 
2036  HDFLIBAPI int32 VHstoredatam
2037  (HFILEID f, const char * field, const uint8 *buf, int32 n, int32 datatype,
2038  const char * vsname, const char * vsclass, int32 order);
2039 
2040  HDFLIBAPI int32 VHmakegroup
2041  (HFILEID f, int32 tagarray[], int32 refarray[], int32 n,
2042  const char * vgname, const char * vgclass);
2043 
2044 /*
2045  ** from vio.c
2046  */
2047 
2048  HDFLIBAPI intn VSPhshutdown(void);
2049 
2050  HDFLIBAPI int32 vexistvs
2051  (HFILEID f, uint16 vsref);
2052 
2054  (void * n);
2055 
2057  (void * n);
2058 
2059  HDFLIBAPI int32 VSattach
2060  (HFILEID f, int32 vsref, const char * accesstype);
2061 
2062  HDFLIBAPI int32 VSdetach
2063  (int32 vkey);
2064 
2065  HDFLIBAPI int32 VSQuerytag
2066  (int32 vkey);
2067 
2068  HDFLIBAPI int32 VSQueryref
2069  (int32 vkey);
2070 
2071  HDFLIBAPI int32 VSgetid
2072  (HFILEID f, int32 vsref);
2073 
2074  HDFLIBAPI int32 VSgetversion
2075  (int32 vkey);
2076 
2077  HDFLIBAPI int32 VSdelete
2078  (int32 f, int32 ref);
2079 
2080  HDFLIBAPI int32 VSappendable
2081  (int32 vkey, int32 blk);
2082 
2083 /*
2084  ** from vsfld.c
2085  */
2086 
2087  HDFLIBAPI intn VSsetfields
2088  (int32 vkey, const char * fields);
2089 
2090  HDFLIBAPI intn VSfdefine
2091  (int32 vkey, const char * field, int32 localtype, int32 order);
2092 
2093  HDFLIBAPI int32 VFnfields
2094  (int32 vkey);
2095 
2096  HDFLIBAPI char *VFfieldname
2097  (int32 vkey, int32 idx);
2098 
2099  HDFLIBAPI int32 VFfieldtype
2100  (int32 vkey, int32 idx);
2101 
2102  HDFLIBAPI int32 VFfieldisize
2103  (int32 vkey, int32 idx);
2104 
2105  HDFLIBAPI int32 VFfieldesize
2106  (int32 vkey, int32 idx);
2107 
2108  HDFLIBAPI int32 VFfieldorder
2109  (int32 vkey, int32 idx);
2110 
2112  (int32 vkey, const char *filename, int32 offset);
2113 
2115  (int32 vkey, uintn name_len, char *filename, int32* offset);
2116 
2117  HDFLIBAPI intn VSfpack
2118  (int32 vsid, intn packtype, const char *fields_in_buf,
2119  void * buf, intn bufsz, intn n_records,
2120  const char *fields, void * fldbufpt[]);
2121 
2122 /*
2123  ** from vrw.c
2124  */
2125  HDFLIBAPI intn VSPshutdown(void);
2126 
2127  HDFLIBAPI int32 VSseek
2128  (int32 vkey, int32 eltpos);
2129 
2130  HDFLIBAPI int32 VSread
2131  (int32 vkey, uint8 buf[], int32 nelt, int32 interlace);
2132 
2133  HDFLIBAPI int32 VSwrite
2134  (int32 vkey, const uint8 buf[], int32 nelt, int32 interlace);
2135 
2136 
2137 #if defined c_plusplus || defined __cplusplus
2138 }
2139 #endif /* c_plusplus || __cplusplus */
2140 
2141 #endif /* _H_PROTO */
2142 
comp_model_t
Definition: hcomp.h:31
HDFLIBAPI int32 DFKisnativeNT(int32 numbertype)
HDFLIBAPI intn VSfnattrs(int32 vsid, int32 findex)
HDFLIBAPI int DFSDsetrange(void *maxi, void *mini)
HDFLIBAPI intn DF24getdims(const char *filename, int32 *pxdim, int32 *pydim, intn *pil)
HDFLIBAPI intn GRreadlut(int32 lutid, void *data)
HDFFCLIBAPI intf intf intf * count
HDFLIBAPI intn DFKlpo4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 DFdisetup(int maxsize)
HDFLIBAPI int32 VFfieldorder(int32 vkey, int32 idx)
HDFLIBAPI intn VSattrinfo(int32 vsid, int32 findex, intn attrindex, char *name, int32 *datatype, int32 *count, int32 *size)
HDFLIBAPI void Vsetzap(void)
HDFLIBAPI intn DFCIunjpeg(int32 file_id, uint16 tag, uint16 ref, void *image, int32 xdim, int32 ydim, int16 scheme)
HDFLIBAPI intn Vgetattr2(int32 vgid, intn attrindex, void *values)
HDFLIBAPI intn DFGRIgetimlut(const char *filename, void *imlut, int32 xdim, int32 ydim, intn type, intn isfortran, int *compressed, uint16 *compr_type, int *has_pal)
HDFLIBAPI intn DFKnb8b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFKpi8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFGRaddimage(const char *filename, void *image, int32 xdim, int32 ydim)
HDFLIBAPI int DFSDsetdimstrs(int dim, const char *label, const char *unit, const char *format)
HDFLIBAPI intn Vnattrs2(int32 vgid)
HDFLIBAPI intn DFKpo4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFGRgetimdims(const char *filename, int32 *pxdim, int32 *pydim, intn *pncomps, intn *pil)
HDFLIBAPI intn DF24addimage(const char *filename, const void *image, int32 xdim, int32 ydim)
HDFLIBAPI uint16 DFPlastref(void)
HDFLIBAPI int32 VFfieldisize(int32 vkey, int32 idx)
HDFFCLIBAPI intf * len
HDFLIBAPI int32 HLgetdatainfo(int32 file_id, uint8 *buf, uintn start_block, uintn info_count, int32 *offsetarray, int32 *lengtharray)
HDFLIBAPI int32 VSread(int32 vkey, uint8 buf[], int32 nelt, int32 interlace)
HDFLIBAPI int DFSDsetfillvalue(void *fill_value)
HDFLIBAPI intn Hdupdd(int32 file_id, uint16 tag, uint16 ref, uint16 old_tag, uint16 old_ref)
HDFFCLIBAPI intf intf * lref
HDFFCLIBAPI _fcd intf * findex
HDFLIBAPI intn vcompare(void *k1, void *k2, intn cmparg)
HDFLIBAPI intn Hbitread(int32 bitid, intn count, uint32 *data)
HDFLIBAPI intn Vsetattr(int32 vgid, const char *attrname, int32 datatype, int32 count, const void *values)
HDFFCLIBAPI intf winst[]
HDFLIBAPI int32 ANwriteann(int32 ann_id, const char *ann, int32 annlen)
HDFLIBAPI void vfdestroynode(void *n)
HDFLIBAPI int DFSDsetcal(float64 cal, float64 cal_err, float64 ioff, float64 ioff_err, int32 cal_nt)
model_info minfo
Definition: hproto.h:1415
HDFLIBAPI int16 HEvalue(int32 level)
HDFLIBAPI int32 VSsizeof(int32 vkey, char *fields)
HDFLIBAPI int32 VFfieldtype(int32 vkey, int32 idx)
HDFLIBAPI int32 VHstoredatam(HFILEID f, const char *field, const uint8 *buf, int32 n, int32 datatype, const char *vsname, const char *vsclass, int32 order)
HDFLIBAPI intn HCPsetup_szip_parms(comp_info *c_info, int32 nt, int32 ncomp, int32 ndims, int32 *dims, int32 *cdims)
HDFLIBAPI int32 vmakecompat(char *fs)
HDFFCLIBAPI intf intf intf * lformat
HDFFCLIBAPI intf intf * release
HDFLIBAPI intn DFKluo2i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 GRcreate(int32 grid, const char *name, int32 ncomp, int32 nt, int32 il, int32 dimsizes[2])
HDFLIBAPI intn HDvalidfid(int32 file_id)
HDFLIBAPI intn GRwriteimage(int32 riid, int32 start[2], int32 stride[2], int32 count[2], void *data)
HDFLIBAPI intn GRgetnluts(int32 riid)
HDFLIBAPI intn DFANIclear(void)
HDFLIBAPI intn ANfileinfo(int32 an_id, int32 *n_file_label, int32 *n_file_desc, int32 *n_obj_label, int32 *n_obj_desc)
HDFLIBAPI intn VSgetblockinfo(int32 vkey, int32 *block_size, int32 *num_blocks)
HDFLIBAPI intn DFKvo4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn Vclose(HFILEID f)
HDFLIBAPI intn GRreadimage(int32 riid, int32 start[2], int32 stride[2], int32 count[2], void *data)
HDFFCLIBAPI intf * block_size
HDFFCLIBAPI intf * maxlen_unit
HDFLIBAPI intn GRsetcompress(int32 riid, comp_coder_t comp_type, comp_info *cinfo)
HDFLIBAPI int32 HRPconvert(int32 fid, uint16 tag, uint16 ref, int32 xdim, int32 ydim, int16 scheme, comp_info *cinfo, uintn pixel_size)
#define H4_MAX_VAR_DIMS
Definition: hlimits.h:193
HDFLIBAPI char * HDf2cstring(_fcd fdesc, intn len)
HDFFCLIBAPI _fcd _fcd intf intf * datatype
HDFLIBAPI HFILEID Vopen(char *path, intn acc_mode, int16 ndds)
HDFFCLIBAPI intf intf intf * atype
HDFLIBAPI intn DFPgetpal(const char *filename, void *palette)
HDFLIBAPI intn DFGRsetlutdims(int32 xdim, int32 ydim, intn ncomps, intn il)
HDFLIBAPI int32 vimakecompat(HFILEID f)
HDFLIBAPI intn Vfinish(HFILEID f)
HDFFCLIBAPI intf _fcd intf intf * bufsz
HDFLIBAPI uint16 Htagnewref(int32 file_id, uint16 tag)
HDFLIBAPI int32 Hstartbitwrite(int32 file_id, uint16 tag, uint16 ref, int32 length)
int32 HFILEID
Definition: hdf.h:142
HDFLIBAPI int32 Vdelete(int32 f, int32 ref)
union hdf_chunk_def_u HDF_CHUNK_DEF
HDFLIBAPI intn DFR8putimage(const char *filename, const void *image, int32 xdim, int32 ydim, uint16 compress)
HDFFCLIBAPI intf * idx
HDFLIBAPI int32 DFANIgetannlen(const char *filename, uint16 tag, uint16 ref, int type)
HDFLIBAPI intn Hbitappendable(int32 bitid)
HDFFCLIBAPI intf intf intf intf * nentries
HDFLIBAPI int32 Htrunc(int32 access_id, int32 trunc_len)
HDFLIBAPI intn VSsetblocksize(int32 vkey, int32 block_size)
char * filename
Definition: cdjpeg.h:133
HDFFCLIBAPI _fcd label
HDFLIBAPI intn DFKmi2s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf * vkey
HDFLIBAPI int32 VSQueryref(int32 vkey)
HDFLIBAPI intn GRendaccess(int32 riid)
HDFFCLIBAPI _fcd vgclass
HDFLIBAPI intn GRsetaccesstype(int32 riid, uintn accesstype)
HDFLIBAPI int DFSDsetdims(intn rank, int32 dimsizes[])
HDFLIBAPI char * HDgettagsname(uint16 tag)
HDFLIBAPI intn HEshutdown(void)
HDFLIBAPI intn VSnattrs(int32 vsid)
HDFLIBAPI void HPend(void)
HDFLIBAPI int32 DFCIunrle(uint8 *buf, uint8 *bufto, int32 outlen, int resetsave)
HDFLIBAPI intn HDc2fstr(char *str, intn len)
HDFLIBAPI intn DF24getimage(const char *filename, void *image, int32 xdim, int32 ydim)
HDFLIBAPI intn HDgettagnum(const char *tag_name)
HDFLIBAPI uint16 DFR8lastref(void)
HDFFCLIBAPI float64 * cal_err
HDFLIBAPI intn VSgetvdatas(int32 id, uintn start_vd, uintn array_size, uint16 *refarray)
HDFLIBAPI intn DFPnpals(const char *filename)
HDFLIBAPI int32 VFfieldesize(int32 vkey, int32 idx)
HDFFCLIBAPI intf * llabel
HDFFCLIBAPI intf intf * comp_type
HDFLIBAPI intn DFKco8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI const char * HDfidtoname(int32 fid)
HDFLIBAPI int DFSDendslice(void)
HDFLIBAPI intn DF24readref(const char *filename, uint16 ref)
HDFLIBAPI void HEPclear(void)
HDFLIBAPI int32 vicheckcompat(HFILEID f)
HDFLIBAPI void * HDmemfill(void *dest, const void *src, uint32 item_size, uint32 num_items)
HDFLIBAPI intn DFKlmi2i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFGRIsetil(intn il, intn type)
HDFLIBAPI intn DFKlci8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 ANend(int32 an_id)
HDFLIBAPI int32 Vfind(HFILEID f, const char *vgname)
#define HDrealloc(p, s)
Definition: hdfi.h:1543
HDFLIBAPI int32 VSdelete(int32 f, int32 ref)
HDFLIBAPI uint16 DFANlastref(void)
HDFLIBAPI int HDinqblockinfo(int32 aid, int32 *length, int32 *first_length, int32 *block_length, int32 *number_blocks)
HDFLIBAPI int32 Vgetnamelen(int32 vkey, uint16 *name_len)
HDFLIBAPI intn DFKsetNT(int32 ntype)
HDFFCLIBAPI _fcd intf _fcd filemode
HDFLIBAPI int32 VSdetach(int32 vkey)
HDFLIBAPI intn DFKluo4s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI void intf dims[]
HDFLIBAPI uint16 HDmake_special_tag(uint16 tag)
HDFFCLIBAPI _fcd vsclass
HDFLIBAPI int32 DFSDndatasets(char *filename)
HDFLIBAPI int32 Hoffset(int32 file_id, uint16 tag, uint16 ref)
HDFLIBAPI intn VSgetattr(int32 vsid, int32 findex, intn attrindex, void *values)
HDFLIBAPI intn DFKci4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 HDspaceleft(void)
HDFLIBAPI intn DFKuo2i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFKui4i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf intf * ispre32
HDFLIBAPI int32 HLcreate(int32 file_id, uint16 tag, uint16 ref, int32 block_length, int32 number_blocks)
HDFFCLIBAPI _fcd intf * localtype
HDFFCLIBAPI intf intf * refarray
HDFFCLIBAPI float64 float64 * ioff
HDFLIBAPI char * HIstrncpy(char *dest, const char *source, int32 len)
HDFLIBAPI intn VSfdefine(int32 vkey, const char *field, int32 localtype, int32 order)
HDFLIBAPI intn GRreadchunk(int32 riid, int32 *origin, void *datap)
HDFLIBAPI intn DFKlui4i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf * dimsize
HDFLIBAPI intn Vnattrs(int32 vgid)
HDFLIBAPI intn Vinqtagref(int32 vkey, int32 tag, int32 ref)
HDFLIBAPI intn Visvs(int32 vkey, int32 id)
HDFFCLIBAPI intf * accesstype
HDFLIBAPI intn DF24setil(intn il)
HDFLIBAPI ann_type ANtag2atype(uint16 atag)
HDFLIBAPI intn Vinquire(int32 vkey, int32 *nentries, char *vgname)
HDFLIBAPI intn HLconvert(int32 aid, int32 block_length, int32 number_blocks)
HDFLIBAPI intn VSisinternal(const char *vsclass)
HDFLIBAPI intn VSinquire(int32 vkey, int32 *nelt, int32 *interlace, char *fields, int32 *eltsize, char *vsname)
HDFLIBAPI intn Vgetvgroups(int32 id, uintn start_vg, uintn n_vgs, uint16 *refarray)
HDFLIBAPI int32 DFANgetlablen(const char *filename, uint16 tag, uint16 ref)
HDFFCLIBAPI _fcd vgname
HDFLIBAPI intn DF24putimage(const char *filename, const void *image, int32 xdim, int32 ydim)
HDFLIBAPI intn VSfindattr(int32 vsid, int32 findex, const char *attrname)
HDFLIBAPI int32 GRfindattr(int32 id, const char *name)
HDFLIBAPI intn DFKlco4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 Vgetid(HFILEID f, int32 vgid)
HDFLIBAPI intn DFR8addimage(const char *filename, const void *image, int32 xdim, int32 ydim, uint16 compress)
void origin(double A)
HDFLIBAPI int32 ANget_tagref(int32 an_id, int32 idx, ann_type type, uint16 *ann_tag, uint16 *ann_ref)
HDFLIBAPI const char * HEstring(hdf_err_code_t error_code)
HDFLIBAPI intn DFGRreadref(const char *filename, uint16 ref)
HDFLIBAPI int DFSDgetcal(float64 *pcal, float64 *pcal_err, float64 *pioff, float64 *pioff_err, int32 *cal_nt)
HDFLIBAPI intn HDputc(uint8 c, int32 access_id)
HDFFCLIBAPI _fcd intf * overwrite
HDFLIBAPI intn Vfindattr(int32 vgid, const char *attrname)
HDFLIBAPI intn DFR8setpalette(uint8 *pal)
HDFFCLIBAPI intf * tagarray
HDFLIBAPI intn GRend(int32 grid)
struct hdf_chunk_def_u::@14 comp
HDFFCLIBAPI intf dimsizes[]
HDFLIBAPI intn DF24setcompress(int32 type, comp_info *cinfo)
HDFLIBAPI intn HCPgetdatasize(int32 file_id, uint16 data_tag, uint16 data_ref, int32 *comp_size, int32 *orig_size)
HDFLIBAPI int32 ANannlen(int32 ann_id)
HDFLIBAPI int32 VSsetname(int32 vkey, const char *vsname)
HDFLIBAPI intn DFKvi4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn GRreqlutil(int32 riid, intn il)
HDFLIBAPI intn DFPputpal(const char *filename, const void *palette, intn overwrite, const char *filemode)
HDFLIBAPI int DFSDgetrange(void *pmax, void *pmin)
HDFLIBAPI intn DFR8Pshutdown(void)
HDFLIBAPI int32 Ventries(HFILEID f, int32 vgid)
HDFLIBAPI void vtfreekey(void *k)
HDFLIBAPI intn HBconvert(int32 aid)
HDFLIBAPI int32 Vgetclassnamelen(int32 vkey, uint16 *classname_len)
HDFFCLIBAPI intf intf _fcd attrname
HDFFCLIBAPI intf intf intf * maxlen_coordsys
HDFLIBAPI intn DFKlui4s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 VQueryref(int32 vkey)
HDFLIBAPI int DFSDgetdatastrs(char *label, char *unit, char *format, char *coordsys)
HDFLIBAPI intn Hbitseek(int32 bitid, int32 byte_offset, intn bit_offset)
HDFLIBAPI intn DFGRIrestart(void)
HDFLIBAPI intn Hnextread(int32 access_id, uint16 tag, uint16 ref, intn origin)
HDFLIBAPI intn VSsetattr(int32 vsid, int32 findex, const char *attrname, int32 datatype, int32 count, const void *values)
HDFLIBAPI intn Vgetattr(int32 vgid, intn attrindex, void *values)
HDFLIBAPI intn Vinitialize(HFILEID f)
HDFLIBAPI int32 HCcreate(int32 file_id, uint16 tag, uint16 ref, comp_model_t model_type, model_info *m_info, comp_coder_t coder_type, comp_info *c_info)
HDFFCLIBAPI intf intf reflist[]
HDFFCLIBAPI intf intf maxsizes[]
HDFLIBAPI int32 DFANIgetfann(int32 file_id, char *ann, int32 maxlen, int type, int isfirst)
HDFLIBAPI intn DFR8getimage(const char *filename, uint8 *image, int32 xdim, int32 ydim, uint8 *pal)
HDFFCLIBAPI intf intf intf intf void * buffer
HDFLIBAPI intn DFKlco8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 Vfindclass(HFILEID f, const char *vgclass)
HDFLIBAPI intn DFKuo2s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFKco4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 Vdetach(int32 vkey)
HDFLIBAPI intn GRgetiminfo(int32 riid, char *name, int32 *ncomp, int32 *nt, int32 *il, int32 dimsizes[2], int32 *n_attr)
char * _fcd
Definition: H5f90i.h:37
HDFFCLIBAPI intf * pxdim
HDFFCLIBAPI intf intf _fcd intf * annlen
HDFLIBAPI int DFSDgetdata(const char *filename, intn rank, int32 maxsizes[], void *data)
HDFLIBAPI int DFSDreadref(char *filename, uint16 ref)
HDFLIBAPI intn DFPrestart(void)
HDFLIBAPI intn Hsync(int32 file_id)
HDFLIBAPI int32 DFCIrle(const void *buf, void *bufto, int32 len)
HDFLIBAPI int32 Hlength(int32 file_id, uint16 tag, uint16 ref)
HDFLIBAPI intn GR2bmapped(int32 riid, intn *tobe_mapped, intn *created_byGR)
HDFLIBAPI intn DFKpo8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf intf * pydim
HDFFCLIBAPI intf * maxcache
HDFFCLIBAPI intf * idarray
HDFLIBAPI intn DFKmi2i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 Vgettagrefs(int32 vkey, int32 tagarray[], int32 refarray[], int32 n)
HDFLIBAPI intn DFKsb8b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFKlpi4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 VSQuerytag(int32 vkey)
HDFLIBAPI int32 GRgetlutid(int32 riid, int32 idx)
HDFLIBAPI intn GRattrinfo(int32 id, int32 idx, char *name, int32 *attr_nt, int32 *count)
HDFLIBAPI intn Hinquire(int32 access_id, int32 *pfile_id, uint16 *ptag, uint16 *pref, int32 *plength, int32 *poffset, int32 *pposn, int16 *paccess, int16 *pspecial)
HDFLIBAPI int32 Hstartread(int32 file_id, uint16 tag, uint16 ref)
HDFFCLIBAPI _fcd _fcd _fcd coordsys
HDFLIBAPI intn DFKsb2b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 Vflocate(int32 vkey, char *field)
HDFLIBAPI intn VSfexist(int32 vkey, char *fields)
HDFFCLIBAPI intf intf * interlace
HDFLIBAPI int32 Hnumber(int32 file_id, uint16 tag)
HDFLIBAPI intn vcompareref(void *k1, void *k2, intn cmparg)
HDFLIBAPI intn DFKlvi8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn HPregister_term_func(hdf_termfunc_t term_func)
HDFLIBAPI intn GRsetexternalfile(int32 riid, const char *filename, int32 offset)
HDFLIBAPI int32 DFANgetfidlen(int32 file_id, intn isfirst)
HDFLIBAPI intn rigcompare(void *k1, void *k2, intn cmparg)
HDFLIBAPI intn DFKlvo4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int DFSDgetfillvalue(void *fill_value)
HDFLIBAPI intn GRsetchunk(int32 riid, HDF_CHUNK_DEF chunk_def, int32 flags)
HDFLIBAPI int32 VSseek(int32 vkey, int32 eltpos)
HDFLIBAPI intn HDdont_atexit(void)
HDFLIBAPI int32 VSgetid(HFILEID f, int32 vsref)
HDFFCLIBAPI intf intf _fcd intf intf intf * startpos
HDFLIBAPI intn DFANputdesc(const char *filename, uint16 tag, uint16 ref, char *desc, int32 desclen)
HDFFCLIBAPI _fcd intf intf intf * compress
HDFLIBAPI int32 Vinsert(int32 vkey, int32 vskey)
HDFFCLIBAPI _fcd intf intf * nt
HDFFCLIBAPI void * pmin
HDFLIBAPI int32 Vgetclass(int32 vkey, char *vgclass)
HDFLIBAPI void HEreport(const char *,...)
HDFLIBAPI intn Vgettagref(int32 vkey, int32 which, int32 *tag, int32 *ref)
HDFLIBAPI uint16 DFfindnextref(int32 file_id, uint16 tag, uint16 lref)
HDFLIBAPI int32 Hstartwrite(int32 file_id, uint16 tag, uint16 ref, int32 length)
HDFFCLIBAPI _fcd ann
HDFLIBAPI intn HCPgetcompinfo(int32 file_id, uint16 data_tag, uint16 data_ref, comp_coder_t *coder_type, comp_info *c_info)
HDFLIBAPI int32 Vattach(HFILEID f, int32 vgid, const char *accesstype)
HDFLIBAPI intn Vdeletetagref(int32 vkey, int32 tag, int32 ref)
HDFLIBAPI intn DFANIputann(const char *filename, uint16 tag, uint16 ref, uint8 *ann, int32 annlen, int type)
HDFLIBAPI intn DFKnb2b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn HDis_special_tag(uint16 tag)
HDFLIBAPI intn Hgetbit(int32 bitid)
HDFLIBAPI intn DFKlci4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn Vattrinfo2(int32 vgid, intn attrindex, char *name, int32 *datatype, int32 *count, int32 *size, int32 *nfields, uint16 *refnum)
HDFLIBAPI intn DFPaddpal(const char *filename, const void *palette)
HDFFCLIBAPI intf intf _fcd intf * listsize
HDFFCLIBAPI _fcd name
HDFLIBAPI intn Hseek(int32 access_id, int32 offset, intn origin)
HDFLIBAPI intn DFKvi8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf intf * ref
HDFFCLIBAPI _fcd intf intf _fcd pal
HDFFCLIBAPI intf * packtype
HDFLIBAPI int32 Vgetversion(int32 vgid)
PRIVATE uint16 search_ref
Definition: dfstubs.h:50
HDFLIBAPI intn DFR8restart(void)
HDFLIBAPI intn HPbitshutdown(void)
HDFLIBAPI int32 ANcreatef(int32 an_id, ann_type type)
HDFLIBAPI int32 Hstartaccess(int32 file_id, uint16 tag, uint16 ref, uint32 flags)
HDFLIBAPI intn DFKluo4i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI void HEpush(hdf_err_code_t error_code, const char *function_name, const char *file_name, intn line)
HDFFCLIBAPI intf * vsref
HDFFCLIBAPI _fcd fname
HDFLIBAPI intn DFGRreqimil(intn il)
#define HDfree(p)
Definition: hdfi.h:1542
HDFLIBAPI intn GRreqimageil(int32 riid, intn il)
HDFLIBAPI intn VPshutdown(void)
HDFFCLIBAPI intf intf * ydim
HDFLIBAPI int DFSDgetslice(const char *filename, int32 winst[], int32 windims[], void *data, int32 dims[])
HDFLIBAPI intn DFGRaddlut(const char *filename, void *lut, int32 xdim, int32 ydim)
HDFLIBAPI intn DFdiput(int32 list, uint16 tag, uint16 ref)
HDFLIBAPI intn DFKnb4b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 VSappendable(int32 vkey, int32 blk)
HDFLIBAPI intn ANannlist(int32 an_id, ann_type type, uint16 elem_tag, uint16 elem_ref, int32 ann_list[])
HDFFCLIBAPI intf * n_datasets
HDFFCLIBAPI _fcd _fcd _fcd intf * isfortran
HDFLIBAPI const char * HDgettagdesc(uint16 tag)
HDFLIBAPI int32 DFANIgetfannlen(int32 file_id, int type, int isfirst)
HDFLIBAPI int32 VSgetname(int32 vkey, char *vsname)
HDFLIBAPI int32 VSlone(HFILEID f, int32 *idarray, int32 asize)
PRIVATE uint16 search_tag
Definition: dfstubs.h:49
HDFLIBAPI intn DFKuo4s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 VSfind(HFILEID f, const char *vsname)
HDFLIBAPI int32 DFdiread(int32 file_id, uint16 tag, uint16 ref)
HDFLIBAPI int DFSDwriteref(const char *filename, uint16 ref)
HDFFCLIBAPI _fcd intf intf * order
HDFLIBAPI int32 Vgetnext(int32 vkey, int32 id)
HDFLIBAPI intn VSgetexternalfile(int32 vkey, uintn name_len, char *filename, int32 *offset)
HDFLIBAPI intn DFGRsetimdims(int32 xdim, int32 ydim, intn ncomps, intn il)
int32 model_type
Definition: hproto.h:1413
HDFLIBAPI intn ANendaccess(int32 ann_id)
HDFFCLIBAPI intf * blk
HDFLIBAPI intn HDreuse_tagref(int32 file_id, uint16 tag, uint16 ref)
HDFLIBAPI int32 GRnametoindex(int32 grid, const char *name)
HDFLIBAPI int32 VSsetclass(int32 vkey, const char *vsclass)
HDFLIBAPI intn DF24setdims(int32 xdim, int32 ydim)
HDFLIBAPI intn DFKluo4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn Hgetfileversion(int32 file_id, uint32 *majorv, uint32 *minorv, uint32 *release, char *string)
HDFLIBAPI int32 Vnrefs(int32 vkey, int32 tag)
HDFLIBAPI int32 DFANgetfds(int32 file_id, char *desc, int32 maxlen, intn isfirst)
HDFLIBAPI int32 VSgetinterlace(int32 vkey)
HDFLIBAPI int32 ANtagref2id(int32 an_id, uint16 ann_tag, uint16 ann_ref)
HDFLIBAPI int32 Vaddtagref(int32 vkey, int32 tag, int32 ref)
HDFLIBAPI intn DFR8readref(const char *filename, uint16 ref)
HDFLIBAPI intn GRgetlutinfo(int32 riid, int32 *ncomp, int32 *nt, int32 *il, int32 *nentries)
HDFFCLIBAPI intf * num_blocks
HDFLIBAPI intn DFGRIreqil(intn il, intn type)
HDFLIBAPI void DFCIunimcomp(int32 xdim, int32 ydim, uint8 in[], uint8 out[])
HDFLIBAPI intn DFPwriteref(const char *filename, uint16 ref)
HDFLIBAPI int DFgetcomp(int32 file_id, uint16 tag, uint16 ref, uint8 *image, int32 xdim, int32 ydim, uint16 scheme)
HDFFCLIBAPI intf intf _fcd intf * eltsize
HDFLIBAPI int DFSDendslab(void)
HDFLIBAPI int DFSDsetdatastrs(const char *label, const char *unit, const char *format, const char *coordsys)
HDFLIBAPI intn DF24restart(void)
HDFLIBAPI intn DFKuo8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
comp_coder_t
Definition: hcomp.h:38
HDFLIBAPI intn DFR8getdims(const char *filename, int32 *pxdim, int32 *pydim, int *pispal)
HDFLIBAPI char * VFfieldname(int32 vkey, int32 idx)
HDFLIBAPI int DFANIaddfann(int32 file_id, char *ann, int32 annlen, int type)
HDFFCLIBAPI intf * size
HDFFCLIBAPI intf _fcd intf intf intf * values
HDFLIBAPI int DFSDwriteslab(int32 start[], int32 stride[], int32 count[], void *data)
HDFLIBAPI intn HPisappendable(int32 aid)
HDFLIBAPI void DFCIimcomp(int32 xdim, int32 ydim, const uint8 *in, uint8 out[], uint8 in_pal[], uint8 out_pal[], int mode)
HDFLIBAPI intn DFANPshutdown(void)
HDFLIBAPI int DFANIlablist(const char *filename, uint16 tag, uint16 reflist[], uint8 *labellist, int listsize, int maxlen, int startpos, int isfortran)
HDFLIBAPI intn VSPshutdown(void)
HDFLIBAPI intn GRgetcompinfo(int32 riid, comp_coder_t *comp_type, comp_info *cinfo)
HDFLIBAPI int DFSDsetlengths(int maxlen_label, int maxlen_unit, int maxlen_format, int maxlen_coordsys)
HDFLIBAPI intn Hgetlibversion(uint32 *majorv, uint32 *minorv, uint32 *releasev, char *string)
HDFLIBAPI intn ANnumann(int32 an_id, ann_type type, uint16 elem_tag, uint16 elem_ref)
HDFLIBAPI void VSdump(int32 vkey)
HDFFCLIBAPI intf * isfirst
HDFFCLIBAPI intf * tag
HDFFCLIBAPI _fcd intf * desclen
HDFFCLIBAPI _fcd _fcd intf * n
HDFLIBAPI intn DFKuo4i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn Hshutdown(void)
HDFLIBAPI intn DFKsb4b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int DFSDgetdims(const char *filename, intn *prank, int32 sizes[], intn maxrank)
HDFLIBAPI void vdestroynode(void *n)
HDFLIBAPI intn DFSDpre32sdg(char *filename, uint16 ref, intn *ispre32)
HDFLIBAPI intn DFKui2s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn Happendable(int32 aid)
HDFLIBAPI intn DFGRPshutdown(void)
HDFPUBLIC char * HDstrdup(const char *s)
HDFFCLIBAPI intf intf intf * lcoordsys
HDFLIBAPI intn HXsetcreatedir(const char *dir)
HDFFCLIBAPI float64 float64 float64 * ioff_err
HDFLIBAPI intn Hgetntinfo(int32 numbertype, hdf_ntinfo_t *nt_info)
HDFFCLIBAPI intf * which
HDFLIBAPI intn Vnoldattrs(int32 vgid)
HDFLIBAPI int32 VQuerytag(int32 vkey)
HDFLIBAPI uint16 Hnewref(int32 file_id)
HDFLIBAPI int32 Hread(int32 access_id, int32 length, void *data)
HDFFCLIBAPI _fcd vsname
HDFFCLIBAPI intf intf intf * pil
HDFLIBAPI intn GRPshutdown(void)
HDFLIBAPI int DFANIaddentry(int type, uint16 annref, uint16 datatag, uint16 dataref)
HDFLIBAPI intn DFputcomp(int32 file_id, uint16 tag, uint16 ref, const uint8 *image, int32 xdim, int32 ydim, uint8 *palette, uint8 *newpal, int16 scheme, comp_info *cinfo)
HDFLIBAPI int32 VSfindclass(HFILEID f, const char *vsclass)
HDFLIBAPI intn VSsetinterlace(int32 vkey, int32 interlace)
HDFFCLIBAPI intf intf intf intf void intf buffer_size[]
HDFLIBAPI intn GRsetattr(int32 id, const char *name, int32 attr_nt, int32 count, const void *data)
HDFFCLIBAPI _fcd intf intf intf * il
HDFFCLIBAPI intf * nelt
HDFLIBAPI intn DFGRputimage(const char *filename, void *image, int32 xdim, int32 ydim)
HDFLIBAPI intn DFANgetlabel(const char *filename, uint16 tag, uint16 ref, char *label, int32 maxlen)
HDFLIBAPI void HEprint(FILE *stream, int32 print_level)
HDFLIBAPI uint16 HDbase_tag(uint16 tag)
HDFLIBAPI intn Hexist(int32 file_id, uint16 search_tag, uint16 search_ref)
HDFLIBAPI intn Hclose(int32 file_id)
HDFLIBAPI int32 VSgetclass(int32 vkey, char *vsclass)
HDFLIBAPI intn DFKui4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
hdf_err_code_t
Definition: herr.h:138
HDFLIBAPI intn GRgetchunkinfo(int32 riid, HDF_CHUNK_DEF *chunk_def, int32 *flags)
HDFLIBAPI intn GRwritelut(int32 riid, int32 ncomps, int32 nt, int32 il, int32 nentries, void *data)
HDFLIBAPI int DFSDgetdatalen(int *llabel, int *lunit, int *lformat, int *lcoordsys)
HDFLIBAPI int32 ANstart(int32 file_id)
HDFLIBAPI intn DFANputlabel(const char *filename, uint16 tag, uint16 ref, char *label)
HDFLIBAPI int32 ANid2tagref(int32 an_id, uint16 *ann_tag, uint16 *ann_ref)
HDFLIBAPI int32 Hopen(const char *path, intn acc_mode, int16 ndds)
HDFLIBAPI int32 Vgetuservgs(int32 id, int32 start_ref, int32 n_vgs, int32 *refarray)
HDFLIBAPI intn HDcheck_tagref(int32 file_id, uint16 tag, uint16 ref)
HDFLIBAPI int32 vexistvg(HFILEID f, uint16 vgid)
HDFLIBAPI uint16 DF24lastref(void)
HDFFCLIBAPI _fcd intf * ncomp
HDFLIBAPI intn Hcache(int32 file_id, intn cache_on)
HDFLIBAPI intn DFR8writeref(const char *filename, uint16 ref)
HDFFCLIBAPI intf * xdim
HDFLIBAPI int32 ANreadann(int32 ann_id, char *ann, int32 maxlen)
HDFLIBAPI intn DFANlablist(const char *filename, uint16 tag, uint16 reflist[], char *labellist, intn listsize, intn maxlen, intn startpos)
HDFLIBAPI intn HCPgetcomptype(int32 file_id, uint16 data_tag, uint16 data_ref, comp_coder_t *coder_type)
int32 comp_type
Definition: hproto.h:1412
HDFLIBAPI intn DFKuo4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf void * scale
HDFLIBAPI int DFSDgetdimlen(int dim, int *llabel, int *lunit, int *lformat)
HDFLIBAPI void vsdestroynode(void *n)
#define HDmalloc(s)
Definition: hdfi.h:1540
HDFLIBAPI intn DFR8nimages(const char *filename)
HDFFCLIBAPI intf * acc_mode
HDFLIBAPI uint16 GRluttoref(int32 lutid)
HDFLIBAPI intn DFKmo2b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFdiwrite(int32 file_id, int32 list, uint16 tag, uint16 ref)
HDFLIBAPI int32 Vntagrefs(int32 vkey)
HDFLIBAPI intn HCPencode_header(uint8 *p, comp_model_t model_type, model_info *m_info, comp_coder_t coder_type, comp_info *c_info)
HDFLIBAPI intn DFR8getpalref(uint16 *pal_ref)
HDFLIBAPI int32 Vgetname(int32 vkey, char *vgname)
HDFLIBAPI char * HDgetNTdesc(int32 nt)
HDFFCLIBAPI intf intf _fcd fields
comp_info cinfo
Definition: hproto.h:1414
HDFLIBAPI int32 VHmakegroup(HFILEID f, int32 tagarray[], int32 refarray[], int32 n, const char *vgname, const char *vgclass)
HDFLIBAPI int32 VSgetfields(int32 vkey, char *fields)
#define HDcalloc(a, b)
Definition: hdfi.h:1541
HDFLIBAPI intn DFKlmi2s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFPUBLIC intn HCget_config_info(comp_coder_t coder_type, uint32 *compression_config_info)
HDFLIBAPI intn DFGRIgetdims(const char *filename, int32 *pxdim, int32 *pydim, intn *pncomps, intn *pil, intn type)
HDFLIBAPI intn GRwritechunk(int32 riid, int32 *origin, const void *datap)
HDFLIBAPI int32 VHstoredata(HFILEID f, const char *field, const uint8 *buf, int32 n, int32 datatype, const char *vsname, const char *vsclass)
HDFLIBAPI intn DFKlvi4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf intf start[]
HDFFCLIBAPI void * data
HDFLIBAPI intn DFGRsetcompress(int32 scheme, comp_info *cinfo)
HDFLIBAPI intn Visvg(int32 vkey, int32 id)
HDFLIBAPI intn VSPhshutdown(void)
HDFLIBAPI int32 vexistvs(HFILEID f, uint16 vsref)
HDFLIBAPI void DFdifree(int32 groupID)
HDFLIBAPI intn DFKlui4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn Hdeldd(int32 file_id, uint16 tag, uint16 ref)
HDFLIBAPI int32 Hendbitaccess(int32 bitfile_id, intn flushbit)
intn start_bit
Definition: hproto.h:1421
HDFLIBAPI intn DF24nimages(const char *filename)
HDFLIBAPI int32 DFANgetfid(int32 file_id, char *id, int32 maxlen, intn isfirst)
HDFFCLIBAPI intf * vgid
HDFLIBAPI int DFSDreadslab(const char *filename, int32 start[], int32 slab_size[], int32 stride[], void *buffer, int32 buffer_size[])
HDFLIBAPI int32 GRselect(int32 grid, int32 idx)
HDFLIBAPI intn DFKui2i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DF24reqil(intn il)
HDFLIBAPI uint16 GRidtoref(int32 riid)
HDFLIBAPI int DFR8setcompress(int32 scheme, comp_info *cinfo)
#define HDFPUBLIC
Definition: H4api_adpt.h:194
int32 chunk_lengths[H4_MAX_VAR_DIMS]
Definition: hproto.h:1407
HDFLIBAPI int32 HCPquery_encode_header(comp_model_t model_type, model_info *m_info, comp_coder_t coder_type, comp_info *c_info)
HDFLIBAPI uint16 DFGRIlastref(void)
HDFLIBAPI intn DFGRIsetdims(int32 xdim, int32 ydim, intn ncomps, intn type)
HDFLIBAPI intn DFKlui2i(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 DFANgetdesclen(const char *filename, uint16 tag, uint16 ref)
HDFFCLIBAPI _fcd unit
HDFLIBAPI intn DFGRgetlutdims(const char *filename, int32 *pxdim, int32 *pydim, intn *pncomps, intn *pil)
HDFLIBAPI intn DFKlui8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int DFSDclear(void)
HDFLIBAPI intn HLsetblockinfo(int32 aid, int32 block_size, int32 num_blocks)
HDFLIBAPI int DFSDsetdimscale(intn dim, int32 dimsize, void *scale)
HDFLIBAPI intn DFANgetdesc(const char *filename, uint16 tag, uint16 ref, char *desc, int32 maxlen)
HDFFCLIBAPI intf * eltpos
HDFLIBAPI int32 VSgetversion(int32 vkey)
HDFLIBAPI int32 VSwrite(int32 vkey, const uint8 buf[], int32 nelt, int32 interlace)
HDFFCLIBAPI intf intf intf * type
HDFLIBAPI intn Vattrinfo(int32 vgid, intn attrindex, char *name, int32 *datatype, int32 *count, int32 *size)
HDFLIBAPI int DFSDsetorder(int arrayorder)
HDFFCLIBAPI intf intf * n_attrs
ann_type
Definition: hdf.h:33
HDFLIBAPI uint16 DFSDlastref(void)
HDFFCLIBAPI intf intf * flags
HDFLIBAPI int32 VSattach(HFILEID f, int32 vsref, const char *accesstype)
HDFLIBAPI int HDerr(int32 file_id)
HDFLIBAPI uint16 DFANIlocate(int32 file_id, int type, uint16 tag, uint16 ref)
HDFFCLIBAPI intf intf * asize
HDFLIBAPI intn VSisattr(int32 vsid)
HDFLIBAPI intn VSsetnumblocks(int32 vkey, int32 num_blocks)
HDFFCLIBAPI intf intf _fcd intf * maxlen
HDFLIBAPI intn HCPdecode_header(uint8 *p, comp_model_t *model_type, model_info *m_info, comp_coder_t *coder_type, comp_info *c_info)
HDFLIBAPI intn Hsetaccesstype(int32 access_id, uintn accesstype)
HDFLIBAPI int32 Hputelement(int32 file_id, uint16 tag, uint16 ref, const uint8 *data, int32 length)
HDFLIBAPI intn DFGRsetlut(void *lut, int32 xdim, int32 ydim)
HDFLIBAPI int32 Hstartbitread(int32 file_id, uint16 tag, uint16 ref)
HDFLIBAPI intn GRgetcompress(int32 riid, comp_coder_t *comp_type, comp_info *cinfo)
HDFLIBAPI int32 scanattrs(const char *attrs, int32 *attrc, char ***attrv)
HDFFCLIBAPI intf * prank
HDFLIBAPI intn HDgetc(int32 access_id)
HDFLIBAPI intn DFdinobj(int32 list)
HDFLIBAPI intn GRsetchunkcache(int32 riid, int32 maxcache, int32 flags)
HDFFCLIBAPI intf stride[]
HDFLIBAPI int32 ANcreate(int32 an_id, uint16 elem_tag, uint16 elem_ref, ann_type type)
HDFLIBAPI intn DFKlmo2b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn HDpackFstring(char *src, char *dest, intn len)
HDFLIBAPI int DFSDrestart(void)
HDFLIBAPI intn DFKlui2s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 GRstart(int32 hdf_file_id)
#define HDFLIBAPI
Definition: H4api_adpt.h:195
HDFLIBAPI int32 Hwrite(int32 access_id, int32 length, const void *data)
HDFLIBAPI int32 ANselect(int32 an_id, int32 idx, ann_type type)
HDFLIBAPI intn VSfindex(int32 vsid, const char *fieldname, int32 *fldindex)
HDFLIBAPI int32 VFnfields(int32 vkey)
HDFLIBAPI intn DFANaddfds(int32 file_id, char *desc, int32 desclen)
HDFLIBAPI intn DFGRIaddimlut(const char *filename, const void *imlut, int32 xdim, int32 ydim, intn type, intn isfortran, intn newfile)
HDFLIBAPI intn DFKluo2s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI _fcd intf intf intf intf * newfile
HDFFCLIBAPI intf intf windims[]
HDFLIBAPI intn DFKlpi8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFANIgetann(const char *filename, uint16 tag, uint16 ref, uint8 *ann, int32 maxlen, int type, int isfortran)
HDFLIBAPI intn DFANclear(void)
HDFFCLIBAPI _fcd image
HDFFCLIBAPI intf ptr[][4]
HDFFCLIBAPI intf intf sizes[]
HDFFCLIBAPI _fcd desc
HDFLIBAPI int32 HXcreate(int32 file_id, uint16 tag, uint16 ref, const char *extern_file_name, int32 offset, int32 start_len)
HDFLIBAPI int32 VSelts(int32 vkey)
HDFLIBAPI int32 Vlone(HFILEID f, int32 *idarray, int32 asize)
HDFLIBAPI intn DFGRgetimage(const char *filename, void *image, int32 xdim, int32 ydim)
HDFFCLIBAPI intf * offset
HDFLIBAPI int DFSDputdata(const char *filename, intn rank, int32 dimsizes[], void *data)
HDFLIBAPI intn DFKci8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf * rank
HDFLIBAPI intn Hishdf(const char *filename)
struct hdf_chunk_def_u::@15 nbit
HDFLIBAPI int32 Htell(int32 access_id)
HDFLIBAPI intn DFPreadref(const char *filename, uint16 ref)
HDFLIBAPI intn DFKui4s(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn Hfind(int32 file_id, uint16 search_tag, uint16 search_ref, uint16 *find_tag, uint16 *find_ref, int32 *find_offset, int32 *find_length, intn direction)
HDFLIBAPI intn GRfileinfo(int32 grid, int32 *n_datasets, int32 *n_attrs)
HDFLIBAPI intn DFKpi4f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn HXsetdir(const char *dir)
HDFLIBAPI intn VSfpack(int32 vsid, intn packtype, const char *fields_in_buf, void *buf, intn bufsz, intn n_records, const char *fields, void *fldbufpt[])
HDFLIBAPI intn DFGRreqlutil(intn il)
HDFLIBAPI int32 Hgetelement(int32 file_id, uint16 tag, uint16 ref, uint8 *data)
HDFLIBAPI intn Hfidinquire(int32 file_id, char **fname, intn *acc_mode, intn *attach)
HDFFCLIBAPI int32 float32 float32 float32 float32 float32 _fcd palette
HDFLIBAPI intn HCPgetcompress(int32 file_id, uint16 data_tag, uint16 data_ref, comp_coder_t *coder_type, comp_info *c_info)
HDFLIBAPI int8 DFKgetPNSC(int32 numbertype, int32 machinetype)
HDFLIBAPI intn VSsetexternalfile(int32 vkey, const char *filename, int32 offset)
HDFLIBAPI intn DFKvo8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf intf * maxlen_format
intn(* hdf_termfunc_t)(void)
Definition: hdf.h:144
HDFLIBAPI int32 Vsetname(int32 vkey, const char *vgname)
HDFLIBAPI uint16 ANatype2tag(ann_type atype)
HDFLIBAPI intn GRgetattr(int32 id, int32 idx, void *data)
HDFLIBAPI int32 DFKislitendNT(int32 numbertype)
HDFFCLIBAPI _fcd _fcd format
HDFLIBAPI int DFSDgetdimstrs(int dim, char *label, char *unit, char *format)
HDFLIBAPI intn Visinternal(const char *classname)
HDFFCLIBAPI intf intf intf slab_size[]
HDFLIBAPI int DFSDadddata(const char *filename, intn rank, int32 dimsizes[], void *data)
HDFLIBAPI int DFSDstartslab(const char *filename)
HDFLIBAPI int32 DFKconvert(void *source, void *dest, int32 ntype, int32 num_elm, int16 acc_mode, int32 source_stride, int32 dest_stride)
HDFLIBAPI intn DFANaddfid(int32 file_id, char *id)
HDFLIBAPI int32 GRreftoindex(int32 grid, uint16 ref)
HDFLIBAPI intn DFGRgetlut(const char *filename, void *lut, int32 xdim, int32 ydim)
HDFFCLIBAPI _fcd field
HDFLIBAPI int DFSDstartslice(const char *filename)
HDFLIBAPI intn VSofclass(int32 id, const char *vsclass, uintn start_vd, uintn array_size, uint16 *refarray)
HDFFCLIBAPI intf intf intf * maxrank
HDFLIBAPI intn DFCIjpeg(int32 file_id, uint16 tag, uint16 ref, int32 xdim, int32 ydim, const void *image, int16 scheme, comp_info *scheme_info)
HDFLIBAPI int DFSDgetNT(int32 *pnumbertype)
HDFLIBAPI intn DFdiget(int32 list, uint16 *ptag, uint16 *pref)
HDFLIBAPI intn Hendaccess(int32 access_id)
HDFFCLIBAPI intf * maxsize
HDFLIBAPI intn DFKlvo8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFKluo8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn DFSDPshutdown(void)
HDFFCLIBAPI intf * buf
HDFLIBAPI intn DFKnb1b(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFFCLIBAPI intf intf _fcd labellist
HDFLIBAPI int32 vcheckcompat(char *fs)
HDFLIBAPI intn Hbitwrite(int32 bitid, intn count, uint32 data)
HDFLIBAPI intn DFKlpo8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI int32 DFANgetfdslen(int32 file_id, intn isfirst)
HDFLIBAPI int DFSDgetdimscale(intn dim, int32 maxsize, void *scale)
HDFLIBAPI int32 Vsetclass(int32 vkey, const char *vgclass)
HDFLIBAPI intn DFKui8f(void *s, void *d, uint32 num_elm, uint32 source_stride, uint32 dest_stride)
HDFLIBAPI intn Hsetlength(int32 file_id, int32 length)
HDFLIBAPI int DFSDsetNT(int32 numbertype)
HDFLIBAPI intn HDflush(int32 file_id)
HDFLIBAPI int DFSDputslice(int32 winend[], void *data, int32 dims[])
HDFFCLIBAPI intf intf * lunit
HDFLIBAPI intn HLgetblockinfo(int32 aid, int32 *block_size, int32 *num_blocks)
HDFLIBAPI int DFKNTsize(int32 number_type)
HDFLIBAPI intn VSsetfields(int32 vkey, const char *fields)

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