summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-01-21 18:33:39 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-01-21 18:33:39 (GMT)
commita2b8da49db95737d1962bbf7969cbc86a0b0233d (patch)
treedca97737d4bdf7ee2cdae8040fe5a9b9d6ee0b0f /src/H5Tpublic.h
parentbb776bacbf1dd3e80c7ade0f8afc91c2544977b5 (diff)
downloadhdf5-a2b8da49db95737d1962bbf7969cbc86a0b0233d.zip
hdf5-a2b8da49db95737d1962bbf7969cbc86a0b0233d.tar.gz
hdf5-a2b8da49db95737d1962bbf7969cbc86a0b0233d.tar.bz2
[svn-r1032] Changes since 19990118
---------------------- ./tools/h5tools.c Strings are not converted to null-padding before being printed; they are printed with whatever byte values appear in the file. ./tools/h5ls.c Now able to display attribute data type and data. Added a `-f' or `--full' switch which causes the full name of each object to be displayed instead of just the base name. Added a `-r' or `--recursive' switch that recursively prints the contents of groups, avoiding cycles. More bulletproofing for non-printable characters in things like object names, attribute names, and comment strings. We don't want listing a file to send termal escape sequences because it's sometimes possible to execute commands that way. Since h5ls doesn't usually use quotes around object names we must sometimes escape space characters. External files are listed in a table to make the output less confusing. ./tools/h5tools.c ./tools/h5tools.h Changed h5dump() to h5dump_dset() and added h5dump_mem(). Also make h5dump_fixtype() public. ./test/dtypes.c Wrote some data to an attribute to test h5ls attribute printing. ./src/H5ACprivate.h ./src/H5Apublic.h ./src/H5Dprivate.h ./src/H5Dpublic.h ./src/H5Epublic.h ./src/H5Fprivate.h ./src/H5Fpublic.h ./src/H5Gprivate.h ./src/H5HLprivate.h ./src/H5Oprivate.h ./src/H5Ppublic.h ./src/H5RApublic.h ./src/H5Rpublic.h ./src/H5Spublic.h ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5Vprivate.h ./src/H5Zpublic.h ./src/H5private.h ./src/H5public.h Reindented function prototypes after `HDF5API' was added. Also rewrapped long lines. ./src/H5Flow.c Added an `#ifdef WIN32' around an unused variable. ./src/H5api_adpt.h Removed extra carriage returns inserted by "broken" operating system. ./src/H5Dprivate.h ./src/H5Oprivate.h ./src/H5Vprivate.h ./src/H5private.h Removed extraneous inclusion of H5api_adpt.h since it's included in H5public.h which is included by everything. ./src/Makefile.in Added H5api_adpt.h to the list of public header files to fix broken `make install'.
Diffstat (limited to 'src/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h35
1 files changed, 19 insertions, 16 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index c6ebf1e..e6a84c4 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -395,16 +395,18 @@ HDF5API htri_t H5Tcommitted (hid_t type_id);
/* Operations defined on compound data types */
HDF5API herr_t H5Tinsert (hid_t parent_id, const char *name, size_t offset,
hid_t member_id);
-HDF5API herr_t H5Tinsert_array (hid_t parent_id, const char *name, size_t offset,
- int ndims, const size_t dim[], const int *perm,
- hid_t member_id);
+HDF5API herr_t H5Tinsert_array (hid_t parent_id, const char *name,
+ size_t offset, int ndims, const size_t dim[],
+ const int *perm, hid_t member_id);
HDF5API herr_t H5Tpack (hid_t type_id);
/* Operations defined on enumeration data types */
HDF5API hid_t H5Tenum_create(hid_t base_id);
HDF5API herr_t H5Tenum_insert(hid_t type, const char *name, void *value);
-HDF5API hid_t H5Tenum_nameof(hid_t type, void *value, char *name/*out*/, size_t size);
-HDF5API hid_t H5Tenum_valueof(hid_t type, const char *name, void *value/*out*/);
+HDF5API hid_t H5Tenum_nameof(hid_t type, void *value, char *name/*out*/,
+ size_t size);
+HDF5API hid_t H5Tenum_valueof(hid_t type, const char *name,
+ void *value/*out*/);
/* Querying property values */
HDF5API hid_t H5Tget_super(hid_t type);
@@ -414,11 +416,11 @@ HDF5API H5T_order_t H5Tget_order(hid_t type_id);
HDF5API size_t H5Tget_precision(hid_t type_id);
HDF5API size_t H5Tget_offset(hid_t type_id);
HDF5API herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb/*out*/,
- H5T_pad_t *msb/*out*/);
+ H5T_pad_t *msb/*out*/);
HDF5API H5T_sign_t H5Tget_sign(hid_t type_id);
HDF5API herr_t H5Tget_fields(hid_t type_id, size_t *spos/*out*/,
- size_t *epos/*out*/, size_t *esize/*out*/,
- size_t *mpos/*out*/, size_t *msize/*out*/);
+ size_t *epos/*out*/, size_t *esize/*out*/,
+ size_t *mpos/*out*/, size_t *msize/*out*/);
HDF5API size_t H5Tget_ebias(hid_t type_id);
HDF5API H5T_norm_t H5Tget_norm(hid_t type_id);
HDF5API H5T_pad_t H5Tget_inpad(hid_t type_id);
@@ -427,9 +429,10 @@ HDF5API int H5Tget_nmembers(hid_t type_id);
HDF5API char *H5Tget_member_name(hid_t type_id, int membno);
HDF5API size_t H5Tget_member_offset(hid_t type_id, int membno);
HDF5API int H5Tget_member_dims(hid_t type_id, int membno, size_t dims[]/*out*/,
- int perm[]/*out*/);
+ int perm[]/*out*/);
HDF5API hid_t H5Tget_member_type(hid_t type_id, int membno);
-HDF5API herr_t H5Tget_member_value(hid_t type_id, int membno, void *value/*out*/);
+HDF5API herr_t H5Tget_member_value(hid_t type_id, int membno,
+ void *value/*out*/);
HDF5API H5T_cset_t H5Tget_cset(hid_t type_id);
/* Setting property values */
@@ -439,8 +442,8 @@ HDF5API herr_t H5Tset_precision (hid_t type_id, size_t prec);
HDF5API herr_t H5Tset_offset (hid_t type_id, size_t offset);
HDF5API herr_t H5Tset_pad (hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb);
HDF5API herr_t H5Tset_sign (hid_t type_id, H5T_sign_t sign);
-HDF5API herr_t H5Tset_fields (hid_t type_id, size_t spos, size_t epos, size_t esize,
- size_t mpos, size_t msize);
+HDF5API herr_t H5Tset_fields (hid_t type_id, size_t spos, size_t epos,
+ size_t esize, size_t mpos, size_t msize);
HDF5API herr_t H5Tset_ebias (hid_t type_id, size_t ebias);
HDF5API herr_t H5Tset_norm (hid_t type_id, H5T_norm_t norm);
HDF5API herr_t H5Tset_inpad (hid_t type_id, H5T_pad_t pad);
@@ -449,12 +452,12 @@ HDF5API herr_t H5Tset_strpad (hid_t type_id, H5T_str_t strpad);
/* Type conversion database */
HDF5API herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id,
- hid_t dst_id, H5T_conv_t func);
+ hid_t dst_id, H5T_conv_t func);
HDF5API herr_t H5Tunregister (H5T_pers_t pers, const char *name, hid_t src_id,
- hid_t dst_id, H5T_conv_t func);
+ hid_t dst_id, H5T_conv_t func);
HDF5API H5T_conv_t H5Tfind (hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata);
-HDF5API herr_t H5Tconvert (hid_t src_id, hid_t dst_id, size_t nelmts, void *buf,
- void *background);
+HDF5API herr_t H5Tconvert (hid_t src_id, hid_t dst_id, size_t nelmts,
+ void *buf, void *background);
HDF5API H5T_overflow_t H5Tget_overflow(void);
HDF5API herr_t H5Tset_overflow(H5T_overflow_t func);