198
198
 
#define H5O_DRVINFO_ID          0x0014  /* Driver info message.  */
199
199
 
#define H5O_AINFO_ID            0x0015  /* Attribute info message.  */
200
200
 
#define H5O_REFCOUNT_ID         0x0016  /* Reference count message.  */
201
201
 
#define H5O_UNKNOWN_ID          0x0017  /* Placeholder message ID for unknown message.  */
202
202
 
                                        /* (this should never exist in a file) */
203
203
 
204
204
 
/*
205
205
 
 * Note: Must increment H5O_MSG_TYPES in H5Opkg.h and update H5O_msg_class_g
206
206
 
 *      in H5O.c when creating a new message type.  Also bump the value of
207
207
 
 *      H5O_BOGUS_INVALID_ID, below, to be one greater than the value of
208
 
-
 *      H5O_UNKNOWN_ID.
 
208
+
 *      H5O_UNKNOWN_ID, and re-run gen_bogus.c.
209
209
 
 *
210
210
 
 * (this should never exist in a file)
211
211
 
 */
212
212
 
#define H5O_BOGUS_INVALID_ID    0x0018  /* "Bogus invalid" Message.  */
213
213
 
214
214
 
/* Shared object message types.
215
215
 
 * Shared objects can be committed, in which case the shared message contains
216
216
 
 * the location of the object header that holds the message, or shared in the
217
217
 
 * heap, in which case the shared message holds their heap ID.
218
218
 
 */
Show more
441
441
 
    H5O_storage_t storage;              /* Information for storing dataset elements */
442
442
 
} H5O_layout_t;
443
443
 
444
444
 
#ifdef H5O_ENABLE_BOGUS
445
445
 
/*
446
446
 
 * "Bogus" Message.
447
447
 
 * (Data structure in memory)
448
448
 
 */
449
449
 
#define H5O_BOGUS_VALUE         0xdeadbeef
450
450
 
typedef struct H5O_bogus_t {
 
451
+
    H5O_shared_t        sh_loc;         /* Shared message info (must be first) */
451
452
 
    unsigned u;                         /* Hold the bogus info */
452
453
 
} H5O_bogus_t;
453
454
 
#endif /* H5O_ENABLE_BOGUS */
454
455
 
455
456
 
/*
456
457
 
 * Group info message.
457
458
 
 * (Contains constant information about a group)
458
459
 
 * (Data structure in memory)
459
460
 
 * (if the fields in this struct are changed, remember to change the default
460
461
 
 *      group info structure in src/H5Gprivate.h - QAK)