diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-03 00:54:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-03 00:54:33 (GMT) |
commit | e9ea7e8eaf0627f863d8a5f7805fdbb4334a67b0 (patch) | |
tree | 541b769b58cd16e4b297cd8f5abee0fb820a2802 /src/H5Fpkg.h | |
parent | 84a4166e72abac9eb08a7daa3f67c90227641cda (diff) | |
download | hdf5-e9ea7e8eaf0627f863d8a5f7805fdbb4334a67b0.zip hdf5-e9ea7e8eaf0627f863d8a5f7805fdbb4334a67b0.tar.gz hdf5-e9ea7e8eaf0627f863d8a5f7805fdbb4334a67b0.tar.bz2 |
[svn-r12708] Description:
Add the "use the latest version of the format" support to datatype
messages. And a regression test to check that it's working.
Also, found that we have been over-allocating space for compound datatype
messages (when they have array datatypes or can use the latest version of the
format) and trimmed the size back.
Clean up datatype & dataspace encode/decode routines by having them
allocate & release "fake" file structures, which gets them out of needing to
"know" about the internals of file structures.
Other minor whitespace/formatting cleanups, etc.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r-- | src/H5Fpkg.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h index 7944c89..a0e96d7 100644 --- a/src/H5Fpkg.h +++ b/src/H5Fpkg.h @@ -35,6 +35,7 @@ /* Other private headers needed by this file */ #include "H5private.h" /* Generic Functions */ +#include "H5FLprivate.h" /* Free Lists */ #include "H5FOprivate.h" /* File objects */ #include "H5Gprivate.h" /* Groups */ #include "H5RCprivate.h" /* Reference counted object functions */ @@ -155,12 +156,22 @@ struct H5F_t { H5F_mtab_t mtab; /* File mount table */ }; -/* Forward declarations for prototype arguments */ -struct H5D_dxpl_cache_t; -struct H5D_dcpl_cache_t; -union H5D_storage_t; +/*****************************/ +/* Package Private Variables */ +/*****************************/ + +/* Declare a free list to manage the H5F_t struct */ +H5FL_EXTERN(H5F_t); + +/* Declare a free list to manage the H5F_file_t struct */ +H5FL_EXTERN(H5F_file_t); + + +/******************************/ +/* Package Private Prototypes */ +/******************************/ + -/* Private functions, not part of the publicly documented API */ #ifdef NOT_YET H5_DLL void H5F_encode_length_unusual(const H5F_t *f, uint8_t **p, uint8_t *l); #endif /* NOT_YET */ |