summaryrefslogtreecommitdiffstats
path: root/src/H5SMpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-21 19:58:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-21 19:58:48 (GMT)
commit1e07756ac265fad1171cd18efcdb2b0ba9bb903d (patch)
tree92f09eaab8d0ad899a15ef089cc1b7c5f4e07440 /src/H5SMpkg.h
parent9deb5961eeb5265c54df1a8a9daf0cea6c3cded6 (diff)
downloadhdf5-1e07756ac265fad1171cd18efcdb2b0ba9bb903d.zip
hdf5-1e07756ac265fad1171cd18efcdb2b0ba9bb903d.tar.gz
hdf5-1e07756ac265fad1171cd18efcdb2b0ba9bb903d.tar.bz2
[svn-r13367] Description:
Allow "big" attributes to push attribute storage into "dense" form immediately, to accomodate storing the attribute. (This is only allowed in the "latest" version of the format). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5SMpkg.h')
-rwxr-xr-xsrc/H5SMpkg.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/H5SMpkg.h b/src/H5SMpkg.h
index cf80959..aab7eb3 100755
--- a/src/H5SMpkg.h
+++ b/src/H5SMpkg.h
@@ -21,10 +21,17 @@
* the H5SM shared object header messages package. Source files
* outside the H5SM package should include H5SMprivate.h instead.
*/
+#ifndef H5SM_PACKAGE
+#error "Do not include this file outside the H5SM package!"
+#endif
+
#ifndef _H5SMpkg_H
#define _H5SMpkg_H
-#include "H5SMprivate.h"
+/* Get package's private header */
+#include "H5SMprivate.h" /* Shared Object Header Messages */
+
+/* Other private headers needed by this file */
#include "H5B2private.h" /* B-trees */
#include "H5HFprivate.h" /* Fractal heaps */
@@ -141,13 +148,13 @@ typedef struct {
/* Typedef for shared object header message master table */
-typedef struct {
+struct H5SM_master_table_t {
/* Information for H5AC cache functions, _must_ be first field in structure */
H5AC_info_t cache_info;
uint8_t num_indexes; /* Number of indexes */
H5SM_index_header_t *indexes; /* Array of num_indexes indexes */
-} H5SM_master_table_t;
+};
/*
* Data exchange structure to pass through the fractal heap layer for the