diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-01-23 03:46:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-01-23 03:46:31 (GMT) |
commit | 0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c (patch) | |
tree | 02ecf7104bff4571de31ac0254449b3d0e2b0642 /src/H5Osdspace.c | |
parent | 58db19e6c576fbc12fdf756f1c2aee8186f1e90a (diff) | |
download | hdf5-0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c.zip hdf5-0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c.tar.gz hdf5-0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c.tar.bz2 |
[svn-r13176] Description:
Push code further toward shared message method calling refactor.
Tested on:
FreeBSD/32 6.2 (duty)
Too minor to require h5committest
Diffstat (limited to 'src/H5Osdspace.c')
-rw-r--r-- | src/H5Osdspace.c | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/src/H5Osdspace.c b/src/H5Osdspace.c index dc5ab95..c6dad3f 100644 --- a/src/H5Osdspace.c +++ b/src/H5Osdspace.c @@ -25,7 +25,7 @@ /* PRIVATE PROTOTYPES */ -static void *H5O_sdspace_decode(H5F_t *f, hid_t dxpl_id, const uint8_t *p); +static void *H5O_sdspace_decode(H5F_t *f, hid_t dxpl_id, unsigned mesg_flags, const uint8_t *p); static herr_t H5O_sdspace_encode(H5F_t *f, uint8_t *p, const void *_mesg); static void *H5O_sdspace_copy(const void *_mesg, void *_dest); static size_t H5O_sdspace_size(const H5F_t *f, const void *_mesg); @@ -107,9 +107,10 @@ H5FL_ARR_EXTERN(hsize_t); Decode a simple dimensionality message and return a pointer to a memory struct with the decoded information USAGE - void *H5O_sdspace_decode(f, raw_size, p) - H5F_t *f; IN: pointer to the HDF5 file struct - size_t raw_size; IN: size of the raw information buffer + void *H5O_sdspace_decode(f, dxpl_id, mesg_flags, p) + H5F_t *f; IN: pointer to the HDF5 file struct + hid_t dxpl_id; IN: DXPL for any I/O + unsigned mesg_flags; IN: Message flags to influence decoding const uint8 *p; IN: the raw information buffer RETURNS Pointer to the new message in native order on success, NULL on failure @@ -117,23 +118,10 @@ H5FL_ARR_EXTERN(hsize_t); This function decodes the "raw" disk form of a simple dimensionality message into a struct in memory native format. The struct is allocated within this function using malloc() and is returned to the caller. - - MODIFICATIONS - Robb Matzke, 1998-04-09 - The current and maximum dimensions are now H5F_SIZEOF_SIZET bytes - instead of just four bytes. - - Robb Matzke, 1998-07-20 - Added a version number and reformatted the message for aligment. - - Raymond Lu - April 8, 2004 - Added the type of dataspace into this header message using a reserved - byte. - --------------------------------------------------------------------------*/ static void * -H5O_sdspace_decode(H5F_t *f, hid_t UNUSED dxpl_id, const uint8_t *p) +H5O_sdspace_decode(H5F_t *f, hid_t UNUSED dxpl_id, unsigned UNUSED mesg_flags, + const uint8_t *p) { H5S_extent_t *sdim = NULL;/* New extent dimensionality structure */ void *ret_value; |