diff options
author | Peter Cao <xcao@hdfgroup.org> | 2012-03-12 21:27:11 (GMT) |
---|---|---|
committer | Peter Cao <xcao@hdfgroup.org> | 2012-03-12 21:27:11 (GMT) |
commit | fcf96afeb24119690187ac3907d23070f0ba99d1 (patch) | |
tree | bc32b923260a7d42dca3f14df655c87762fcf48a /tools/lib/h5tools_str.h | |
parent | d7f3dc097ef2c8ced8068879044ce6b9fdd9936e (diff) | |
download | hdf5-fcf96afeb24119690187ac3907d23070f0ba99d1.zip hdf5-fcf96afeb24119690187ac3907d23070f0ba99d1.tar.gz hdf5-fcf96afeb24119690187ac3907d23070f0ba99d1.tar.bz2 |
[svn-r22052] - h5dump: Added capability for "-a" option to show attributes containing "/"
by using an escape character. For example, for a dataset "/dset"
containing attribute "speed(m/h)", use "h5dump -a "/dset/speed(\/h)"
to show the content of the attribute. See details at HDFFV-7523
Diffstat (limited to 'tools/lib/h5tools_str.h')
-rw-r--r-- | tools/lib/h5tools_str.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/h5tools_str.h b/tools/lib/h5tools_str.h index 9527a56..38697c6 100644 --- a/tools/lib/h5tools_str.h +++ b/tools/lib/h5tools_str.h @@ -47,5 +47,7 @@ H5TOOLS_DLL void h5tools_str_sprint_region(h5tools_str_t *str, const h5tool_ H5TOOLS_DLL char *h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t container, hid_t type, void *vp, h5tools_context_t *ctx); +H5TOOLS_DLL char *h5tools_str_replace ( const char *string, const char *substr, + const char *replacement ); #endif /* H5TOOLS_STR_H__ */ |