H5Glink2

fnherr_t H5Glink2(hid_t cur_loc_id, const char * cur_name, H5G_link_t type, hid_t new_loc_id, const char * new_name)

Creates a link with separate source and destination locations (deprecated).

Use H5Lcreate_hard or H5Lcreate_soft instead.

Parameters

cur_loc_idSource location identifier
cur_nameName of the existing object or link target
typeLink type (H5G_link_t)
new_loc_idDestination location identifier
new_nameName of the new link

Returns

Non-negative on success, negative on failure.