summaryrefslogtreecommitdiffstats
path: root/src/H5VLiod_encdec.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-08-06 15:01:59 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-08-06 15:01:59 (GMT)
commit53439040224d74e255b40c7c92556cf662a55ef8 (patch)
tree8b75cd1bdfd96e07f282f00f641c4b10b3f9a4de /src/H5VLiod_encdec.c
parent4db8adb56cb6a5f620f4758e0b1ec1cd7745e964 (diff)
downloadhdf5-53439040224d74e255b40c7c92556cf662a55ef8.zip
hdf5-53439040224d74e255b40c7c92556cf662a55ef8.tar.gz
hdf5-53439040224d74e255b40c7c92556cf662a55ef8.tar.bz2
[svn-r23972] - Merge common code between read and write operations in IOD VOL client and server.
- Seperate code uncompatible with VL data. - Fix use of IOD mem-descriptors - add support for basic H5T_VLEN and vl strings. -- Compound & array types containing VL data are not supported for now. -- VL of VL types are not supported for now.
Diffstat (limited to 'src/H5VLiod_encdec.c')
-rw-r--r--src/H5VLiod_encdec.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/H5VLiod_encdec.c b/src/H5VLiod_encdec.c
index 80cab90..46ec6a2 100644
--- a/src/H5VLiod_encdec.c
+++ b/src/H5VLiod_encdec.c
@@ -25,6 +25,21 @@
#ifdef H5_HAVE_EFF
+int hg_proc_size_t(hg_proc_t proc, void *data)
+{
+ int ret = HG_SUCCESS;
+ size_t *struct_data = (size_t *) data;
+
+ ret = hg_proc_memcpy(proc, struct_data, sizeof(size_t));
+ if (ret != HG_SUCCESS) {
+ HG_ERROR_DEFAULT("Proc error");
+ ret = HG_FAIL;
+ return ret;
+ }
+
+ return ret;
+}
+
/* Define hg_proc_ret_t */
int hg_proc_ret_t(hg_proc_t proc, void *data)
{