MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Enumerations | Functions
hfile.h File Reference
#include "H4api_adpt.h"
#include "tbbt.h"
#include "bitvect.h"
#include "atom.h"
#include "linklist.h"
#include "dynarray.h"
#include <stdio.h>
#include "hchunks.h"

Go to the source code of this file.

Data Structures

struct  dd_t
 
struct  version_t
 
struct  ddblock_t
 
struct  tag_info_str
 
struct  filerec_t
 
struct  accrec_t
 
struct  sp_info_block_t
 
struct  funclist_t
 
struct  functab_t
 

Macros

#define MAGICLEN   4 /* length */
 
#define HDFMAGIC   "\016\003\023\001" /* ^N^C^S^A */
 
#define DD_SZ   12 /* 2+2+4+4 */
 
#define NDDS_SZ   2
 
#define OFFSET_SZ   4
 
#define INVALID_OFFSET   -1
 
#define INVALID_LENGTH   -1
 
#define LIBVER_MAJOR   4
 
#define LIBVER_MINOR   2
 
#define LIBVER_RELEASE   6
 
#define LIBVER_SUBRELEASE   "" /* For pre-releases like snap0 */
 
#define LIBVER_STRING   "HDF Version 4.2 Release 6, June 14, 2011"
 
#define LIBVSTR_LEN   80 /* length of version string */
 
#define LIBVER_LEN   92 /* 4+4+4+80 = 92 */
 
#define FILELIB   UNIXBUFIO /* UNIX buffered I/O is the default */
 
#define HI_OPEN(p, a)
 
#define HI_CREATE(p)   (fopen((p), "wb+"))
 
#define HI_READ(f, b, n)
 
#define HI_WRITE(f, b, n)
 
#define HI_CLOSE(f)   (((f = ((fclose(f)==0) ? NULL : f))==NULL) ? SUCCEED:FAIL)
 
#define HI_FLUSH(f)   (fflush(f)==0 ? SUCCEED : FAIL)
 
#define HI_SEEK(f, o)   (fseek((f), (long)(o), SEEK_SET)==0 ? SUCCEED : FAIL)
 
#define HI_SEEK_CUR(f, o)   (fseek((f), (long)(o), SEEK_CUR)==0 ? SUCCEED : FAIL)
 
#define HI_SEEKEND(f)   (fseek((f), (long)0, SEEK_END)==0 ? SUCCEED : FAIL)
 
#define HI_TELL(f)   (ftell(f))
 
#define OPENERR(f)   ((f) == (FILE *)NULL)
 
#define DDLIST_DIRTY   0x01 /* mark whether to flush dirty DD blocks */
 
#define FILE_END_DIRTY   0x02 /* indicate that the file needs to be extended */
 
#define FIDTYPE   1
 
#define AIDTYPE   2
 
#define GROUPTYPE   3
 
#define SDSTYPE   4
 
#define DIMTYPE   5
 
#define CDFTYPE   6
 
#define VGIDTYPE   8 /* also defined in vg.h for Vgroups */
 
#define VSIDTYPE   9 /* also defined in vg.h for Vsets */
 
#define BITTYPE   10 /* For bit-accesses */
 
#define GRIDTYPE   11 /* for GR access */
 
#define RIIDTYPE   12 /* for RI access */
 
#define BADFREC(r)   ((r)==NULL || (r)->refcount==0)
 
#define BASETAG(t)   (uint16)((~(t) & 0x8000) ? ((t) & ~0x4000) : (t))
 
#define SPECIALTAG(t)   (uint16)((~(t) & 0x8000) && ((t) & 0x4000))
 
#define MKSPECIALTAG(t)   (uint16)((~(t) & 0x8000) ? ((t) | 0x4000) : DFTAG_NULL)
 

Typedefs

typedef FILE * hdf_file_t
 
typedef struct dd_t dd_t
 
typedef struct version_t version_t
 
typedef struct ddblock_t ddblock_t
 
