MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Functions | Variables
df.h File Reference
#include "H4api_adpt.h"
#include "hdf.h"

Go to the source code of this file.

Data Structures

struct  DFddh
 
struct  DFdd
 
struct  DFdle
 
struct  DF
 
struct  DFdata
 

Macros

#define DFSETERR(error)   (DFerror=(DFerror?DFerror:error))
 
#define DFTOFID(df)   (int32)(df->list)
 

Typedefs

typedef struct DFddh DFddh
 
typedef struct DFdd DFdd
 
typedef DFdd DFdesc
 
typedef struct DFdle DFdle
 
typedef struct DF DF
 
typedef struct DFdata DFdata
 

Functions

HDFLIBAPI DFDFopen (char *name, int acc_mode, int ndds)
 
HDFLIBAPI int DFclose (DF *dfile)
 
HDFLIBAPI int DFdescriptors (DF *dfile, DFdesc ptr[], int begin, int num)
 
HDFLIBAPI int DFnumber (DF *dfile, uint16 tag)
 
HDFLIBAPI int DFsetfind (DF *dfile, uint16 tag, uint16 ref)
 
HDFLIBAPI int DFfind (DF *dfile, DFdesc *ptr)
 
HDFLIBAPI int DFaccess (DF *dfile, uint16 tag, uint16 ref, char *acc_mode)
 
HDFLIBAPI int DFstart (DF *dfile, uint16 tag, uint16 ref, char *acc_mode)
 
HDFLIBAPI int32 DFread (DF *dfile, char *ptr, int32 len)
 
HDFLIBAPI int32 DFseek (DF *dfile, int32 offset)
 
HDFLIBAPI int32 DFwrite (DF *dfile, char *ptr, int32 len)
 
HDFLIBAPI int DFupdate (DF *dfile)
 
HDFLIBAPI int DFstat (DF *dfile, DFdata *dfinfo)
 
HDFLIBAPI int32 DFgetelement (DF *dfile, uint16 tag, uint16 ref, char *ptr)
 
HDFLIBAPI int32 DFputelement (DF *dfile, uint16 tag, uint16 ref, char *ptr, int32 len)
 
HDFLIBAPI int DFdup (DF *dfile, uint16 itag, uint16 iref, uint16 otag, uint16 oref)
 
HDFLIBAPI int DFdel (DF *dfile, uint16 tag, uint16 ref)
 
HDFLIBAPI uint16 DFnewref (DF *dfile)
 
HDFLIBAPI int DFishdf (char *filename)
 
HDFLIBAPI int DFerrno (void)
 
HDFLIBAPI int DFIerr (DF *dfile)
 
HDFLIBAPI int DFImemcopy (char *from, char *to, int length)
 
HDFLIBAPI void * DFIgetspace (uint32 qty)
 
HDFLIBAPI void * DFIfreespace (void *ptr)
 
HDFLIBAPI int DFIc2fstr (char *str, int len)
 
HDFLIBAPI char * DFIf2cstring (_fcd fdesc, intn len)
 
HDFLIBAPI int DFconvert (uint8 *source, uint8 *dest, int ntype, int sourcetype, int desttype, int32 size)
 

Variables

HDFLIBAPI int DFerror
 

Macro Definition Documentation

◆ DFSETERR

#define DFSETERR (   error)    (DFerror=(DFerror?DFerror:error))

Definition at line 211 of file df.h.

◆ DFTOFID

#define DFTOFID (   df)    (int32)(df->list)

Definition at line 213 of file df.h.

Typedef Documentation

◆ DF

typedef struct DF DF

◆ DFdata

typedef struct DFdata DFdata

◆ DFdd

typedef struct DFdd DFdd

◆ DFddh

typedef struct DFddh DFddh

◆ DFdesc

typedef DFdd DFdesc

Definition at line 59 of file df.h.

◆ DFdle

typedef struct DFdle DFdle

Function Documentation

◆ DFaccess()

HDFLIBAPI int DFaccess ( DF dfile,
uint16  tag,
uint16  ref,
char *  acc_mode 
)

◆ DFclose()

HDFLIBAPI int DFclose ( DF dfile)

◆ DFconvert()

HDFLIBAPI int DFconvert ( uint8 *  source,
uint8 *  dest,
int  ntype,
int  sourcetype,
int  desttype,
int32  size 
)

◆ DFdel()

HDFLIBAPI int DFdel ( DF dfile,
uint16  tag,
uint16  ref 
)

◆ DFdescriptors()

HDFLIBAPI int DFdescriptors ( DF dfile,
DFdesc  ptr[],
int  begin,
int  num 
)

◆ DFdup()

HDFLIBAPI int DFdup ( DF dfile,
uint16  itag,
uint16  iref,
uint16  otag,
uint16  oref 
)

◆ DFerrno()

HDFLIBAPI int DFerrno ( void  )

◆ DFfind()

HDFLIBAPI int DFfind ( DF dfile,
DFdesc ptr 
)

◆ DFgetelement()

HDFLIBAPI int32 DFgetelement ( DF dfile,
uint16  tag,
uint16  ref,
char *  ptr 
)

◆ DFIc2fstr()

HDFLIBAPI int DFIc2fstr ( char *  str,
int  len 
)

◆ DFIerr()

HDFLIBAPI int DFIerr ( DF dfile)

◆ DFIf2cstring()

HDFLIBAPI char* DFIf2cstring ( _fcd  fdesc,
intn  len 
)

◆ DFIfreespace()

HDFLIBAPI void* DFIfreespace ( void *  ptr)

◆ DFIgetspace()

HDFLIBAPI void* DFIgetspace ( uint32  qty)

◆ DFImemcopy()

HDFLIBAPI int DFImemcopy ( char *  from,
char *  to,
int  length 
)

◆ DFishdf()

HDFLIBAPI int DFishdf ( char *  filename)

◆ DFnewref()

HDFLIBAPI uint16 DFnewref ( DF dfile)

◆ DFnumber()

HDFLIBAPI int DFnumber ( DF dfile,
uint16  tag 
)

◆ DFopen()

HDFLIBAPI DF* DFopen ( char *  name,
int  acc_mode,
int  ndds 
)

◆ DFputelement()

HDFLIBAPI int32 DFputelement ( DF dfile,
uint16  tag,
uint16  ref,
char *  ptr,
int32  len 
)

◆ DFread()

HDFLIBAPI int32 DFread ( DF dfile,
char *  ptr,
int32  len 
)

◆ DFseek()

HDFLIBAPI int32 DFseek ( DF dfile,
int32  offset 
)

◆ DFsetfind()

HDFLIBAPI int DFsetfind ( DF dfile,
uint16  tag,
uint16  ref 
)

◆ DFstart()

HDFLIBAPI int DFstart ( DF dfile,
uint16  tag,
uint16  ref,
char *  acc_mode 
)

◆ DFstat()

HDFLIBAPI int DFstat ( DF dfile,
DFdata dfinfo 
)

◆ DFupdate()

HDFLIBAPI int DFupdate ( DF dfile)

◆ DFwrite()

HDFLIBAPI int32 DFwrite ( DF dfile,
char *  ptr,
int32  len 
)

Variable Documentation

◆ DFerror

HDFLIBAPI int DFerror

Definition at line 209 of file df.h.


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