summaryrefslogtreecommitdiffstats
path: root/src/H5Einit.h
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-02-07 22:06:25 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-02-07 22:06:25 (GMT)
commitc614ba6fccbd3e665d2bd91c23e7f129e01b8f27 (patch)
tree0e5d3dd50ea6ec7c5937da6386204689627803df /src/H5Einit.h
parent06f7971a13a5e026a4711a7408319840456a1541 (diff)
downloadhdf5-c614ba6fccbd3e665d2bd91c23e7f129e01b8f27.zip
hdf5-c614ba6fccbd3e665d2bd91c23e7f129e01b8f27.tar.gz
hdf5-c614ba6fccbd3e665d2bd91c23e7f129e01b8f27.tar.bz2
[svn-r21915] starting to set up vol framework
fopen, fclose, fcreate routed through native vol
Diffstat (limited to 'src/H5Einit.h')
-rw-r--r--src/H5Einit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Einit.h b/src/H5Einit.h
index 802c94a..7022297 100644
--- a/src/H5Einit.h
+++ b/src/H5Einit.h
@@ -49,6 +49,11 @@ if((msg = H5E_create_msg(cls, H5E_MAJOR, "Virtual File Layer"))==NULL)
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
if((H5E_VFL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
+assert(H5E_VOL_g==(-1));
+if((msg = H5E_create_msg(cls, H5E_MAJOR, "Virtual Object Layer"))==NULL)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")
+if((H5E_VOL_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, "can't register error message")
assert(H5E_INTERNAL_g==(-1));
if((msg = H5E_create_msg(cls, H5E_MAJOR, "Internal error (too specific to document in detail)"))==NULL)
HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, "error message initialization failed")