diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-01-16 22:23:43 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-01-16 22:23:43 (GMT) |
commit | c2c94c31878dc42926661c9cb7e71be620196fc1 (patch) | |
tree | ee9ce2ae309882348dc1eafc1d105b5e6646605e /src/H5Cpublic.h | |
parent | 903e677366a86ea385d5cfe1241f3f53132941de (diff) | |
download | hdf5-c2c94c31878dc42926661c9cb7e71be620196fc1.zip hdf5-c2c94c31878dc42926661c9cb7e71be620196fc1.tar.gz hdf5-c2c94c31878dc42926661c9cb7e71be620196fc1.tar.bz2 |
[svn-r157] Reformatted code with indent...
Diffstat (limited to 'src/H5Cpublic.h')
-rw-r--r-- | src/H5Cpublic.h | 80 |
1 files changed, 39 insertions, 41 deletions
diff --git a/src/H5Cpublic.h b/src/H5Cpublic.h index b7c5dcf..e3cef4d 100644 --- a/src/H5Cpublic.h +++ b/src/H5Cpublic.h @@ -1,13 +1,13 @@ /**************************************************************************** - * NCSA HDF * - * Software Development Group * - * National Center for Supercomputing Applications * - * University of Illinois at Urbana-Champaign * - * 605 E. Springfield, Champaign IL 61820 * - * * - * For conditions of distribution and use, see the accompanying * - * hdf/COPYING file. * - * * + * NCSA HDF * + * Software Development Group * + * National Center for Supercomputing Applications * + * University of Illinois at Urbana-Champaign * + * 605 E. Springfield, Champaign IL 61820 * + * * + * For conditions of distribution and use, see the accompanying * + * hdf/COPYING file. * + * * ****************************************************************************/ /* @@ -18,7 +18,7 @@ #define _H5Cpublic_H /* Default Template for creation, access, etc. templates */ -#define H5C_DEFAULT (-2) +#define H5C_DEFAULT (-2) /* Public headers needed by this file */ #include <H5public.h> @@ -27,53 +27,51 @@ /* 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 template); -hid_t H5Ccopy (hid_t template); -H5C_class_t H5Cget_class (hid_t template); +/* Public functions */ + hid_t H5Ccreate(H5C_class_t type); + herr_t H5Cclose(hid_t template); + hid_t H5Ccopy(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*/); + H5C_class_t H5Cget_class(hid_t template); -herr_t H5Cset_userblock (hid_t template, size_t size); -herr_t H5Cget_userblock (hid_t template, size_t *size); + 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_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_userblock(hid_t template, size_t size); + herr_t H5Cget_userblock(hid_t template, size_t *size); -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_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_istore_k (hid_t template, int ik); -herr_t H5Cget_istore_k (hid_t template, int *ik/*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_layout (hid_t template, H5D_layout_t layout); -H5D_layout_t H5Cget_layout (hid_t template); + herr_t H5Cset_istore_k(hid_t template, int ik); + herr_t H5Cget_istore_k(hid_t template, int *ik /*out */ ); -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*/); + 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 #endif +#endif |