Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content Layer
id1195548671
Content Column
width50.00001%
id1195578110
classrm_pagetree_col mobile-hide
Content Block
id1195578111
 
Content Column
width50.00001%
id1195548673
classhdf-rm-main-column
Content Block
id1195548672

Include Content
render-without-blockstrue
page.rm-navbar
HTML Wrap
classhdf-print-only

Page Title

HTML Wrap
classhdf-rm-summary-block

Hdf rm anchor
AnchorNamesummary

Excerpt

Retrieves the external link traversal callback function from the specified link access property list

HTML Wrap
classhdf-rm-content-block

Hdf rm anchor
AnchorNameprocedure

HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf_procedure

H5P_GET_ELINK_CB ( lapl_id, func, op_data )

Hdf rm anchor
AnchorNamesignature

HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf-togglebox hdf-c

HTML Add Class
hdf-togglebutton-visible
hdf-togglebutton-visible
selector.hdf-togglebutton.hdf-c

HTML
<pre><code class="language-c">herr_t H5Pget_elink_cb(
            hid_t lapl_id,
            H5L_elink_traverse_t *func,
            void **op_data
        )

  </code></pre>
HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

HTML Add Class
hdf-togglebutton-visible
hdf-togglebutton-visible
selector.hdf-togglebutton.hdf-fortran

HTML
<pre><code class="language-fortran">NONE</code></pre>

Hdf rm anchor
AnchorNameparameters

HTML Wrap
classhdf-rm-section
hid_t lapl_idIN: Link access property list identifier
H5L_elink_traverse_t *funcOUT: User-defined external link traversal callback function
void **op_dataOUT: User-defined input data for the callback function

Hdf rm anchor
AnchorNamedescription

HTML Wrap
classhdf-rm-section

H5P_GET_ELINK_CB retrieves the user-defined external link traversal callback function defined in the specified link access property list.

The callback function may adjust the file access property list and file access flag to use when opening a file through an external link. The callback will be executed by the HDF5 library immediately before opening the target file.

Hdf rm anchor
AnchorNamereturns

HTML Wrap
classhdf-rm-section

Returns a non-negative value if successful; otherwise returns a negative value.

HTML Wrap
classhdf-rm-section

H5P_GET_ELINK_CB will fail if the link access property list identifier, lapl_id, is invalid.

An invalid function pointer or data pointer, func or op_data respectively, may cause a segmentation fault or an invalid memory access.

Hdf rm anchor
AnchorNameexample

HTML Wrap
classhdf-rm-section

The following code retrieves the external link callback settings on the link access property list lapl_id into local variables:


H5L_elink_traverse_t elink_callback_func; void *elink_callback_udata; status = H5Pget_elink_cb(lapl_id, &elink_callback_func, &elink_callback_udata);

 

Comment
HTML Wrap
classhdf-togglebox hdf-c

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/1.10/master
projectKeyHDFFV
filepathexamples/h5_subset.c
showLineNumberstrue
lineStart32
progLangcpp
lineEnd42
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/1.10/master
projectKeyHDFFV
filepathfortran/examples/compound.f90
showLineNumberstrue
lineStart25
progLangplain
lineEnd35
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

Hdf rm anchor
AnchorNamehistory

HTML Wrap
classhdf-rm-section
Release    Change
1.8.3C function introduced in this release.