diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-12-11 18:49:02 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-12-11 18:49:02 (GMT) |
commit | efc14a5341042f5d04f0578bd9820495f1e11d79 (patch) | |
tree | 2318e5300df1c05642694790b352d03dbe90283c /src/H5Cpublic.h | |
parent | 250ff23f4f9854b65c4c7b51d2db9f0e11768b87 (diff) | |
download | hdf5-efc14a5341042f5d04f0578bd9820495f1e11d79.zip hdf5-efc14a5341042f5d04f0578bd9820495f1e11d79.tar.gz hdf5-efc14a5341042f5d04f0578bd9820495f1e11d79.tar.bz2 |
[svn-r142] ./src/H5C.c
./src/H5Cprivate.h
Changed H5Csetparm() to H5Cset_prop() and changed it to pass
property values by value instead of reference. Changed
H5Cgetparm() to H5Cget_prop(). Changed data types of file
creation properties so the application can use `int' or
`size_t' for most properties. Properties and their types are
documented in H5Cget_prop().
Changed H5C_class() to H5Cget_class() to make the naming more
uniform across packages.
./src/H5Cpublic.h
Changed names of properties to make them more uniform across
packages: H5F_USERBLOCK_SIZE became H5F_SIZEOF_USERBLOCK,
H5F_OFFSET_SIZE became H5F_SIZEOF_ADDR, H5F_LENGTH_SIZE became
H5F_SIZEOF_SIZE.
./src/H5D.c
./src/H5Dprivate.h
Added support for chunked data storage. There still isn't any
support for data type conversion or data space conversion, so
chunked storage doesn't do much at this time.
./src/H5E.c
./src/H5Epublic.h
Added the H5E_TEMPLATE major error number. I'm about the
change the HGOTO_ERROR() and HRETURN_ERROR() macros to take an
error string as an additional argument instead of specifying
it as a comment.
./src/H5Fistore.c
Added `const' to the `buf' argument of H5F_istore_write()
although this temporarily causes a compiler warning.
./src/H5Fprivate.h
Changed data types of certain file-related variables from
types like `uint8' to `uintn' since the library data types
should not depend on the file data types.
./src/H5P.c
./src/H5Pprivate.h
./src/H5Ppublic.h
Moved H5Pget_lrank() to H5Pget_ndims(), and H5Pget_ldims() to
H5Pget_dims() to make naming more uniform. Dimensions should
always be of type `size_t'. Similarly for H5P_get_lrank() and
H5P_get_ldims().
Diffstat (limited to 'src/H5Cpublic.h')
-rw-r--r-- | src/H5Cpublic.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/H5Cpublic.h b/src/H5Cpublic.h index dcadcdd..c0bc55d 100644 --- a/src/H5Cpublic.h +++ b/src/H5Cpublic.h @@ -39,9 +39,9 @@ typedef enum H5C_class_t { typedef enum H5C_prop_t { /* File Creation Properties */ - H5F_USERBLOCK_SIZE, /* Size of the user block in the file in bytes */ - H5F_OFFSET_SIZE, /* Number of bytes for offsets */ - H5F_LENGTH_SIZE, /* Number of bytes for lengths */ + H5F_SIZEOF_USERBLOCK,/* Size of the user block in the file in bytes */ + H5F_SIZEOF_ADDR, /* Number of bytes for addresses */ + H5F_SIZEOF_SIZE, /* Number of bytes for sizes */ H5F_SYM_LEAF_K, /* 1/2 rank for symbol table leaf nodes */ H5F_SYM_INTERN_K, /* 1/2 rank for symbol table internal nodes */ H5F_ISTORE_K, /* 1/2 rank for indexed storage nodes */ @@ -75,8 +75,9 @@ extern "C" { hid_t H5Ccreate (H5C_class_t type); herr_t H5Cclose (hid_t template); hid_t H5Ccopy (hid_t template); -herr_t H5Cgetparm (hid_t template, H5C_prop_t prop, void *buf); -herr_t H5Csetparm (hid_t template, H5C_prop_t prop, const void *buf); +herr_t H5Cget_prop (hid_t template, H5C_prop_t prop, void *buf); +herr_t H5Cset_prop (hid_t template, H5C_prop_t prop, ...); +H5C_class_t H5Cget_class (hid_t template); #ifdef __cplusplus } |