diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-07-22 18:45:46 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-07-22 18:45:46 (GMT) |
commit | 29a029d7e7c95be8ded8fb4e0989e3711ab7e3dc (patch) | |
tree | 1ade13b398a898accefb0eee491705edff974503 /src/H5Ppublic.h | |
parent | c638ee56596bc8ff4908d3fb73a6911ad6181d01 (diff) | |
download | hdf5-29a029d7e7c95be8ded8fb4e0989e3711ab7e3dc.zip hdf5-29a029d7e7c95be8ded8fb4e0989e3711ab7e3dc.tar.gz hdf5-29a029d7e7c95be8ded8fb4e0989e3711ab7e3dc.tar.bz2 |
[svn-r529] Changes since 19980722
----------------------
./src/H5.c
Handle hid_t of type H5_TEMPBUF, arguments usually called tbuf_id.
Added array tracing where the array rank is stored in a simple
data space. Just use the name of the data space argument when
declaring the array argument:
herr_t
H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op,
const hssize_t start[/*space_id*/],
const hsize_t _stride[/*space_id*/],
const hsize_t count[/*space_id*/],
const hsize_t _block[/*space_id*/])
and when the program runs you'll see array values printed:
H5Sselect_hyperslab(space=218103813, op=H5S_SELECT_SET,
start=0xbfffef4c {0}, _stride=NULL,
count=0xbfffef44 {64},
_block=NULL) = SUCCEED;
Added more symbolic data types to the tracing output.
./src/H5A.c
./src/H5Apublic.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Fpublic.h
./src/H5G.c
./src/H5Gpublic.h
./src/H5P.c
./src/H5Ppublic.h
./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Spublic.h
./src/H5Sselect.c
./src/H5Ssimp.c
./src/H5TB.c
./src/H5V.c
Changed some API argument names to be more consistent with
other API functions and to produce better tracing output.
Reformatted some long lines. Indented printf statements.
./tools/h5ls.c
Fixed warnings about unsigned vs. signed comparisons.
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r-- | src/H5Ppublic.h | 72 |
1 files changed, 37 insertions, 35 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h index 220073f..f39be45 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -44,49 +44,50 @@ extern "C" { /* Public functions */ hid_t H5Pcreate (H5P_class_t type); -herr_t H5Pclose (hid_t tid); -hid_t H5Pcopy (hid_t tid); -H5P_class_t H5Pget_class (hid_t tid); -herr_t H5Pget_version (hid_t tid, int *boot/*out*/, int *freelist/*out*/, +herr_t H5Pclose (hid_t plist_id); +hid_t H5Pcopy (hid_t plist_id); +H5P_class_t H5Pget_class (hid_t plist_id); +herr_t H5Pget_version (hid_t plist_id, int *boot/*out*/, int *freelist/*out*/, int *stab/*out*/, int *shhdr/*out*/); -herr_t H5Pset_userblock (hid_t tid, hsize_t size); -herr_t H5Pget_userblock (hid_t tid, hsize_t *size); +herr_t H5Pset_userblock (hid_t plist_id, hsize_t size); +herr_t H5Pget_userblock (hid_t plist_id, hsize_t *size); herr_t H5Pset_alignment (hid_t fapl_id, hsize_t threshold, hsize_t alignment); herr_t H5Pget_alignment (hid_t fapl_id, hsize_t *threshold/*out*/, hsize_t *alignment/*out*/); -herr_t H5Pset_sizes (hid_t tid, size_t sizeof_addr, size_t sizeof_size); -herr_t H5Pget_sizes (hid_t tid, size_t *sizeof_addr/*out*/, +herr_t H5Pset_sizes (hid_t plist_id, size_t sizeof_addr, size_t sizeof_size); +herr_t H5Pget_sizes (hid_t plist_id, size_t *sizeof_addr/*out*/, size_t *sizeof_size/*out*/); -herr_t H5Pset_sym_k (hid_t tid, int ik, int lk); -herr_t H5Pget_sym_k (hid_t tid, int *ik/*out*/, int *lk/*out*/); -herr_t H5Pset_istore_k (hid_t tid, int ik); -herr_t H5Pget_istore_k (hid_t tid, int *ik/*out*/); -herr_t H5Pset_layout (hid_t tid, H5D_layout_t layout); -H5D_layout_t H5Pget_layout (hid_t tid); -herr_t H5Pset_chunk (hid_t tid, int ndims, const hsize_t dim[]); -int H5Pget_chunk (hid_t tid, int max_ndims, hsize_t dim[]/*out*/); +herr_t H5Pset_sym_k (hid_t plist_id, int ik, int lk); +herr_t H5Pget_sym_k (hid_t plist_id, int *ik/*out*/, int *lk/*out*/); +herr_t H5Pset_istore_k (hid_t plist_id, int ik); +herr_t H5Pget_istore_k (hid_t plist_id, int *ik/*out*/); +herr_t H5Pset_layout (hid_t plist_id, H5D_layout_t layout); +H5D_layout_t H5Pget_layout (hid_t plist_id); +herr_t H5Pset_chunk (hid_t plist_id, int ndims, const hsize_t dim[]); +int H5Pget_chunk (hid_t plist_id, int max_ndims, hsize_t dim[]/*out*/); herr_t H5Pset_external (hid_t plist_id, const char *name, off_t offset, hsize_t size); int H5Pget_external_count (hid_t plist_id); herr_t H5Pget_external (hid_t plist_id, int idx, size_t name_size, char *name/*out*/, off_t *offset/*out*/, hsize_t *size/*out*/); -H5F_driver_t H5Pget_driver (hid_t tid); -herr_t H5Pset_stdio (hid_t tid); -herr_t H5Pget_stdio (hid_t tid); -herr_t H5Pset_sec2 (hid_t tid); -herr_t H5Pget_sec2 (hid_t tid); -herr_t H5Pset_core (hid_t tid, size_t increment); -herr_t H5Pget_core (hid_t tid, size_t *increment/*out*/); -herr_t H5Pset_split (hid_t tid, const char *meta_ext, hid_t meta_tid, - const char *raw_ext, hid_t raw_tid); -herr_t H5Pget_split (hid_t tid, size_t meta_ext_size, char *meta_ext/*out*/, - hid_t *meta_properties/*out*/, size_t raw_ext_size, - char *raw_ext/*out*/, hid_t *raw_properties/*out*/); +H5F_driver_t H5Pget_driver (hid_t plist_id); +herr_t H5Pset_stdio (hid_t plist_id); +herr_t H5Pget_stdio (hid_t plist_id); +herr_t H5Pset_sec2 (hid_t plist_id); +herr_t H5Pget_sec2 (hid_t plist_id); +herr_t H5Pset_core (hid_t plist_id, size_t increment); +herr_t H5Pget_core (hid_t plist_id, size_t *increment/*out*/); +herr_t H5Pset_split (hid_t plist_id, const char *meta_ext, hid_t meta_plist_id, + const char *raw_ext, hid_t raw_plist_id); +herr_t H5Pget_split (hid_t plist_id, size_t meta_ext_size, + char *meta_ext/*out*/, hid_t *meta_properties/*out*/, + size_t raw_ext_size, char *raw_ext/*out*/, + hid_t *raw_properties/*out*/); -herr_t H5Pset_family (hid_t tid, hsize_t memb_size, hid_t memb_tid); -herr_t H5Pget_family (hid_t tid, hsize_t *memb_size/*out*/, - hid_t *memb_tid/*out*/); +herr_t H5Pset_family (hid_t plist_id, hsize_t memb_size, hid_t memb_plist_id); +herr_t H5Pget_family (hid_t plist_id, hsize_t *memb_size/*out*/, + hid_t *memb_plist_id/*out*/); herr_t H5Pset_buffer (hid_t plist_id, size_t size, void *tconv, void *bkg); size_t H5Pget_buffer (hid_t plist_id, void **tconv/*out*/, void **bkg/*out*/); herr_t H5Pset_preserve (hid_t plist_id, hbool_t status); @@ -105,10 +106,11 @@ herr_t H5Pget_cache (hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nbytes, double *rdcc_w0); #ifdef HAVE_PARALLEL -herr_t H5Pset_mpi (hid_t tid, MPI_Comm comm, MPI_Info info); -herr_t H5Pget_mpi (hid_t tid, MPI_Comm *comm/*out*/, MPI_Info *info/*out*/); -herr_t H5Pset_xfer (hid_t tid, H5D_transfer_t data_xfer_mode); -herr_t H5Pget_xfer (hid_t tid, H5D_transfer_t *data_xfer_mode/*out*/); +herr_t H5Pset_mpi (hid_t plist_id, MPI_Comm comm, MPI_Info info); +herr_t H5Pget_mpi (hid_t plist_id, MPI_Comm *comm/*out*/, + MPI_Info *info/*out*/); +herr_t H5Pset_xfer (hid_t plist_id, H5D_transfer_t data_xfer_mode); +herr_t H5Pget_xfer (hid_t plist_id, H5D_transfer_t *data_xfer_mode/*out*/); #endif #ifdef __cplusplus |