From 5f027262a5ffd1549c50e609e3947c7f225cc63e Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 26 Sep 1997 18:17:38 -0500 Subject: [svn-r112] Added some symbolic names for '0'. Makes user's code easier to read. --- src/H5Cpublic.h | 3 +++ src/H5Fpublic.h | 1 + src/H5Pprivate.h | 2 +- src/H5Ppublic.h | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) 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 /* 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 */ -- cgit v0.12