summaryrefslogtreecommitdiffstats
path: root/src/H5Cpublic.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-22 16:41:32 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-22 16:41:32 (GMT)
commita0ee2c57e934c5ff2269e345238a6ee019f6c294 (patch)
tree08a553617329401737ddff6af60ccd11a13cc6a3 /src/H5Cpublic.h
parentfdfb6dfd26410b931b4452f832b5a4aedec283e0 (diff)
downloadhdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.zip
hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.tar.gz
hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.tar.bz2
[svn-r164] Changes since 19980122
---------------------- ./src/*.h Fixed indentation where indent(1) screwed up. This isn't by any means the final say, but it's better than it was. ./src/H5A.c ./src/H5Aprivate.h ./src/H5Apublic.h ./src/H5C.c ./src/H5D.c ./src/H5E.c ./src/H5F.c ./src/H5G.c ./src/H5M.c ./src/H5P.c ./src/H5T.c ./src/H5Tconv.c ./src/debug.c ./test/dtypes.c ./test/istore.c ./test/theap.c ./test/tohdr.c ./test/tstab.c Removed some atom functions from the API and made them library-scope. Also changed some names by removing the redundant `atom' from the name and by adding a `_' after the `H5A'.
Diffstat (limited to 'src/H5Cpublic.h')
-rw-r--r--src/H5Cpublic.h63
1 files changed, 27 insertions, 36 deletions
diff --git a/src/H5Cpublic.h b/src/H5Cpublic.h
index a796273..e21b368 100644
--- a/src/H5Cpublic.h
+++ b/src/H5Cpublic.h
@@ -27,51 +27,42 @@
/* Template classes */
typedef enum H5C_class_t {
- H5C_NO_CLASS = -1, /* Error return value */
- H5C_FILE_CREATE = 0, /* File creation template */
- H5C_FILE_ACCESS = 1, /* File access template */
- H5C_DATASET_CREATE = 2, /* Dataset creation template */
- H5C_DATASET_XFER = 3, /* Dataset transfer template */
+ H5C_NO_CLASS = -1, /*error return value */
+ H5C_FILE_CREATE = 0, /*file creation template */
+ H5C_FILE_ACCESS = 1, /*file access template */
+ H5C_DATASET_CREATE = 2, /*dataset creation template */
+ H5C_DATASET_XFER = 3, /*dataset transfer template */
- H5C_NCLASSES = 4 /* This must be last! */
+ H5C_NCLASSES = 4 /*this must be last! */
} H5C_class_t;
#ifdef __cplusplus
-extern "C" {
+extern "C" {
#endif
/* Public functions */
- hid_t H5Ccreate(H5C_class_t type);
- herr_t H5Cclose(hid_t tid);
- hid_t H5Ccopy(hid_t tid);
-
- H5C_class_t H5Cget_class(hid_t tid);
-
- herr_t H5Cget_version(hid_t tid, int *boot /*out */ , int *heap /*out */ ,
- int *freelist /*out */ , int *stab /*out */ ,
- int *shhdr /*out */ );
-
- herr_t H5Cset_userblock(hid_t tid, size_t size);
- herr_t H5Cget_userblock(hid_t tid, size_t *size);
-
- herr_t H5Cset_sizes(hid_t tid, size_t sizeof_addr, size_t sizeof_size);
- herr_t H5Cget_sizes(hid_t tid, size_t *sizeof_addr /*out */ ,
- size_t *sizeof_size /*out */ );
-
- herr_t H5Cset_sym_k(hid_t tid, int ik, int lk);
- herr_t H5Cget_sym_k(hid_t tid, int *ik /*out */ , int *lk /*out */ );
-
- herr_t H5Cset_istore_k(hid_t tid, int ik);
- herr_t H5Cget_istore_k(hid_t tid, int *ik /*out */ );
-
- herr_t H5Cset_layout(hid_t tid, H5D_layout_t layout);
- H5D_layout_t H5Cget_layout(hid_t tid);
-
- herr_t H5Cset_chunk(hid_t tid, int ndims, size_t dim[]);
- int H5Cget_chunk(hid_t tid, int max_ndims, size_t dim[] /*out */ );
+hid_t H5Ccreate (H5C_class_t type);
+herr_t H5Cclose (hid_t tid);
+hid_t H5Ccopy (hid_t tid);
+H5C_class_t H5Cget_class (hid_t tid);
+herr_t H5Cget_version (hid_t tid, int *boot/*out*/, int *heap/*out*/,
+ int *freelist/*out*/, int *stab/*out*/,
+ int *shhdr/*out*/);
+herr_t H5Cset_userblock (hid_t tid, size_t size);
+herr_t H5Cget_userblock (hid_t tid, size_t *size);
+herr_t H5Cset_sizes (hid_t tid, size_t sizeof_addr, size_t sizeof_size);
+herr_t H5Cget_sizes (hid_t tid, size_t *sizeof_addr/*out*/,
+ size_t *sizeof_size/*out*/);
+herr_t H5Cset_sym_k (hid_t tid, int ik, int lk);
+herr_t H5Cget_sym_k (hid_t tid, int *ik/*out*/, int *lk/*out*/);
+herr_t H5Cset_istore_k (hid_t tid, int ik);
+herr_t H5Cget_istore_k (hid_t tid, int *ik/*out*/);
+herr_t H5Cset_layout (hid_t tid, H5D_layout_t layout);
+H5D_layout_t H5Cget_layout (hid_t tid);
+herr_t H5Cset_chunk (hid_t tid, int ndims, size_t dim[]);
+int H5Cget_chunk (hid_t tid, int max_ndims, size_t dim[]/*out*/);
#ifdef __cplusplus
}
-
#endif
#endif