Source
25
25
#define H5O_PACKAGE /*suppress error about including H5Opkg */
26
26
27
27
#include "H5private.h" /* Generic Functions */
28
28
#include "H5Eprivate.h" /* Error handling */
29
29
#include "H5FLprivate.h" /* Free lists */
30
30
#include "H5Opkg.h" /* Object headers */
31
31
32
32
33
33
/* PRIVATE PROTOTYPES */
34
34
static void *H5O_ginfo_decode(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
35
-
unsigned mesg_flags, unsigned *ioflags, const uint8_t *p);
35
+
unsigned mesg_flags, unsigned *ioflags, size_t p_size, const uint8_t *p);
36
36
static herr_t H5O_ginfo_encode(H5F_t *f, hbool_t disable_shared, uint8_t *p, const void *_mesg);
37
37
static void *H5O_ginfo_copy(const void *_mesg, void *_dest);
38
38
static size_t H5O_ginfo_size(const H5F_t *f, hbool_t disable_shared, const void *_mesg);
39
39
static herr_t H5O_ginfo_free(void *_mesg);
40
40
static herr_t H5O_ginfo_debug(H5F_t *f, hid_t dxpl_id, const void *_mesg,
41
41
FILE * stream, int indent, int fwidth);
42
42
43
43
/* This message derives from H5O message class */
44
44
const H5O_msg_class_t H5O_MSG_GINFO[1] = {{
45
45
H5O_GINFO_ID, /*message id number */
87
87
* Failure: NULL
88
88
*
89
89
* Programmer: Quincey Koziol
90
90
* koziol@ncsa.uiuc.edu
91
91
* Aug 30 2005
92
92
*
93
93
*-------------------------------------------------------------------------
94
94
*/
95
95
static void *
96
96
H5O_ginfo_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
97
-
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
97
+
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags,
98
+
size_t H5_ATTR_UNUSED p_size, const uint8_t *p)
98
99
{
99
100
H5O_ginfo_t *ginfo = NULL; /* Pointer to group information message */
100
101
unsigned char flags; /* Flags for encoding group info */
101
102
void *ret_value; /* Return value */
102
103
103
104
FUNC_ENTER_NOAPI_NOINIT
104
105
105
106
/* check args */
106
107
HDassert(p);
107
108