hdf_set_symlink(3) Set part of the tree to link to another

SYNOPSIS


#include <util/neo_hdf.h>

NEOERR *hdf_set_symlink (HDF *hdf, const char *src, const char *dest);

ARGUMENTS

hdf -> the dataset node
src -> the source node name
dest -> the destination node name (from the top of the
dataset, not relative names)

DESCRIPTION

hdf_set_symlink creates a link between two sections of an HDF dataset. The link is "by name" hence the term "symlink". This means that the destination node does not need to exist. Any attempt to access the source node will cause the function to walk to the dest node, and then continue walking from there. Using symlinks can "hide" values in the dataset since you won't be able to access any children of the linked node directly, though dumps and other things which access the data structure directly will bypass the symlink. Use this feature sparingly as its likely to surprise you.

RETURN VALUE

None