diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-19 23:29:23 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2003-03-19 23:29:23 (GMT) |
commit | 02be089f0c99850da11b0e693235df90f6d08c16 (patch) | |
tree | 992073bf8f39fb143c7779afc2fd1d090a73a32d /src/H5FDsrb.c | |
parent | 43c2e1bab7662ef781545b4d82a2112a6d04823a (diff) | |
download | hdf5-02be089f0c99850da11b0e693235df90f6d08c16.zip hdf5-02be089f0c99850da11b0e693235df90f6d08c16.tar.gz hdf5-02be089f0c99850da11b0e693235df90f6d08c16.tar.bz2 |
[svn-r6501] Purpose:
New Feature
Description:
Added support for the lock and unlock function calls for file
drivers. Only FPHDF5 uses this feature. All of these drivers don't
define lock or unlock methods.
Platforms tested:
Linux, Modi4, Sol
Misc. update:
Diffstat (limited to 'src/H5FDsrb.c')
-rw-r--r-- | src/H5FDsrb.c | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/H5FDsrb.c b/src/H5FDsrb.c index 1200f6a..bde1cc4 100644 --- a/src/H5FDsrb.c +++ b/src/H5FDsrb.c @@ -1,7 +1,18 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * 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://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have * + * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + /* - * Copyright (c) 1999-2001 NCSA - * All rights reserved. - * * Programmer: Raymond Lu <slu@ncsa.uiuc.edu> * Wednesday, April 12, 2000 * @@ -135,7 +146,9 @@ static const H5FD_class_t H5FD_srb_g = { H5FD_srb_read, /*read */ H5FD_srb_write, /*write */ H5FD_srb_flush, /*flush */ - H5FD_FLMAP_SINGLE, /*fl_map */ + NULL, /*lock */ + NULL, /*unlock */ + H5FD_FLMAP_SINGLE /*fl_map */ }; /* Interface initialization */ |