hdf_get_copy man page

hdf_get_copy — Returns a copy of a string in the HDF data set

Synopsis

#include <util/neo_hdf.h>
NEOERR* hdf_get_copy (HDF *hdf, const char *name, char **value,
                      const char *defval);

Arguments

hdf -> the dataset node to start from
name -> the name to walk the data set to
defval -> the default value to return if the node doesn't
exist

Description

hdf_get_copy is similar to hdf_get_value, except that it returns an malloc'd copy of the string.

Return Value

value -> the allocated string (if defval = NULL, then value
will be NULL if defval is used)

See Also

hdf_set_symlink(3), hdf_get_valuef(3), compareFunc)(3), hdf_dump_str(3), hdf_get_int_value(3), hdf_read_string_ignore(3), hdf_copy(3), hdf_get_node(3), hdf_set_value(3), hdf_obj_child(3), hdf_read_string(3), hdf_set_buf(3), hdf_register_fileload(3), hdf_get_obj(3), hdf_get_attr(3), hdf_obj_top(3), hdf_dump_format(3), hdf_destroy(3), hdf_init(3), hdf_obj_value(3), hdf_write_string(3), hdf_set_valuevf(3), hdf_sort_obj(3), hdf_write_file_atomic(3), hdf_obj_attr(3), hdf_set_valuef(3), hdf_get_copy(3), hdf_write_file(3), hdf_get_valuevf(3), hdf_set_int_value(3), hdf_dump(3), hdf_get_value(3), hdf_set_copy(3), hdf_obj_next(3), hdf_search_path(3), hdf_obj_name(3), hdf_set_attr(3), hdf_get_child(3), hdf_remove_tree

Referenced By

hdf_copy(3), hdf_destroy(3), hdf_dump(3), hdf_dump_format(3), hdf_dump_str(3), hdf_get_attr(3), hdf_get_child(3), hdf_get_int_value(3), hdf_get_node(3), hdf_get_obj(3), hdf_get_value(3), hdf_get_valuef(3), hdf_get_valuevf(3), hdf_init(3), hdf_obj_attr(3), hdf_obj_child(3), hdf_obj_name(3), hdf_obj_next(3), hdf_obj_top(3), hdf_obj_value(3), hdf_read_string(3), hdf_read_string_ignore(3), hdf_register_fileload(3), hdf_remove_tree(3), hdf_search_path(3), hdf_set_attr(3), hdf_set_buf(3), hdf_set_copy(3), hdf_set_int_value(3), hdf_set_symlink(3), hdf_set_value(3), hdf_set_valuef(3), hdf_sort_obj(3), hdf_write_file(3), hdf_write_file_atomic(3), hdf_write_string(3).

12 July 2007 ClearSilver util/neo_hdf.h