29
29
 
30
30
 
#include "H5private.h"      /* Generic Functions            */
31
31
 
#include "H5Eprivate.h"     /* Error handling           */
32
32
 
#include "H5FLprivate.h"    /* Free Lists               */
33
33
 
#include "H5MFprivate.h"    /* File memory management       */
34
34
 
#include "H5Opkg.h"             /* Object headers           */
35
35
 
36
36
 
37
37
 
/* PRIVATE PROTOTYPES */
38
38
 
static void *H5O_cont_decode(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
39
 
-
    unsigned mesg_flags, unsigned *ioflags, const uint8_t *p);
 
39
+
    unsigned mesg_flags, unsigned *ioflags, size_t p_size, const uint8_t *p);
40
40
 
static herr_t H5O_cont_encode(H5F_t *f, hbool_t disable_shared, uint8_t *p, const void *_mesg);
41
41
 
static size_t H5O_cont_size(const H5F_t *f, hbool_t disable_shared, const void *_mesg);
42
42
 
static herr_t H5O_cont_free(void *mesg);
43
43
 
static herr_t H5O_cont_delete(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, void *_mesg);
44
44
 
static herr_t H5O_cont_debug(H5F_t *f, hid_t dxpl_id, const void *_mesg, FILE * stream,
45
45
 
                 int indent, int fwidth);
46
46
 
47
47
 
/* This message derives from H5O message class */
48
48
 
const H5O_msg_class_t H5O_MSG_CONT[1] = {{
49
49
 
    H5O_CONT_ID,                /*message id number             */
Show more
82
82
 
 *              Failure:        NULL
83
83
 
 *
84
84
 
 * Programmer:  Robb Matzke
85
85
 
 *              matzke@llnl.gov
86
86
 
 *              Aug  6 1997
87
87
 
 *
88
88
 
 *-------------------------------------------------------------------------
89
89
 
 */
90
90
 
static void *
91
91
 
H5O_cont_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
92
 
-
    unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
 
92
+
    unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags,
 
93
+
    size_t H5_ATTR_UNUSED p_size, const uint8_t *p)
93
94
 
{
94
95
 
    H5O_cont_t             *cont = NULL;
95
96
 
    void                   *ret_value;
96
97
 
97
98
 
    FUNC_ENTER_NOAPI_NOINIT
98
99
 
99
100
 
    /* check args */
100
101
 
    HDassert(f);
101
102
 
    HDassert(p);
102
103