summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-09-26 23:17:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-09-26 23:17:38 (GMT)
commit5f027262a5ffd1549c50e609e3947c7f225cc63e (patch)
tree134188540547a297dc5c10735199640010ddeb46 /src
parent0f7fcaad25171bd5d4eb8f822d88b5770d9b235d (diff)
downloadhdf5-5f027262a5ffd1549c50e609e3947c7f225cc63e.zip
hdf5-5f027262a5ffd1549c50e609e3947c7f225cc63e.tar.gz
hdf5-5f027262a5ffd1549c50e609e3947c7f225cc63e.tar.bz2
[svn-r112] Added some symbolic names for '0'. Makes user's code easier to read.
Diffstat (limited to 'src')
-rw-r--r--src/H5Cpublic.h3
-rw-r--r--src/H5Fpublic.h1
-rw-r--r--src/H5Pprivate.h2
-rw-r--r--src/H5Ppublic.h1
4 files changed, 6 insertions, 1 deletions
diff --git a/src/H5Cpublic.h b/src/H5Cpublic.h
index 0a8c8c0..08e7656 100644
--- a/src/H5Cpublic.h
+++ b/src/H5Cpublic.h
@@ -19,6 +19,9 @@
#ifndef _H5Cpublic_H
#define _H5Cpublic_H
+/* Default Template for creation, access, etc. templates */
+#define H5C_DEFAULT_TEMPLATE 0
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h
index c100239..aceb922 100644
--- a/src/H5Fpublic.h
+++ b/src/H5Fpublic.h
@@ -24,6 +24,7 @@
#include <H5Apublic.h>
/* file access codes */
+#define H5ACC_DEFAULT 0x0000 /* Use in H5Fopen & H5Fcreate to open a file with default access */
#define H5ACC_WRITE 0x0001 /* Use in H5Fopen to open a file with write access */
#define H5ACC_OVERWRITE 0x0002 /* Use in H5Fcreate truncate an existing file */
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h
index 207e3e7..9a1fb9b 100644
--- a/src/H5Pprivate.h
+++ b/src/H5Pprivate.h
@@ -36,7 +36,7 @@ typedef struct H5P_sdim_t {
uint32 *perm; /* Dimension permutations */
} H5P_sdim_t;
-#define H5P_RESERVED_ATOMS 1
+#define H5P_RESERVED_ATOMS 2
/* Private functions */
hid_t H5P_create(hid_t owner_id, hobjtype_t type, const char *name);
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index e898bdd..0fd9c9a 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -25,6 +25,7 @@
/* Define atomic datatypes */
#define H5P_SCALAR MAKE_ATOM(H5_DATASPACE,0) /* Atom for scalar dataspace */
+#define H5P_ALL MAKE_ATOM(H5_DATASPACE,1) /* Atom for "entire" dataspace */
/* Different types of dataspaces */
#define H5P_TYPE_UNKNOWN 0 /* Dataspace is not unitialized */