typedef struct tag_info_str tag_info
 
typedef struct filerec_t filerec_t
 
typedef struct accrec_t accrec_t
 
typedef struct sp_info_block_t sp_info_block_t
 
typedef struct funclist_t funclist_t
 
typedef struct functab_t functab_t
 

Enumerations

enum  fileop_t {
  H4_OP_UNKNOWN = 0,
  H4_OP_SEEK,
  H4_OP_WRITE,
  H4_OP_READ,
  H4_OP_UNKNOWN = 0,
  H4_OP_SEEK,
  H4_OP_WRITE,
  H4_OP_READ
}
 

Functions

HDFLIBAPI accrec_tHIget_access_rec (void)
 
HDFLIBAPI void HIrelease_accrec_node (accrec_t *acc)
 
HDFLIBAPI void * HIgetspinfo (accrec_t *access_rec)
 
HDFLIBAPI intn HPcompare_filerec_path (const void *obj, const void *key)
 
HDFLIBAPI intn HPcompare_accrec_tagref (const void *rec1, const void *rec2)
 
HDFLIBAPI int32 HPgetdiskblock (filerec_t *file_rec, int32 block_size, intn moveto)
 
HDFLIBAPI intn HPfreediskblock (filerec_t *file_rec, int32 block_offset, int32 block_size)
 
HDFLIBAPI intn HPisfile_in_use (const char *path)
 
HDFLIBAPI int32 HDcheck_empty (int32 file_id, uint16 tag, uint16 ref, intn *emptySDS)
 
HDFLIBAPI int32 HDget_special_info (int32 access_id, sp_info_block_t *info_block)
 
HDFLIBAPI intn HDgetspecinfo (intn file_id, uint16 tag, uint16 ref, sp_info_block_t *info)
 
HDFLIBAPI int32 HDset_special_info (int32 access_id, sp_info_block_t *info_block)
 
HDFLIBAPI intn HP_read (filerec_t *file_rec, void *buf, int32 bytes)
 
HDFLIBAPI intn HPseek (filerec_t *file_rec, int32 offset)
 
HDFLIBAPI intn HP_write (filerec_t *file_rec, const void *buf, int32 bytes)
 
HDFLIBAPI int32 HPread_drec (int32 file_id, atom_t data_id, uint8 **drec_buf)
 
HDFLIBAPI intn tagcompare (void *k1, void *k2, intn cmparg)
 
HDFLIBAPI VOID tagdestroynode (void *n)
 
HDFLIBAPI int32 HLPstread (accrec_t *access_rec)
 
HDFLIBAPI int32 HLPstwrite (accrec_t *access_rec)
 
HDFLIBAPI int32 HLPseek (accrec_t *access_rec, int32 offset, int origin)
 
HDFLIBAPI int32 HLPread (accrec_t *access_rec, int32 length, void *data)
 
HDFLIBAPI int32 HLPwrite (accrec_t *access_rec, int32 length, const void *data)
 
HDFLIBAPI int32 HLPinquire (accrec_t *access_rec, int32 *pfile_id, uint16 *ptag, uint16 *pref, int32 *plength, int32 *poffset, int32 *pposn, int16 *paccess, int16 *pspecial)
 
HDFLIBAPI intn HLPendaccess (accrec_t *access_rec)
 
HDFLIBAPI int32 HLPcloseAID (accrec_t *access_rec)
 
HDFLIBAPI int32 HLPinfo (accrec_t *access_rec, sp_info_block_t *info_block)
 
HDFLIBAPI int32 HXPstread (accrec_t *rec)
 
HDFLIBAPI int32 HXPstwrite (accrec_t *rec)
 
HDFLIBAPI int32 HXPseek (accrec_t *access_rec, int32 offset, int origin)
 
HDFLIBAPI int32 HXPread (accrec_t *access_rec, int32 length, void *data)
 
HDFLIBAPI int32 HXPwrite (accrec_t *access_rec, int32 length, const void *data)
 
