74 #define NC_OLD_FILLVALUES 0 83 #define FILL_BYTE ((char)-127) 84 #define FILL_CHAR ((char)0) 85 #define FILL_SHORT ((short)-32767) 86 #define FILL_LONG ((long)-2147483647) 88 #if !NC_OLD_FILLVALUES 90 # define FILL_FLOAT 9.9692099683868690e+36 91 # define FILL_DOUBLE 9.9692099683868690e+36 127 #define XDR_D_INFINITY 1.797693134862315900e+308 128 #define XDR_F_INFINITY 3.40282357e+38 134 #ifndef XDR_D_INFINITY 136 union xdr_d_union {
unsigned char bb[8];
double dd;} ;
137 extern union xdr_d_union xdr_d_infs ;
138 #define XDR_D_INFINITY (xdr_d_infs.dd) 141 #ifndef XDR_F_INFINITY 143 union xdr_f_union {
unsigned char bb[4];
float ff;} ;
144 extern union xdr_f_union xdr_f_infs ;
145 #define XDR_F_INFINITY (xdr_f_infs.ff) 152 #ifndef XDR_D_INFINITY 153 #define USE_D_LONG_PUN 154 extern long xdr_d_infinity[] ;
155 #define XDR_D_INFINITY *(double *)xdr_d_infinity 158 #ifndef XDR_F_INFINITY 159 #define USE_F_LONG_PUN 160 extern long xdr_f_infinity ;
161 #define XDR_F_INFINITY *((float *)&xdr_f_infinity) 168 #define FILL_FLOAT XDR_F_INFINITY 169 #define FILL_DOUBLE XDR_D_INFINITY 183 #define NC_NSYNC 0x10 184 #define NC_HSYNC 0x20 185 #define NC_NDIRTY 0x40 186 #define NC_HDIRTY 0x80 187 #define NC_NOFILL 0x100 188 #define NC_LINK 0x8000 196 #define NC_WRITE NC_RDWR 197 #define NC_CLOBBER (NC_INDEF | NC_CREAT | NC_RDWR) 198 #define NC_NOCLOBBER (NC_INDEF | NC_EXCL | NC_CREAT | NC_RDWR) 203 #define NC_UNLIMITED 0L 215 #define MAX_NC_OPEN 32 222 #define MAX_NC_DIMS 5000 223 #define MAX_NC_ATTRS 3000 224 #define MAX_NC_VARS 5000 225 #define MAX_NC_NAME 256 226 #define MAX_VAR_DIMS 32 235 #define _FillValue "_FillValue" 265 #define NC_UNSPECIFIED 0 273 #define NC_BITFIELD 7 276 #define NC_DIMENSION 10 277 #define NC_VARIABLE 11 278 #define NC_ATTRIBUTE 12 296 #if defined __alpha || (_MIPS_SZLONG == 64) || defined __ia64 || (defined __sun && defined _LP64) || defined AIX5L64 || defined __x86_64__ || defined __powerpc64__ 317 #define NC_ENOTINDEFINE 6 318 #define NC_EINDEFINE 7 319 #define NC_EINVALCOORDS 8 320 #define NC_EMAXDIMS 9 321 #define NC_ENAMEINUSE 10 322 #define NC_ENOTATT 11 323 #define NC_EMAXATTS 12 324 #define NC_EBADTYPE 13 325 #define NC_EBADDIM 14 326 #define NC_EUNLIMPOS 15 327 #define NC_EMAXVARS 16 328 #define NC_ENOTVAR 17 329 #define NC_EGLOBAL 18 332 #define NC_EMAXNAME 21 333 #define NC_ENTOOL NC_EMAXNAME 334 #define NC_EUNLIMIT 22 351 #ifndef HAVE_PROTOTYPES 352 # if defined(__STDC__) || defined(__GNUC__) || defined(__cplusplus) || defined(c_plusplus) 353 # define HAVE_PROTOTYPES 358 #ifdef HAVE_PROTOTYPES EXTERNL int ncdimid(int ncid, const char *name)
HDFFCLIBAPI intf intf intf * count
EXTERNL int ncattcopy(int ncid_in, int varid_in, const char *name, int ncid_out, int varid_out)
EXTERNL int ncrecinq(int ncid, int *nrecvarsp, int *recvaridsp, long *recsizesp)
EXTERNL int ncopen(const char *path, int mode)
EXTERNL int ncdiminq(int ncid, int dimid, char *name, long *lenp)
HDFFCLIBAPI _fcd _fcd intf intf * datatype
EXTERNL int ncdimrename(int ncid, int dimid, const char *name)
EXTERNL int ncrecget(int ncid, long recnum, void **datap)
EXTERNL int nccreate(const char *path, int cmode)
EXTERNL int ncsync(int ncid)
EXTERNL int ncvarrename(int ncid, int varid, const char *name)
EXTERNL int ncsetfill(int ncid, int fillmode)
EXTERNL int ncredef(int ncid)
EXTERNL int ncvargets(int ncid, int varid, const long *startp, const long *countp, const long *stridep, void *ip)
EXTERNL int ncattinq(int ncid, int varid, const char *name, nc_type *xtypep, int *lenp)
EXTERNL int ncattdel(int ncid, int varid, const char *name)
EXTERNL int ncendef(int ncid)
EXTERNL int ncvargetg(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const long *imapp, void *ip)
EXTERNL int ncvarputg(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const long *imapp, const void *op)
EXTERNL int ncinquire(int ncid, int *ndimsp, int *nvarsp, int *nattsp, int *unlimdimp)
EXTERNL int ncvarput1(int ncid, int varid, const long *indexp, const void *op)
HDFFCLIBAPI intf _fcd intf intf intf * values
EXTERNL int ncclose(int ncid)
EXTERNL int ncdimdef(int ncid, const char *name, long len)
EXTERNL int ncattname(int ncid, int varid, int attnum, char *name)
EXTERNL int ncvarputs(int ncid, int varid, const long *startp, const long *countp, const long *stridep, const void *op)
EXTERNL int ncvarput(int ncid, int varid, const long *startp, const long *countp, const void *op)
EXTERNL int ncattget(int ncid, int varid, const char *name, void *ip)
EXTERNL int ncrecput(int ncid, long recnum, void *const *datap)
HDFFCLIBAPI intf intf start[]
EXTERNL int ncvarget(int ncid, int varid, const long *startp, const long *countp, void *ip)
HDFFCLIBAPI intf stride[]
EXTERNL int ncattrename(int ncid, int varid, const char *name, const char *newname)
EXTERNL int ncattput(int ncid, int varid, const char *name, nc_type xtype, int len, const void *op)
EXTERNL int ncvarget1(int ncid, int varid, const long *indexp, void *ip)
EXTERNL int ncvardef(int ncid, const char *name, nc_type xtype, int ndims, const int *dimidsp)
EXTERNL int ncvarid(int ncid, const char *name)
EXTERNL int ncabort(int ncid)
EXTERNL int ncvarinq(int ncid, int varid, char *name, nc_type *xtypep, int *ndimsp, int *dimidsp, int *nattsp)
EXTERNL int nctypelen(nc_type datatype)