starting to add NC_HDF5_FILE_INFO_T

This commit is contained in:
Ed Hartnett 2018-07-19 08:50:53 -06:00
parent d1198a3667
commit 802c1a82f1
2 changed files with 6 additions and 3 deletions

View File

@ -51,6 +51,12 @@
/** This is the name of the name HDF5 dimension scale attribute. */
#define HDF5_DIMSCALE_NAME_ATT_NAME "NAME"
/** Strut to hold HDF5-specific info for the file. */
typedef struct NC_HDF5_FILE_INFO
{
hid_t hdfid;
} NC_HDF5_FILE_INFO_T;
/* These functions do HDF5 things. */
int rec_detach_scales(NC_GRP_INFO_T *grp, int dimid, hid_t dimscaleid);
int rec_reattach_scales(NC_GRP_INFO_T *grp, int dimid, hid_t dimscaleid);

View File

@ -295,9 +295,7 @@ typedef struct NC_FILE_INFO
NClist* alldims;
NClist* alltypes;
NClist* allgroups; /* including root group */
#ifdef USE_HDF4
void *format_file_info;
#endif /* USE_HDF4 */
struct NCFILEINFO* fileinfo;
struct NC4_Memio {
NC_memio memio;
@ -312,7 +310,6 @@ typedef struct NC_FILE_INFO
} mem;
} NC_FILE_INFO_T;
extern char* nc4_atomic_name[NC_MAX_ATOMIC_TYPE+1];
/* These functions convert between netcdf and HDF5 types. */