HDF5  1.12.0
Macros | Functions | Variables
H5Olink.c File Reference
#include "H5Omodule.h"
#include "H5private.h"
#include "H5Eprivate.h"
#include "H5FLprivate.h"
#include "H5Gpkg.h"
#include "H5Iprivate.h"
#include "H5Lpkg.h"
#include "H5MMprivate.h"
#include "H5Opkg.h"

Macros

#define H5G_FRIEND   /*suppress error about including H5Gpkg */
 
#define H5L_FRIEND   /*suppress error about including H5Lpkg */
 
#define H5O_LINK_VERSION   1
 
#define H5O_LINK_NAME_SIZE   0x03 /* 2-bit field for size of name length */
 
#define H5O_LINK_STORE_CORDER   0x04 /* Whether to store creation index */
 
#define H5O_LINK_STORE_LINK_TYPE   0x08 /* Whether to store non-default link type */
 
#define H5O_LINK_STORE_NAME_CSET   0x10 /* Whether to store non-default name character set */
 
#define H5O_LINK_ALL_FLAGS   (H5O_LINK_NAME_SIZE | H5O_LINK_STORE_CORDER | H5O_LINK_STORE_LINK_TYPE | H5O_LINK_STORE_NAME_CSET)
 
#define H5O_LINK_NAME_1   0x00 /* Use 1-byte value for name length */
 
#define H5O_LINK_NAME_2   0x01 /* Use 2-byte value for name length */
 
#define H5O_LINK_NAME_4   0x02 /* Use 4-byte value for name length */
 
#define H5O_LINK_NAME_8   0x03 /* Use 8-byte value for name length */
 

Functions

 H5FL_DEFINE_STATIC (H5O_link_t)
 
herr_t H5O_link_delete (H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, void *_mesg)
 

Variables

const H5O_msg_class_t H5O_MSG_LINK [1]
 

Macro Definition Documentation

◆ H5G_FRIEND

#define H5G_FRIEND   /*suppress error about including H5Gpkg */

◆ H5L_FRIEND

#define H5L_FRIEND   /*suppress error about including H5Lpkg */

◆ H5O_LINK_ALL_FLAGS

◆ H5O_LINK_NAME_1

#define H5O_LINK_NAME_1   0x00 /* Use 1-byte value for name length */

◆ H5O_LINK_NAME_2

#define H5O_LINK_NAME_2   0x01 /* Use 2-byte value for name length */

◆ H5O_LINK_NAME_4

#define H5O_LINK_NAME_4   0x02 /* Use 4-byte value for name length */

◆ H5O_LINK_NAME_8

#define H5O_LINK_NAME_8   0x03 /* Use 8-byte value for name length */

◆ H5O_LINK_NAME_SIZE

#define H5O_LINK_NAME_SIZE   0x03 /* 2-bit field for size of name length */

◆ H5O_LINK_STORE_CORDER

#define H5O_LINK_STORE_CORDER   0x04 /* Whether to store creation index */

◆ H5O_LINK_STORE_LINK_TYPE

#define H5O_LINK_STORE_LINK_TYPE   0x08 /* Whether to store non-default link type */

◆ H5O_LINK_STORE_NAME_CSET

#define H5O_LINK_STORE_NAME_CSET   0x10 /* Whether to store non-default name character set */

◆ H5O_LINK_VERSION

#define H5O_LINK_VERSION   1

Function Documentation

◆ H5FL_DEFINE_STATIC()

H5FL_DEFINE_STATIC ( H5O_link_t  )

◆ H5O_link_delete()

herr_t H5O_link_delete ( H5F_t f,
H5O_t H5_ATTR_UNUSED open_oh,
void *  _mesg 
)

Variable Documentation

◆ H5O_MSG_LINK

const H5O_msg_class_t H5O_MSG_LINK[1]
Initial value:
= {{
"link",
sizeof(H5O_link_t),
0,
H5O__link_decode,
H5O_link_encode,
H5O_link_copy,
H5O_link_size,
H5O__link_reset,
H5O__link_free,
NULL,
NULL,
NULL,
H5O_link_pre_copy_file,
H5O__link_copy_file,
H5O__link_post_copy_file,
NULL,
NULL,
H5O__link_debug
}}
H5O_link_t
struct H5O_link_t H5O_link_t
H5O_LINK_ID
#define H5O_LINK_ID
Definition: H5Oprivate.h:205