diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-08-30 22:35:18 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-08-30 22:35:18 (GMT) |
commit | 0c35d06692ac03b49a76a60b761ee8f848325825 (patch) | |
tree | 8a1089fa203ff3a36c732def887c1774fe338b56 /src/H5RCprivate.h | |
parent | 07cec1d559fdcbcc6896fe05c254d99df710df2a (diff) | |
download | hdf5-0c35d06692ac03b49a76a60b761ee8f848325825.zip hdf5-0c35d06692ac03b49a76a60b761ee8f848325825.tar.gz hdf5-0c35d06692ac03b49a76a60b761ee8f848325825.tar.bz2 |
[svn-r24091] Start adding infrastructure for Transaction and Read Context changes
Diffstat (limited to 'src/H5RCprivate.h')
-rw-r--r-- | src/H5RCprivate.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/H5RCprivate.h b/src/H5RCprivate.h new file mode 100644 index 0000000..e4ffa75 --- /dev/null +++ b/src/H5RCprivate.h @@ -0,0 +1,61 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Copyright by The HDF Group. * + * Copyright by the Board of Trustees of the University of Illinois. * + * All rights reserved. * + * * + * This file is part of HDF5. The full HDF5 copyright notice, including * + * terms governing use, modification, and redistribution, is contained in * + * the files COPYING and Copyright.html. COPYING can be found at the root * + * of the source code distribution tree; Copyright.html can be found at the * + * root level of an installed copy of the electronic HDF5 document set and * + * is linked from the top-level documents page. It can also be found at * + * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have * + * access to either file, you may request a copy from help@hdfgroup.org. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +/* + * This file contains private information about the H5RC module + */ +#ifndef _H5RCprivate_H +#define _H5RCprivate_H + +/* Include package's public header */ +#include "H5RCpublic.h" + +/* Private headers needed by this file */ +#include "H5private.h" /* Generic Functions */ +#include "H5Pprivate.h" /* Property lists */ +#include "H5VLprivate.h" /* VOL plugins */ + +/**************************/ +/* Library Private Macros */ +/**************************/ + +/****************************/ +/* Library Private Typedefs */ +/****************************/ +/* the client Read Context struct */ +typedef struct H5RC_t { + void *file; + uint64_t c_version; +} H5RC_t; + +/*****************************/ +/* Library Private Variables */ +/*****************************/ + +/******************************/ +/* 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 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 /* _H5RCprivate_H */ |