HDFLIBAPI int32 HXPinquire (accrec_t *access_rec, int32 *pfile_id, uint16 *ptag, uint16 *pref, int32 *plength, int32 *poffset, int32 *pposn, int16 *paccess, int16 *pspecial)
 
HDFLIBAPI intn HXPendaccess (accrec_t *access_rec)
 
HDFLIBAPI int32 HXPcloseAID (accrec_t *access_rec)
 
HDFLIBAPI int32 HXPinfo (accrec_t *access_rec, sp_info_block_t *info_block)
 
HDFLIBAPI int32 HXPreset (accrec_t *access_rec, sp_info_block_t *info_block)
 
HDFLIBAPI intn HXPsetaccesstype (accrec_t *access_rec)
 
HDFLIBAPI intn HXPshutdown (void)
 
HDFLIBAPI int32 HCPstread (accrec_t *rec)
 
HDFLIBAPI int32 HCPstwrite (accrec_t *rec)
 
HDFLIBAPI int32 HCPseek (accrec_t *access_rec, int32 offset, int origin)
 
HDFLIBAPI int32 HCPinquire (accrec_t *access_rec, int32 *pfile_id, uint16 *ptag, uint16 *pref, int32 *plength, int32 *poffset, int32 *pposn, int16 *paccess, int16 *pspecial)
 
HDFLIBAPI int32 HCPread (accrec_t *access_rec, int32 length, void *data)
 
HDFLIBAPI int32 HCPwrite (accrec_t *access_rec, int32 length, const void *data)
 
HDFLIBAPI intn HCPendaccess (accrec_t *access_rec)
 
HDFLIBAPI int32 HCPcloseAID (accrec_t *access_rec)
 
HDFLIBAPI int32 HCPinfo (accrec_t *access_rec, sp_info_block_t *info_block)
 
HDFLIBAPI int32 get_comp_len (accrec_t *access_rec)
 
HDFLIBAPI int32 HBPstread (accrec_t *rec)
 
HDFLIBAPI int32 HBPstwrite (accrec_t *rec)
 
HDFLIBAPI int32 HBPseek (accrec_t *access_rec, int32 offset, int origin)
 
HDFLIBAPI int32 HBPinquire (accrec_t *access_rec, int32 *pfile_id, uint16 *ptag, uint16 *pref, int32 *plength, int32 *poffset, int32 *pposn, int16 *paccess, int16 *pspecial)
 
HDFLIBAPI int32 HBPread (accrec_t *access_rec, int32 length, void *data)
 
HDFLIBAPI int32 HBPwrite (accrec_t *access_rec, int32 length, const void *data)
 
HDFLIBAPI intn HBPendaccess (accrec_t *access_rec)
 
HDFLIBAPI int32 HBPcloseAID (accrec_t *access_rec)
 
HDFLIBAPI int32 HBPinfo (accrec_t *access_rec, sp_info_block_t *info_block)
 
HDFLIBAPI int32 HRPstread (accrec_t *rec)
 
HDFLIBAPI int32 HRPstwrite (accrec_t *rec)
 
HDFLIBAPI int32 HRPseek (accrec_t *access_rec, int32 offset, int origin)
 
HDFLIBAPI int32 HRPinquire (accrec_t *access_rec, int32 *pfile_id, uint16 *ptag, uint16 *pref, int32 *plength, int32 *poffset, int32 *pposn, int16 *paccess, int16 *pspecial)
 
HDFLIBAPI int32 HRPread (accrec_t *access_rec, int32 length, void *data)
 
HDFLIBAPI int32 HRPwrite (accrec_t *access_rec, int32 length, const void *data)
 
HDFLIBAPI intn HRPendaccess (accrec_t *access_rec)
 
HDFLIBAPI int32 HRPcloseAID (accrec_t *access_rec)
 
HDFLIBAPI int32 HRPinfo (accrec_t *access_rec, sp_info_block_t *info_block)
 
