summaryrefslogtreecommitdiffstats
path: root/src/H5Apkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-19 17:31:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-19 17:31:41 (GMT)
commitd4909147e16628c04ce64e272503f96030f1df30 (patch)
treedcffc28e2f1155bc99345ef390a6999821aa94c5 /src/H5Apkg.h
parent46598f35cafc38ff166783e57d5622f4a1a3153e (diff)
downloadhdf5-d4909147e16628c04ce64e272503f96030f1df30.zip
hdf5-d4909147e16628c04ce64e272503f96030f1df30.tar.gz
hdf5-d4909147e16628c04ce64e272503f96030f1df30.tar.bz2
[svn-r13156] Description:
Begin refactoring code to straighten out the contorted code that handles shared messages. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Apkg.h')
-rw-r--r--src/H5Apkg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Apkg.h b/src/H5Apkg.h
index a3910a9..6fa92e8 100644
--- a/src/H5Apkg.h
+++ b/src/H5Apkg.h
@@ -57,6 +57,8 @@
/* Define the main attribute structure */
struct H5A_t {
+ H5O_shared_t sh_loc; /* Shared message info (must be first) */
+
hbool_t initialized;/* Indicate whether the attribute has been modified */
hbool_t obj_opened; /* Object header entry opened? */
H5O_loc_t oloc; /* Object location for object attribute is on */
@@ -69,7 +71,6 @@ struct H5A_t {
size_t ds_size; /* Size of dataspace on disk */
void *data; /* Attribute data (on a temporary basis) */
size_t data_size; /* Size of data on disk */
- H5O_shared_t sh_loc; /* Location of shared message */
H5O_crt_idx_t crt_idx; /* Attribute's creation index in the object header */
};