summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-02-06 22:20:29 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-02-06 22:20:29 (GMT)
commitad1bf227cdcacb6f0f4e6649c248b47fd0029260 (patch)
tree9576512e732657a025b1c60d812c341930805504
parent4507d01c422589274b0b35371db150a5c173ca09 (diff)
downloadhdf5-ad1bf227cdcacb6f0f4e6649c248b47fd0029260.zip
hdf5-ad1bf227cdcacb6f0f4e6649c248b47fd0029260.tar.gz
hdf5-ad1bf227cdcacb6f0f4e6649c248b47fd0029260.tar.bz2
[svn-r6381] Purpose:
Field Addition Description: Added a File ID field to the H5FD_t structure so that, way deep down in the H5FD_* functions, I'll know what ID the SAP wants for this particular file. This is #ifdef'd out so that if you don't have FPHDF5 enabled, then it won't be there... Platforms tested: Linux
-rw-r--r--src/H5FDpublic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h
index b81eed7..3cf1c94 100644
--- a/src/H5FDpublic.h
+++ b/src/H5FDpublic.h
@@ -167,6 +167,9 @@ typedef struct H5FD_free_t {
*/
struct H5FD_t {
hid_t driver_id; /*driver ID for this file*/
+#ifdef H5_HAVE_FPHDF5
+ unsigned fphdf5_id; /*ID used by the SAP */
+#endif /* H5_HAVE_FPHDF5 */
const H5FD_class_t *cls; /*constant class info */
unsigned long fileno[2]; /* File serial number */