intn HTPstart (filerec_t *file_rec)
 
intn HTPinit (filerec_t *file_rec, int16 ndds)
 
intn HTPsync (filerec_t *file_rec)
 
intn HTPend (filerec_t *file_rec)
 
atom_t HTPcreate (filerec_t *file_rec, uint16 tag, uint16 ref)
 
atom_t HTPselect (filerec_t *file_rec, uint16 tag, uint16 ref)
 
intn HTPendaccess (atom_t ddid)
 
intn HTPdelete (atom_t ddid)
 
intn HTPupdate (atom_t ddid, int32 new_off, int32 new_len)
 
intn HTPinquire (atom_t ddid, uint16 *tag, uint16 *ref, int32 *off, int32 *len)
 
intn HTPis_special (atom_t ddid)
 
intn HTPdump_dds (int32 file_id, FILE *fout)
 

Macro Definition Documentation

◆ AIDTYPE

#define AIDTYPE   2

Definition at line 419 of file hfile.h.

◆ BADFREC

#define BADFREC (   r)    ((r)==NULL || (r)->refcount==0)

Definition at line 430 of file hfile.h.

◆ BASETAG

#define BASETAG (   t)    (uint16)((~(t) & 0x8000) ? ((t) & ~0x4000) : (t))

Definition at line 449 of file hfile.h.

◆ BITTYPE

#define BITTYPE   10 /* For bit-accesses */

Definition at line 426 of file hfile.h.

◆ CDFTYPE

#define CDFTYPE   6

Definition at line 423 of file hfile.h.

◆ DD_SZ

#define DD_SZ   12 /* 2+2+4+4 */

Definition at line 38 of file hfile.h.

◆ DDLIST_DIRTY

#define DDLIST_DIRTY   0x01 /* mark whether to flush dirty DD blocks */

Definition at line 319 of file hfile.h.

◆ DIMTYPE

#define DIMTYPE   5

Definition at line 422 of file hfile.h.

◆ FIDTYPE

#define FIDTYPE   1

Definition at line 418 of file hfile.h.

◆ FILE_END_DIRTY

#define FILE_END_DIRTY   0x02 /* indicate that the file needs to be extended */

Definition at line 320 of file hfile.h.

◆ FILELIB

#define FILELIB   UNIXBUFIO /* UNIX buffered I/O is the default */

Definition at line 67 of file hfile.h.

◆ GRIDTYPE

#define GRIDTYPE   11 /* for GR access */

Definition at line 427 of file hfile.h.

◆ GROUPTYPE

#define GROUPTYPE   3

Definition at line 420 of file hfile.h.

◆ HDFMAGIC

#define HDFMAGIC   "\016\003\023\001" /* ^N^C^S^A */

Definition at line 33 of file hfile.h.

◆ HI_CLOSE

#define HI_CLOSE (   f)    (((f = ((fclose(f)==0) ? NULL : f))==NULL) ? SUCCEED:FAIL)

Definition at line 95 of file hfile.h.

◆ HI_CREATE

#define HI_CREATE (   p)    (fopen((p), "wb+"))

Definition at line 88 of file hfile.h.

◆ HI_FLUSH

#define HI_FLUSH (   f)    (fflush(f)==0 ? SUCCEED : FAIL)

Definition at line 96 of file hfile.h.

◆ HI_OPEN

#define HI_OPEN (   p,
 
)
Value:
(((a) & DFACC_WRITE) ? \
fopen((p), "rb+") : fopen((p), "rb"))
#define DFACC_WRITE
Definition: hdf.h:45

Definition at line 86 of file hfile.h.

◆ HI_READ

#define HI_READ (   f,
  b,
  n 
)
Value:
(((size_t)(n) == (size_t)fread((b), 1, (size_t)(n), (f))) ? \
#define SUCCEED
Definition: hdf.h:93
long b
Definition: jpegint.h:371
HDFFCLIBAPI _fcd _fcd intf * n
#define FAIL
Definition: hdf.h:94

Definition at line 91 of file hfile.h.

◆ HI_SEEK

#define HI_SEEK (   f,
 
)    (fseek((f), (long)(o), SEEK_SET)==0 ? SUCCEED : FAIL)

