7 #include "ncdispatch.h" 
   82    for(i = 0; i < len; i++) 
 
  118     int stat = NC_check_id(ncid,&ncp);
 
  120     return ncp->dispatch->def_vlen(ncid,name,base_typeid,xtypep);
 
  146     int stat = 
nc_inq_user_type(ncid,xtype,name,datum_sizep,base_nc_typep,NULL,&
class);
 
  173 nc_put_vlen_element(
int ncid, 
int typeid1, 
void *vlen_element, 
size_t len, 
const void *data)
 
  176     int stat = NC_check_id(ncid,&ncp);
 
  178     return ncp->dispatch->put_vlen_element(ncid,typeid1,vlen_element,len,data);
 
  201 nc_get_vlen_element(
int ncid, 
int typeid1, 
const void *vlen_element, 
 
  202             size_t *len, 
void *data)
 
  205     int stat = NC_check_id(ncid,&ncp);
 
  207     return ncp->dispatch->get_vlen_element(ncid, typeid1, vlen_element, 
 
int nc_def_vlen(int ncid, const char *name, nc_type base_typeid, nc_type *xtypep)
Use this function to define a variable length array type.
 
int nc_free_vlen(nc_vlen_t *vl)
Free memory in a VLEN object.
 
int nc_inq_vlen(int ncid, nc_type xtype, char *name, size_t *datum_sizep, nc_type *base_nc_typep)
Learn about a VLEN type.
 
int nc_free_vlens(size_t len, nc_vlen_t vlens[])
Free an array of vlens given the number of elements and an array.
 
EXTERNL int nc_inq_user_type(int ncid, nc_type xtype, char *name, size_t *size, nc_type *base_nc_typep, size_t *nfieldsp, int *classp)
Learn about a user defined type.
 
#define NC_EBADTYPE
Not a netcdf data type.
 
void * p
Pointer to VL data.
 
#define NC_VLEN
vlen (variable-length) types
 
#define NC_NOERR
No Error.
 
int nc_type
The nc_type type is just an int.
 
This is the type of arrays of vlens.