netCDF  4.3.0
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
dtype.c
Go to the documentation of this file.
1 
7 #include "ncdispatch.h"
8 
26 int
27 nc_inq_type_equal(int ncid1, nc_type typeid1, int ncid2,
28  nc_type typeid2, int *equal)
29 {
30  NC* ncp1;
31  int stat = NC_check_id(ncid1,&ncp1);
32  if(stat != NC_NOERR) return stat;
33  return ncp1->dispatch->inq_type_equal(ncid1,typeid1,ncid2,typeid2,equal);
34 }
35  /* All these functions are part of this named group... */
40 
58 int
59 nc_inq_typeid(int ncid, const char *name, nc_type *typeidp)
60 {
61  NC* ncp;
62  int stat = NC_check_id(ncid,&ncp);
63  if(stat != NC_NOERR) return stat;
64  return ncp->dispatch->inq_typeid(ncid,name,typeidp);
65 }
66 
101 int
102 nc_inq_user_type(int ncid, nc_type xtype, char *name, size_t *size,
103  nc_type *base_nc_typep, size_t *nfieldsp, int *classp)
104 {
105  NC *ncp;
106  int stat = NC_check_id(ncid,&ncp);
107  if(stat != NC_NOERR) return stat;
108  return ncp->dispatch->inq_user_type(ncid, xtype, name, size,
109  base_nc_typep, nfieldsp, classp);
110 } /* End of named group ...*/

Generated on Tue Jul 9 2013 19:18:10 for netCDF. NetCDF is a Unidata library.