/**************************************************************************** * NCSA HDF * * Software Development Group * * National Center for Supercomputing Applications * * University of Illinois at Urbana-Champaign * * 605 E. Springfield, Champaign IL 61820 * * * * For conditions of distribution and use, see the accompanying * * hdf/COPYING file. * * * ****************************************************************************/ /* $Id$ */ /* * This file contains private information about the H5P module */ #ifndef _H5Pprivate_H #define _H5Pprivate_H #include /* Private headers needed by this file */ #include #include /*for hobjtype_t defn*/ /* Flags to indicate special dataspace features are active */ #define H5P_VALID_MAX 0x01 #define H5P_VALID_PERM 0x02 typedef struct H5P_sdim_t { uint32 rank; /* Number of dimensions */ uint32 dim_flags; /* Dimension flags */ uint32 *size; /* Dimension sizes */ uint32 *max; /* Maximum dimension sizes */ uint32 *perm; /* Dimension permutations */ } H5P_sdim_t; #define H5P_RESERVED_ATOMS 2 /* Private functions */ herr_t H5P_init(void); hid_t H5P_create(hid_t owner_id, hobjtype_t type, const char *name); uint32 H5P_get_lrank(const H5P_sdim_t *sdim); herr_t H5P_get_ldims(const H5P_sdim_t *sdim, uint32 *dims); hbool_t H5P_is_simple(const H5P_dim_t *sdim); uintn H5P_nelem(const H5P_dim_t *space); herr_t H5P_release(hid_t oid); #endif