summaryrefslogtreecommitdiffstats
path: root/src/H5FPprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-10-28 18:45:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-10-28 18:45:26 (GMT)
commit0d1aba339eb7f0fd53282412289226896df1e988 (patch)
tree46ffeb916926d629eae9d9d37e0c825a1d19fe17 /src/H5FPprivate.h
parent4bd557ec1ee1f85bfda57a304093ca1768ba2d0a (diff)
downloadhdf5-0d1aba339eb7f0fd53282412289226896df1e988.zip
hdf5-0d1aba339eb7f0fd53282412289226896df1e988.tar.gz
hdf5-0d1aba339eb7f0fd53282412289226896df1e988.tar.bz2
[svn-r6040] Purpose:
Code cleanup Description: Add more comments and clean up small bits of the FPH5 code. Platforms tested: FreeBSD 4.7 (sleipnir), changes too minor to affect other platforms.
Diffstat (limited to 'src/H5FPprivate.h')
-rw-r--r--src/H5FPprivate.h28
1 files changed, 10 insertions, 18 deletions
diff --git a/src/H5FPprivate.h b/src/H5FPprivate.h
index c5e5f00..2e1210a 100644
--- a/src/H5FPprivate.h
+++ b/src/H5FPprivate.h
@@ -17,14 +17,6 @@
#include "H5FPpublic.h" /* Flexible Parallel HDF5 */
#include "H5Rprivate.h" /* References */
-#ifndef TRUE
-#define TRUE 1
-#endif /* !TRUE */
-
-#ifndef FALSE
-#define FALSE 0
-#endif /* !FALSE */
-
#define H5FP_BYTE_BITS 8
/* Different types of requests */
@@ -44,15 +36,15 @@
* for that object.
*/
enum sap_request {
- H5FP_REQ_OPEN,
- H5FP_REQ_LOCK,
- H5FP_REQ_LOCK_END,
- H5FP_REQ_RELEASE,
- H5FP_REQ_RELEASE_END,
- H5FP_REQ_CHANGE,
- H5FP_REQ_SYNC,
- H5FP_REQ_CLOSE,
- H5FP_REQ_STOP
+ H5FP_REQ_OPEN, /* Open a file (or eventually an object) */
+ H5FP_REQ_LOCK, /* Lock an object (in a sequence) */
+ H5FP_REQ_LOCK_END, /* Last lock request in lock sequence */
+ H5FP_REQ_RELEASE, /* Unlock an object (in a sequence) */
+ H5FP_REQ_RELEASE_END, /* Last unlock request in unlock sequence */
+ H5FP_REQ_CHANGE, /* Change an object */
+ H5FP_REQ_SYNC, /* Syncronize changes in file */
+ H5FP_REQ_CLOSE, /* Close a file (or eventually an object) */
+ H5FP_REQ_STOP /* Stop SAP */
};
/* Actions to take when performing a change */
@@ -150,7 +142,7 @@ extern MPI_Datatype SAP_sync_t; /* MPI datatype for the SAP_sync obj */
* search for it after getting the appropriate request.
*/
enum {
- H5FP_TAG_REQUEST = 37,
+ H5FP_TAG_REQUEST = 37, /* FIXME: Why is this 37? -QAK */
H5FP_TAG_REPLY,
H5FP_TAG_SYNC,
H5FP_TAG_METADATA,