summaryrefslogtreecommitdiffstats
path: root/src/H5FDstream.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/H5FDstream.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/H5FDstream.c')
-rw-r--r--src/H5FDstream.c59
1 files changed, 30 insertions, 29 deletions
diff --git a/src/H5FDstream.c b/src/H5FDstream.c
index e010d69..0596fc3 100644
--- a/src/H5FDstream.c
+++ b/src/H5FDstream.c
@@ -168,35 +168,36 @@ static herr_t H5FD_stream_write (H5FD_t *_stream, H5FD_mem_t type,
size_t size, const void *buf);
/* The Stream VFD's class information structure */
-static const H5FD_class_t H5FD_stream_g =
-{
- "stream", /* name */
- MAXADDR, /* maxaddr */
- H5F_CLOSE_WEAK, /* fc_degree */
- NULL, /* sb_size */
- NULL, /* sb_encode */
- NULL, /* sb_decode */
- sizeof (H5FD_stream_fapl_t), /* fapl_size */
- H5FD_stream_fapl_get, /* fapl_get */
- NULL, /* fapl_copy */
- NULL, /* fapl_free */
- 0, /* dxpl_size */
- NULL, /* dxpl_copy */
- NULL, /* dxpl_free */
- H5FD_stream_open, /* open */
- H5FD_stream_close, /* close */
- NULL, /* cmp */
- H5FD_stream_query, /* query */
- NULL, /* alloc */
- NULL, /* free */
- H5FD_stream_get_eoa, /* get_eoa */
- H5FD_stream_set_eoa, /* set_eoa */
- H5FD_stream_get_eof, /* get_eof */
- H5FD_stream_get_handle, /* get_handle */
- H5FD_stream_read, /* read */
- H5FD_stream_write, /* write */
- H5FD_stream_flush, /* flush */
- H5FD_FLMAP_SINGLE, /* fl_map */
+static const H5FD_class_t H5FD_stream_g = {
+ "stream", /*name */
+ MAXADDR, /*maxaddr */
+ H5F_CLOSE_WEAK, /*fc_degree */
+ NULL, /*sb_size */
+ NULL, /*sb_encode */
+ NULL, /*sb_decode */
+ sizeof (H5FD_stream_fapl_t), /*fapl_size */
+ H5FD_stream_fapl_get, /*fapl_get */
+ NULL, /*fapl_copy */
+ NULL, /*fapl_free */
+ 0, /*dxpl_size */
+ NULL, /*dxpl_copy */
+ NULL, /*dxpl_free */
+ H5FD_stream_open, /*open */
+ H5FD_stream_close, /*close */
+ NULL, /*cmp */
+ H5FD_stream_query, /*query */
+ NULL, /*alloc */
+ NULL, /*free */
+ H5FD_stream_get_eoa, /*get_eoa */
+ H5FD_stream_set_eoa, /*set_eoa */
+ H5FD_stream_get_eof, /*get_eof */
+ H5FD_stream_get_handle, /*get_handle */
+ H5FD_stream_read, /*read */
+ H5FD_stream_write, /*write */
+ H5FD_stream_flush, /*flush */
+ NULL, /*lock */
+ NULL, /*unlock */
+ H5FD_FLMAP_SINGLE /*fl_map */
};
/* Interface initialization */