summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-12-11 18:49:02 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-12-11 18:49:02 (GMT)
commitefc14a5341042f5d04f0578bd9820495f1e11d79 (patch)
tree2318e5300df1c05642694790b352d03dbe90283c /src/H5Fprivate.h
parent250ff23f4f9854b65c4c7b51d2db9f0e11768b87 (diff)
downloadhdf5-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/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 31748b2..250c152 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -213,16 +213,16 @@
* File-creation template.
*/
typedef struct H5F_create_t {
- uintn userblock_size; /* Size of the file user block in bytes */
- uintn sym_leaf_k; /* 1/2 rank for symbol table leaf nodes */
- uintn btree_k[8]; /* 1/2 rank for btree internal nodes */
- uint8 sizeof_addr; /* Number of bytes in an address */
- uint8 sizeof_size; /* Number of bytes for obj sizes */
- uint8 bootblock_ver; /* Version # of the bootblock */
- uint8 smallobject_ver; /* Version # of the small-object heap */
- uint8 freespace_ver; /* Version # of the free-space information */
- uint8 objectdir_ver; /* Version # of the object directory format */
- uint8 sharedheader_ver; /* Version # of the shared header format */
+ size_t userblock_size; /* Size of the file user block in bytes */
+ intn sym_leaf_k; /* 1/2 rank for symbol table leaf nodes */
+ intn btree_k[8]; /* 1/2 rank for btree internal nodes */
+ size_t sizeof_addr; /* Number of bytes in an address */
+ size_t sizeof_size; /* Number of bytes for obj sizes */
+ intn bootblock_ver; /* Version # of the bootblock */
+ intn smallobject_ver; /* Version # of the small-object heap */
+ intn freespace_ver; /* Version # of the free-space information */
+ intn objectdir_ver; /* Version # of the object directory format */
+ intn sharedheader_ver; /* Version # of the shared header format */
} H5F_create_t;
/*
@@ -416,7 +416,7 @@ herr_t H5F_istore_read (H5F_t *f, const struct H5O_istore_t *mesg,
void *buf);
herr_t H5F_istore_write (H5F_t *f, const struct H5O_istore_t *mesg,
const size_t offset[], const size_t size[],
- void *buf);
+ const void *buf);
/* Functions that operate on contiguous storage wrt boot block */
herr_t H5F_block_read (H5F_t *f, const haddr_t *addr, size_t size, void *buf);