diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-09-05 22:59:46 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-09-05 22:59:46 (GMT) |
commit | 263d13a4c760c61c293ae9840aaf2f4ce76d541a (patch) | |
tree | 1ce486654076344c450fe882e6710a3523cfa7ff /src/H5RCprivate.h | |
parent | 0c35d06692ac03b49a76a60b761ee8f848325825 (diff) | |
download | hdf5-263d13a4c760c61c293ae9840aaf2f4ce76d541a.zip hdf5-263d13a4c760c61c293ae9840aaf2f4ce76d541a.tar.gz hdf5-263d13a4c760c61c293ae9840aaf2f4ce76d541a.tar.bz2 |
[svn-r24102] add trans and read context operations:
add small test to verify correct function shipping
usage of transaction in other operations is still missing.
Diffstat (limited to 'src/H5RCprivate.h')
-rw-r--r-- | src/H5RCprivate.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/H5RCprivate.h b/src/H5RCprivate.h index e4ffa75..bb77ede 100644 --- a/src/H5RCprivate.h +++ b/src/H5RCprivate.h @@ -27,6 +27,8 @@ #include "H5Pprivate.h" /* Property lists */ #include "H5VLprivate.h" /* VOL plugins */ +#ifdef H5_HAVE_EFF + /**************************/ /* Library Private Macros */ /**************************/ @@ -36,7 +38,7 @@ /****************************/ /* the client Read Context struct */ typedef struct H5RC_t { - void *file; + struct H5VL_iod_file_t *file; uint64_t c_version; } H5RC_t; @@ -47,15 +49,11 @@ typedef struct H5RC_t { /******************************/ /* Library Private Prototypes */ /******************************/ -#if 0 herr_t H5RC_init(void); -/* API wrappers */ H5_DLL H5RC_t *H5RC_create(void *file, uint64_t c_version); -H5_DLL herr_t H5RC_close(H5RC_t *rc); +H5_DLL herr_t H5RC_close(H5RC_t *rcxt); -H5_DLL herr_t H5VL_iod_rc_acquire(H5VL_iod_file_t *file, H5RC_t *rc, void **req); -H5_DLL herr_t H5VL_iod_rc_release(H5RC_t *rc, void **req); -#endif +#endif /* H5_HAVE_EFF */ #endif /* _H5RCprivate_H */ |