summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-12-13 03:19:43 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-12-13 03:19:43 (GMT)
commitd694a6897c3304decbe520692207df11bbdfe39e (patch)
tree9eda87dc1f79fa1122a91cf3d15ae913b7b0da08 /src/H5Oprivate.h
parentbcc000dd8a37ab792ba2fc3b9b45ff83c94edfa1 (diff)
downloadhdf5-d694a6897c3304decbe520692207df11bbdfe39e.zip
hdf5-d694a6897c3304decbe520692207df11bbdfe39e.tar.gz
hdf5-d694a6897c3304decbe520692207df11bbdfe39e.tar.bz2
[svn-r13058] Description:
Clean up some shared message operations and other minor tweaks, in the process of trying to solve the messy way that shared object header messages are implemented in general (not James' work - which is fine :-) Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) AIX/32 5.? (copper)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 5e84ff6..cd68ae5 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -139,6 +139,8 @@ typedef struct H5O_copy_t {
#define H5O_SHARED_IN_HEAP_FLAG 0x01
#define H5O_COMMITTED_FLAG 0x02
+#define H5O_IS_SHARED(F) (((F) & (H5O_SHARED_IN_HEAP_FLAG | H5O_COMMITTED_FLAG)) ? TRUE : FALSE)
+
/*
* Shared object message.
* This needs to go first because other messages can be shared and