summaryrefslogtreecommitdiffstats
path: root/src/H5FDsrb.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-03-19 23:29:23 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-03-19 23:29:23 (GMT)
commit02be089f0c99850da11b0e693235df90f6d08c16 (patch)
tree992073bf8f39fb143c7779afc2fd1d090a73a32d /src/H5FDsrb.c
parent43c2e1bab7662ef781545b4d82a2112a6d04823a (diff)
downloadhdf5-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.c21
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 */