summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorLeon Arber <larber@ncsa.uiuc.edu>2004-10-26 20:45:52 (GMT)
committerLeon Arber <larber@ncsa.uiuc.edu>2004-10-26 20:45:52 (GMT)
commit74d574632fd5aed6c11902caaa87aa33055bf2ce (patch)
tree546c5886311ec4bf600c44a223dd343adb4be200 /src/H5Ppublic.h
parent3b63db5f7fb8299ab60a2af8a709e9e33764c11e (diff)
downloadhdf5-74d574632fd5aed6c11902caaa87aa33055bf2ce.zip
hdf5-74d574632fd5aed6c11902caaa87aa33055bf2ce.tar.gz
hdf5-74d574632fd5aed6c11902caaa87aa33055bf2ce.tar.bz2
[svn-r9461] Purpose:
Changed functionality of H5Pget_data_transform Description: H5Pget_data_transform no longer allocates memory for the transform string...it is the user's responsbility to do so. Solution: Made H5Pget_data_transform be more in line with other functions that do similiar things: User now has to allocate memory for the string themselves and specify how much of the string should be copied into the buffer. There is also support for querying the length of the transform string. Platforms tested: sol + eirene + copper Misc. update:
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index bd9518e..6df6d0a 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -198,7 +198,7 @@ H5_DLL H5D_layout_t H5Pget_layout(hid_t plist_id);
H5_DLL herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[]);
H5_DLL int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[]/*out*/);
H5_DLL herr_t H5Pset_data_transform(hid_t plist_id, const char* expression);
-H5_DLL herr_t H5Pget_data_transform(hid_t plist_id, char** expression);
+H5_DLL ssize_t H5Pget_data_transform(hid_t plist_id, char* expression /*out*/, size_t size);
H5_DLL herr_t H5Pset_external(hid_t plist_id, const char *name, off_t offset,
hsize_t size);
H5_DLL int H5Pget_external_count(hid_t plist_id);