summaryrefslogtreecommitdiffstats
path: root/src/H5Ocont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ocont.c')
-rw-r--r--src/H5Ocont.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/H5Ocont.c b/src/H5Ocont.c
index e9bda3e..ff81be9 100644
--- a/src/H5Ocont.c
+++ b/src/H5Ocont.c
@@ -25,23 +25,24 @@
#define PABLO_MASK H5O_cont_mask
/* PRIVATE PROTOTYPES */
-static void *H5O_cont_decode(H5F_t *f, const uint8 *p, H5HG_t *hobj);
+static void *H5O_cont_decode(H5F_t *f, const uint8 *p, H5O_shared_t *sh);
static herr_t H5O_cont_encode(H5F_t *f, uint8 *p, const void *_mesg);
static herr_t H5O_cont_debug(H5F_t *f, const void *_mesg, FILE * stream,
intn indent, intn fwidth);
/* This message derives from H5O */
const H5O_class_t H5O_CONT[1] = {{
- H5O_CONT_ID, /*message id number */
- "hdr continuation", /*message name for debugging */
- sizeof(H5O_cont_t), /*native message size */
- H5O_cont_decode, /*decode message */
- H5O_cont_encode, /*encode message */
- NULL, /*no copy method */
- NULL, /*no size method */
- NULL, /*default reset method */
- NULL, /*no share method */
- H5O_cont_debug, /*debugging */
+ H5O_CONT_ID, /*message id number */
+ "hdr continuation", /*message name for debugging */
+ sizeof(H5O_cont_t), /*native message size */
+ H5O_cont_decode, /*decode message */
+ H5O_cont_encode, /*encode message */
+ NULL, /*no copy method */
+ NULL, /*no size method */
+ NULL, /*default reset method */
+ NULL, /*get share method */
+ NULL, /*set share method */
+ H5O_cont_debug, /*debugging */
}};
/* Interface initialization */
@@ -66,7 +67,7 @@ static intn interface_initialize_g = FALSE;
*-------------------------------------------------------------------------
*/
static void *
-H5O_cont_decode(H5F_t *f, const uint8 *p, H5HG_t __unused__ *hobj)
+H5O_cont_decode(H5F_t *f, const uint8 *p, H5O_shared_t __unused__ *sh)
{
H5O_cont_t *cont = NULL;
@@ -75,7 +76,7 @@ H5O_cont_decode(H5F_t *f, const uint8 *p, H5HG_t __unused__ *hobj)
/* check args */
assert(f);
assert(p);
- assert (!hobj || !H5HG_defined (hobj));
+ assert (!sh);
/* decode */
cont = H5MM_xcalloc(1, sizeof(H5O_cont_t));