45 #define _HDF_CHK_TBL_CLASS "_HDF_CHK_TBL_" 46 #define _HDF_CHK_TBL_CLASS_VER 0 48 #define _HDF_CHK_TBL_NAME "_HDF_CHK_TBL_" 51 #define _HDF_CHK_FIELD_1 "origin" 52 #define _HDF_CHK_FIELD_2 "chk_tag" 53 #define _HDF_CHK_FIELD_3 "chk_ref" 54 #define _HDF_CHK_FIELD_NAMES "origin,chk_tag,chk_ref" 57 #define _HDF_CHK_HDR_VER 0 90 typedef struct dim_rec_struct {
104 int32 last_chunk_length;
106 } DIM_REC, * DIM_REC_PTR;
109 typedef struct chunk_rec_struct {
117 }CHUNK_REC, * CHUNK_REC_PTR;
120 typedef struct chunkinfo_t
126 int32 sp_tag_header_len;
141 int32 comp_sp_tag_head_len;
142 VOID *comp_sp_tag_header;
151 int32 *seek_chunk_indices;
153 int32 *seek_pos_chunk;
154 int32 *seek_user_indices;
163 #if defined c_plusplus || defined __cplusplus 231 #ifdef _HCHUNKS_MAIN_ 233 intn chkcompare(
void * k1,
236 void chkfreekey(
void * key );
237 void chkdestroynode(
void *
n );
240 extern int32 HMCPstread
243 extern int32 HMCPstwrite
246 extern int32 HMCPseek
251 extern int32 HMCPchunkread
256 extern int32 HMCPread
261 extern int32 HMCPchunkwrite
266 extern int32 HMCPwrite
271 extern intn HMCPendaccess
274 extern int32 HMCPinfo
278 extern int32 HMCPinquire
291 #if defined c_plusplus || defined __cplusplus 295 #ifndef _HCHUNKS_MAIN_
HDFLIBAPI int32 HMCreadChunk(int32 access_id, int32 *origin, VOID *datap)
HDFLIBAPI intn HMCgetdatainfo(int32 file_id, uint16 data_tag, uint16 data_ref, int32 *chk_coord, uintn start_block, uintn info_count, int32 *offsetarray, int32 *lengtharray)
HDFFCLIBAPI intf intf * comp_type
HDFLIBAPI int32 HMCsetMaxcache(int32 access_id, int32 maxcache, int32 flags)
struct dim_def_struct * DIM_DEF_PTR
HDFLIBAPI int32 HMCPcloseAID(accrec_t *access_rec)
HDFLIBAPI intn HMCgetcomptype(int32 access_id, comp_coder_t *comp_type)
HDFFCLIBAPI intf * maxcache
HDFLIBAPI int32 HMCwriteChunk(int32 access_id, int32 *origin, const VOID *datap)
HDFFCLIBAPI intf intf * ref
struct dim_def_struct DIM_DEF
HDFFCLIBAPI _fcd _fcd intf * n
HDFLIBAPI intn HMCgetdatasize(int32 file_id, uint8 *p, int32 *comp_size, int32 *orig_size)
HDFLIBAPI int32 HMCPgetnumrecs(accrec_t *access_rec, int32 *num_recs)
struct hchunk_def_struct * HCHUNK_DEF_PTR
HDFFCLIBAPI intf intf * flags
HDFFCLIBAPI intf * offset
struct hchunk_def_struct HCHUNK_DEF
HDFLIBAPI intn HMCgetcompress(accrec_t *access_rec, comp_coder_t *comp_type, comp_info *c_info)
HDFLIBAPI int32 HMCcreate(int32 file_id, uint16 tag, uint16 ref, uint8 nlevels, int32 fill_val_len, VOID *fill_val, HCHUNK_DEF *chk_array)