summaryrefslogtreecommitdiffstats
path: root/src/H5FDsec2.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-05-02 15:04:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-05-02 15:04:55 (GMT)
commit076efa3382acdff44b9560909c9c28832c0ff1fe (patch)
tree822177177ff8eecd0ef1e2f64236352ea73059b8 /src/H5FDsec2.h
parentf21aa7af8ccc49e57156e2d0f99eb2770f837517 (diff)
downloadhdf5-076efa3382acdff44b9560909c9c28832c0ff1fe.zip
hdf5-076efa3382acdff44b9560909c9c28832c0ff1fe.tar.gz
hdf5-076efa3382acdff44b9560909c9c28832c0ff1fe.tar.bz2
[svn-r3885] Purpose:
Document bug fix Description: IMPORTANT! IMPORTANT! IMPORTANT! A case where metadata in a file could get corrupted in certain unusual sitations was detected and fixed. In certain circumstances, metadata could get cached in the raw data cache, and if that particular piece of metadata was updated on disk while incorrectly cached, the new metadata would get overwritten with the stale metadata from the raw data cache when it was flushed out. Additionally, I've patched up the raw data cache to be smarter about how much it caches and how much I/O it triggers, leading to some speedups. Solution: Changed the raw data I/O routines which perform caching to require a parameter with the size of the dataset being accessed and limited the cache to no more than that many bytes. Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src/H5FDsec2.h')
-rw-r--r--src/H5FDsec2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5FDsec2.h b/src/H5FDsec2.h
index fb7774a..e1484d1 100644
--- a/src/H5FDsec2.h
+++ b/src/H5FDsec2.h
@@ -14,7 +14,15 @@
#define H5FD_SEC2 (H5FD_sec2_init())
+#ifdef __cplusplus
+extern "C" {
+#endif
+
__DLL__ hid_t H5FD_sec2_init(void);
__DLL__ herr_t H5Pset_fapl_sec2(hid_t fapl_id);
+#ifdef __cplusplus
+}
+#endif
+
#endif