hdf_set_value(3) Set the value of a named node


#include <util/neo_hdf.h>

NEOERR* hdf_set_value (HDF *hdf, const char *name, const char *value);


hdf -> the pointer to the hdf dataset
name -> the named node to walk to
value -> the value to set the node to


hdf_set_value will set the value of a named node. All of the interstitial nodes which don't exist will be created with a value of NULL. Existing nodes are not modified. New nodes are created at the end of the list. If a list of nodes exceeds FORCE_HASH_AT, then a HASH will be created at that level and all of the nodes will be added to the hash for faster lookup times. The copy of the value will be made which the dataset will own.