Definition at line 97 of file hfile.h.

◆ HI_SEEK_CUR

#define HI_SEEK_CUR (   f,
 
)    (fseek((f), (long)(o), SEEK_CUR)==0 ? SUCCEED : FAIL)

Definition at line 98 of file hfile.h.

◆ HI_SEEKEND

#define HI_SEEKEND (   f)    (fseek((f), (long)0, SEEK_END)==0 ? SUCCEED : FAIL)

Definition at line 99 of file hfile.h.

◆ HI_TELL

#define HI_TELL (   f)    (ftell(f))

Definition at line 100 of file hfile.h.

◆ HI_WRITE

#define HI_WRITE (   f,
  b,
  n 
)
Value:
(((size_t)(n) == (size_t)fwrite((b), 1, (size_t)(n), (f))) ? \
#define SUCCEED
Definition: hdf.h:93
long b
Definition: jpegint.h:371
HDFFCLIBAPI _fcd _fcd intf * n
#define FAIL
Definition: hdf.h:94

Definition at line 93 of file hfile.h.

◆ INVALID_LENGTH

#define INVALID_LENGTH   -1

Definition at line 46 of file hfile.h.

◆ INVALID_OFFSET

#define INVALID_OFFSET   -1

Definition at line 45 of file hfile.h.

◆ LIBVER_LEN

#define LIBVER_LEN   92 /* 4+4+4+80 = 92 */

Definition at line 59 of file hfile.h.

◆ LIBVER_MAJOR

#define LIBVER_MAJOR   4

Definition at line 52 of file hfile.h.

◆ LIBVER_MINOR

#define LIBVER_MINOR   2

Definition at line 53 of file hfile.h.

◆ LIBVER_RELEASE

#define LIBVER_RELEASE   6

Definition at line 54 of file hfile.h.

◆ LIBVER_STRING

#define LIBVER_STRING   "HDF Version 4.2 Release 6, June 14, 2011"

Definition at line 57 of file hfile.h.

◆ LIBVER_SUBRELEASE

#define LIBVER_SUBRELEASE   "" /* For pre-releases like snap0 */

Definition at line 55 of file hfile.h.

◆ LIBVSTR_LEN

#define LIBVSTR_LEN   80 /* length of version string */

Definition at line 58 of file hfile.h.

◆ MAGICLEN

#define MAGICLEN   4 /* length */

Definition at line 32 of file hfile.h.

◆ MKSPECIALTAG

#define MKSPECIALTAG (   t)    (uint16)((~(t) & 0x8000) ? ((t) | 0x4000) : DFTAG_NULL)

Definition at line 453 of file hfile.h.

◆ NDDS_SZ

#define NDDS_SZ   2

Definition at line 39 of file hfile.h.

◆ OFFSET_SZ

#define OFFSET_SZ   4

Definition at line 40 of file hfile.h.

◆ OPENERR

#define OPENERR (   f)    ((f) == (FILE *)NULL)

Definition at line 101 of file hfile.h.

◆ RIIDTYPE

#define RIIDTYPE   12 /* for RI access */

Definition at line 428 of file hfile.h.

◆ SDSTYPE

#define SDSTYPE   4

Definition at line 421 of file hfile.h.

◆ SPECIALTAG

#define SPECIALTAG (   t)    (uint16)((~(t) & 0x8000) && ((t) & 0x4000))

Definition at line 451 of file hfile.h.

◆ VGIDTYPE

#define VGIDTYPE   8 /* also defined in vg.h for Vgroups */

Definition at line 424 of file hfile.h.

◆ VSIDTYPE

#define VSIDTYPE   9 /* also defined in vg.h for Vsets */

Definition at line 425 of file hfile.h.

Typedef Documentation

◆ accrec_t

typedef struct accrec_t accrec_t

◆ dd_t

typedef struct dd_t dd_t

◆ ddblock_t

typedef struct ddblock_t ddblock_t

◆ filerec_t

typedef struct filerec_t filerec_t

◆ funclist_t

typedef struct funclist_t funclist_t

◆ functab_t

typedef struct functab_t functab_t

◆ hdf_file_t

typedef FILE* hdf_file_t

Definition at line 73 of file hfile.h.

◆ sp_info_block_t

◆ tag_info

typedef struct tag_info_str tag_info

◆ version_t

typedef struct version_t version_t

Enumeration Type Documentation

◆ fileop_t

enum fileop_t
Enumerator
H4_OP_UNKNOWN 
H4_OP_SEEK 
H4_OP_WRITE 
H4_OP_READ 
H4_OP_UNKNOWN 
H4_OP_SEEK 
H4_OP_WRITE 
H4_OP_READ 

Definition at line 268 of file hfile.h.

Function Documentation

◆ get_comp_len()

HDFLIBAPI int32 get_comp_len ( accrec_t access_rec)

◆ HBPcloseAID()

HDFLIBAPI int32 HBPcloseAID ( accrec_t access_rec)

◆ HBPendaccess()

HDFLIBAPI intn HBPendaccess ( accrec_t access_rec)

◆ HBPinfo()

HDFLIBAPI int32 HBPinfo ( accrec_t access_rec,
sp_info_block_t info_block 
)

◆ HBPinquire()

HDFLIBAPI int32 HBPinquire ( accrec_t access_rec,
int32 *  pfile_id,
uint16 *  ptag,
uint16 *  pref,
int32 *  plength,
int32 *  poffset,
int32 *  pposn,
int16 *  paccess,
int16 *  pspecial 
)

◆ HBPread()

HDFLIBAPI int32 HBPread ( accrec_t access_rec,
int32  length,
void *  data 
)

◆ HBPseek()

HDFLIBAPI int32 HBPseek ( accrec_t access_rec,
int32  offset,
int  origin 
)

◆ HBPstread()

HDFLIBAPI int32 HBPstread ( accrec_t rec)

◆ HBPstwrite()

HDFLIBAPI int32 HBPstwrite ( accrec_t rec)

◆ HBPwrite()

HDFLIBAPI int32 HBPwrite ( accrec_t access_rec,
int32  length,
const void *  data 
)

◆ HCPcloseAID()

HDFLIBAPI int32 HCPcloseAID ( accrec_t access_rec)

◆ HCPendaccess()

HDFLIBAPI intn HCPendaccess ( accrec_t access_rec)

◆ HCPinfo()

HDFLIBAPI int32 HCPinfo ( accrec_t access_rec,
sp_info_block_t info_block 
)

◆ HCPinquire()

HDFLIBAPI int32 HCPinquire ( accrec_t access_rec,
int32 *  pfile_id,
uint16 *  ptag,
uint16 *  pref,
int32 *  plength,
int32 *  poffset,
int32 *  pposn,
int16 *  paccess,
int16 *  pspecial 
)

◆ HCPread()

HDFLIBAPI int32 HCPread ( accrec_t access_rec,
int32  length,
void *  data 
)

◆ HCPseek()

HDFLIBAPI int32 HCPseek ( accrec_t access_rec,
int32  offset,
int  origin 
)

◆ HCPstread()

HDFLIBAPI int32 HCPstread ( accrec_t rec)

◆ HCPstwrite()

HDFLIBAPI int32 HCPstwrite ( accrec_t rec)

◆ HCPwrite()

HDFLIBAPI int32 HCPwrite ( accrec_t access_rec,
int32  length,
const void *  data 
)

◆ HDcheck_empty()

HDFLIBAPI int32 HDcheck_empty ( int32  file_id,
uint16  tag,
uint16  ref,
intn *  emptySDS 
)

◆ HDget_special_info()

HDFLIBAPI int32 HDget_special_info ( int32  access_id,
sp_info_block_t info_block 
)

◆ HDgetspecinfo()

HDFLIBAPI intn HDgetspecinfo ( intn  file_id,
uint16  tag,
uint16  ref,
sp_info_block_t info 
)

◆ HDset_special_info()

HDFLIBAPI int32 HDset_special_info ( int32  access_id,
sp_info_block_t info_block 
)

◆ HIget_access_rec()

HDFLIBAPI accrec_t* HIget_access_rec ( void  )

◆ HIgetspinfo()

HDFLIBAPI void* HIgetspinfo ( accrec_t access_rec)

◆ HIrelease_accrec_node()

HDFLIBAPI void HIrelease_accrec_node ( accrec_t acc)

◆ HLPcloseAID()

HDFLIBAPI int32 HLPcloseAID ( accrec_t access_rec)

◆ HLPendaccess()

HDFLIBAPI intn HLPendaccess ( accrec_t access_rec)

◆ HLPinfo()

HDFLIBAPI int32 HLPinfo ( accrec_t access_rec,
sp_info_block_t info_block 
)

◆ HLPinquire()

HDFLIBAPI int32 HLPinquire ( accrec_t access_rec,
int32 *  pfile_id,
uint16 *  ptag,
uint16 *  pref,
int32 *  plength,
int32 *  poffset,
int32 *  pposn,
int16 *  paccess,
int16 *  pspecial 
)

◆ HLPread()

HDFLIBAPI int32 HLPread ( accrec_t access_rec,
int32  length,
void *  data 
)

◆ HLPseek()

HDFLIBAPI int32 HLPseek ( accrec_t access_rec,
int32  offset,
int  origin 
)

◆ HLPstread()

HDFLIBAPI int32 HLPstread ( accrec_t access_rec)

◆ HLPstwrite()

HDFLIBAPI int32 HLPstwrite ( accrec_t access_rec)

◆ HLPwrite()

HDFLIBAPI int32 HLPwrite ( accrec_t access_rec,
int32  length,
const void *  data 
)

◆ HP_read()

HDFLIBAPI intn HP_read ( filerec_t file_rec,
void *  buf,
int32  bytes 
)

◆ HP_write()

HDFLIBAPI intn HP_write ( filerec_t file_rec,
const void *  buf,
int32  bytes 
)

◆ HPcompare_accrec_tagref()

HDFLIBAPI intn HPcompare_accrec_tagref ( const void *  rec1,
const void *  rec2 
)

◆ HPcompare_filerec_path()

HDFLIBAPI intn HPcompare_filerec_path ( const void *  obj,
const void *  key 
)

◆ HPfreediskblock()

HDFLIBAPI intn HPfreediskblock ( filerec_t file_rec,
int32  block_offset,
int32  block_size 
)

◆ HPgetdiskblock()

HDFLIBAPI int32 HPgetdiskblock ( filerec_t file_rec,
int32  block_size,
intn  moveto 
)

◆ HPisfile_in_use()

HDFLIBAPI intn HPisfile_in_use ( const char *  path)

◆ HPread_drec()

HDFLIBAPI int32 HPread_drec ( int32  file_id,
atom_t  data_id,
uint8 **  drec_buf 
)

◆ HPseek()

HDFLIBAPI intn HPseek ( filerec_t file_rec,
int32  offset 
)

◆ HRPcloseAID()

HDFLIBAPI int32 HRPcloseAID ( accrec_t access_rec)

◆ HRPendaccess()

HDFLIBAPI intn HRPendaccess ( accrec_t access_rec)

◆ HRPinfo()

HDFLIBAPI int32 HRPinfo ( accrec_t access_rec,
sp_info_block_t info_block 
)

◆ HRPinquire()

HDFLIBAPI int32 HRPinquire ( accrec_t access_rec,
int32 *  pfile_id,
uint16 *  ptag,
uint16 *  pref,
int32 *  plength,
int32 *  poffset,
int32 *  pposn,
int16 *  paccess,
int16 *  pspecial 
)

◆ HRPread()

HDFLIBAPI int32 HRPread ( accrec_t access_rec,
int32  length,
void *  data 
)

◆ HRPseek()

HDFLIBAPI int32 HRPseek ( accrec_t access_rec,
int32  offset,
int  origin 
)

◆ HRPstread()

HDFLIBAPI int32 HRPstread ( accrec_t rec)

◆ HRPstwrite()

HDFLIBAPI int32 HRPstwrite ( accrec_t rec)

◆ HRPwrite()

HDFLIBAPI int32 HRPwrite ( accrec_t access_rec,
int32  length,
const void *  data 
)

◆ HTPcreate()

atom_t HTPcreate ( filerec_t file_rec,
uint16  tag,
uint16  ref 
)

◆ HTPdelete()

intn HTPdelete ( atom_t  ddid)

◆ HTPdump_dds()

intn HTPdump_dds ( int32  file_id,
FILE *  fout 
)

◆ HTPend()

intn HTPend ( filerec_t file_rec)

◆ HTPendaccess()

intn HTPendaccess ( atom_t  ddid)

◆ HTPinit()

intn HTPinit ( filerec_t file_rec,
int16  ndds 
)

◆ HTPinquire()

intn HTPinquire ( atom_t  ddid,
uint16 *  tag,
uint16 *  ref,
int32 *  off,
int32 *  len 
)

◆ HTPis_special()

intn HTPis_special ( atom_t  ddid)

◆ HTPselect()

atom_t HTPselect ( filerec_t file_rec,
uint16  tag,
uint16  ref 
)

◆ HTPstart()

intn HTPstart ( filerec_t file_rec)

◆ HTPsync()

intn HTPsync ( filerec_t file_rec)

◆ HTPupdate()

intn HTPupdate ( atom_t  ddid,
int32  new_off,
int32  new_len 
)

◆ HXPcloseAID()

HDFLIBAPI int32 HXPcloseAID ( accrec_t access_rec)

◆ HXPendaccess()

HDFLIBAPI intn HXPendaccess ( accrec_t access_rec)

◆ HXPinfo()

HDFLIBAPI int32 HXPinfo ( accrec_t access_rec,
sp_info_block_t info_block 
)

◆ HXPinquire()

HDFLIBAPI int32 HXPinquire ( accrec_t access_rec,
int32 *  pfile_id,
uint16 *  ptag,
uint16 *  pref,
int32 *  plength,
int32 *  poffset,
int32 *  pposn,
int16 *  paccess,
int16 *  pspecial 
)

◆ HXPread()

HDFLIBAPI int32 HXPread ( accrec_t access_rec,
int32  length,
void *  data 
)

◆ HXPreset()

HDFLIBAPI int32 HXPreset ( accrec_t access_rec,
sp_info_block_t info_block 
)

◆ HXPseek()

HDFLIBAPI int32 HXPseek ( accrec_t access_rec,
int32  offset,
int  origin 
)

◆ HXPsetaccesstype()

HDFLIBAPI intn HXPsetaccesstype ( accrec_t access_rec)

◆ HXPshutdown()

HDFLIBAPI intn HXPshutdown ( void  )

◆ HXPstread()

HDFLIBAPI int32 HXPstread ( accrec_t rec)

◆ HXPstwrite()

HDFLIBAPI int32 HXPstwrite ( accrec_t rec)

◆ HXPwrite()

HDFLIBAPI int32 HXPwrite ( accrec_t access_rec,
int32  length,
const void *  data 
)

◆ tagcompare()

HDFLIBAPI intn tagcompare ( void *  k1,
void *  k2,
intn  cmparg 
)

◆ tagdestroynode()

HDFLIBAPI VOID tagdestroynode ( void *  n)

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