summaryrefslogtreecommitdiffstats
path: root/src/H5Cpublic.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-07 17:14:26 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-07 17:14:26 (GMT)
commit159fa7a232e1961940b83f035f4c27338d26337e (patch)
treeb7344e9cfaadbbec3bc3a0576df8c264debb8239 /src/H5Cpublic.h
parent1d17defdfc977c063c7ff20b5868bef9a76e5d9a (diff)
downloadhdf5-159fa7a232e1961940b83f035f4c27338d26337e.zip
hdf5-159fa7a232e1961940b83f035f4c27338d26337e.tar.gz
hdf5-159fa7a232e1961940b83f035f4c27338d26337e.tar.bz2
[svn-r151] Changes since 19980105
---------------------- ./config/freebsd2.2.1 ./config/linux Added -UH5O_DEBUG to the debug flags. Turn this on to get lots of lines on stderr to show what objects are opened and closed. ./src/H5C.o ./src/H5Cpublic.h ./test/dsets.c ./test/tfile.c Split H5Cget_prop() and H5Cset_prop() into functions for each property. ./src/H5D.c ./src/H5Dpublic.h ./src/H5Gstab.c ./src/H5O.c ./src/H5Ocont.c ./src/H5Ocstore.c ./src/H5Odtype.c ./src/H5Oefl.c ./src/H5Oistore.c ./src/H5Oname.c ./src/H5Onull.c ./src/H5Oprivate.h ./src/H5Osdspace.c ./src/H5Ostab.c ./src/H5P.c ./src/istore.c ./test/tohdr.c Object header functions now understand constant vs. non-constant messages. ./src/H5F.c ./src/H5Fprivate.h The file OID can be closed before other OID's. ./src/H5Flow.c H5F_addr_defined() is a macro in this file. ./src/H5G.c ./src/H5Gpublic.h ./test/tstab.c A current working group cannot be deleted. ./src/H5Gent.c ./src/H5Gpkg.h Removed unused functionality. ./src/H5public.h Includes <sys/types.h> for size_t.
Diffstat (limited to 'src/H5Cpublic.h')
-rw-r--r--src/H5Cpublic.h59
1 files changed, 26 insertions, 33 deletions
diff --git a/src/H5Cpublic.h b/src/H5Cpublic.h
index c4188f9..b7c5dcf 100644
--- a/src/H5Cpublic.h
+++ b/src/H5Cpublic.h
@@ -23,6 +23,7 @@
/* Public headers needed by this file */
#include <H5public.h>
#include <H5Apublic.h>
+#include <H5Dpublic.h>
/* Template classes */
typedef enum H5C_class_t {
@@ -35,37 +36,6 @@ typedef enum H5C_class_t {
H5C_NCLASSES =4 /* This must be last! */
} H5C_class_t;
-/* Template properties, grouped by class */
-typedef enum H5C_prop_t {
-
- /* File Creation Properties */
- H5F_SIZEOF_USERBLOCK,/* Size of the user block in the file in bytes */
- H5F_SIZEOF_ADDR, /* Number of bytes for addresses */
- H5F_SIZEOF_SIZE, /* Number of bytes for sizes */
- H5F_SYM_LEAF_K, /* 1/2 rank for symbol table leaf nodes */
- H5F_SYM_INTERN_K, /* 1/2 rank for symbol table internal nodes */
- H5F_ISTORE_K, /* 1/2 rank for indexed storage nodes */
- H5F_BOOTBLOCK_VER, /* Version # of the boot-block format */
- H5F_SMALLOBJECT_VER, /* Version # of the small-object heap format */
- H5F_FREESPACE_VER, /* Version # of the free-space info format */
- H5F_OBJECTDIR_VER, /* Version # of the object-directory format */
- H5F_SHAREDHEADER_VER,/* Version # of the shared-header format */
-
- /* File Access Properties */
- /* None defined yet */
-
- /* Dataset Creation Properties */
- H5D_LAYOUT, /* Storage layout */
- H5D_CHUNK_NDIMS, /* Chunk dimensionality */
- H5D_CHUNK_SIZE, /* Chunk size vector */
- H5D_COMPRESS, /* Raw data compression */
- H5D_PRE_OFFSET, /* Precompression offset */
- H5D_PRE_SCALE /* Precompression scale */
-
- /* Dataset Transfer Properties */
- /* None defined yet */
-
-} H5C_prop_t;
#ifdef __cplusplus
extern "C" {
@@ -75,10 +45,33 @@ extern "C" {
hid_t H5Ccreate (H5C_class_t type);
herr_t H5Cclose (hid_t template);
hid_t H5Ccopy (hid_t template);
-herr_t H5Cget_prop (hid_t template, H5C_prop_t prop, void *buf);
-herr_t H5Cset_prop (hid_t template, H5C_prop_t prop, ...);
+
H5C_class_t H5Cget_class (hid_t template);
+herr_t H5Cget_version (hid_t template, int *boot/*out*/, int *heap/*out*/,
+ int *freelist/*out*/, int *stab/*out*/,
+ int *shhdr/*out*/);
+
+herr_t H5Cset_userblock (hid_t template, size_t size);
+herr_t H5Cget_userblock (hid_t template, size_t *size);
+
+herr_t H5Cset_sizes (hid_t template, size_t sizeof_addr, size_t sizeof_size);
+herr_t H5Cget_sizes (hid_t template, size_t *sizeof_addr/*out*/,
+ size_t *sizeof_size/*out*/);
+
+herr_t H5Cset_sym_k (hid_t template, int ik, int lk);
+herr_t H5Cget_sym_k (hid_t template, int *ik/*out*/, int *lk/*out*/);
+
+herr_t H5Cset_istore_k (hid_t template, int ik);
+herr_t H5Cget_istore_k (hid_t template, int *ik/*out*/);
+
+herr_t H5Cset_layout (hid_t template, H5D_layout_t layout);
+H5D_layout_t H5Cget_layout (hid_t template);
+
+herr_t H5Cset_chunk (hid_t template, int ndims, size_t dim[]);
+int H5Cget_chunk (hid_t template, int max_ndims, size_t dim[]/*out*/);
+
+
#ifdef __cplusplus
}
#endif