diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-09-01 03:35:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-09-01 03:35:23 (GMT) |
commit | 4aa79bb211349c6696677076c02b674275aff797 (patch) | |
tree | d78887d59edea5596c24cc9398a35eb2cc221cee | |
parent | 5aa61b6fcfc99ff4c6b3cfc1c639e062313564ee (diff) | |
download | hdf5-4aa79bb211349c6696677076c02b674275aff797.zip hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.gz hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.bz2 |
[svn-r641] Changed function names for beta release.
-rw-r--r-- | examples/h5_attribute.c | 9 | ||||
-rw-r--r-- | examples/h5_chunk_read.c | 4 | ||||
-rw-r--r-- | examples/h5_read.c | 4 | ||||
-rw-r--r-- | src/.distdep | 930 | ||||
-rw-r--r-- | src/H5.c | 12 | ||||
-rw-r--r-- | src/H5A.c | 10 | ||||
-rw-r--r-- | src/H5Apublic.h | 2 | ||||
-rw-r--r-- | src/H5Epublic.h | 2 | ||||
-rw-r--r-- | src/H5G.c | 6 | ||||
-rw-r--r-- | src/H5Gpublic.h | 2 | ||||
-rw-r--r-- | src/H5Omtime.c | 2 | ||||
-rw-r--r-- | src/H5S.c | 26 | ||||
-rw-r--r-- | src/H5Spublic.h | 10 | ||||
-rw-r--r-- | src/H5Sselect.c | 12 | ||||
-rw-r--r-- | src/H5public.h | 6 | ||||
-rw-r--r-- | test/.distdep | 189 | ||||
-rw-r--r-- | test/dsets.c | 2 | ||||
-rw-r--r-- | test/links.c | 18 | ||||
-rw-r--r-- | test/mtime.c | 10 | ||||
-rw-r--r-- | test/tattr.c | 76 | ||||
-rw-r--r-- | test/testhdf5.c | 2 | ||||
-rw-r--r-- | test/th5s.c | 106 | ||||
-rw-r--r-- | test/tselect.c | 12 | ||||
-rw-r--r-- | tools/h5dump.c | 23 | ||||
-rw-r--r-- | tools/h5dumputil.c | 4 | ||||
-rw-r--r-- | tools/h5ls.c | 6 | ||||
-rw-r--r-- | tools/h5tools.c | 4 |
27 files changed, 747 insertions, 742 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index 661f72d..ed41e56 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -10,6 +10,7 @@ * of the array attribute. */ +#include <stdlib.h> #include <hdf5.h> #define FILE "Attributes.h5" @@ -220,8 +221,8 @@ herr_t attr_info(hid_t loc_id, const char *name, void *opdata) */ atype = H5Aget_type(attr); aspace = H5Aget_space(attr); - rank = H5Sextent_ndims(aspace); - ret = H5Sextent_dims(aspace, sdim, NULL); + rank = H5Sget_simple_extent_ndims(aspace); + ret = H5Sget_simple_extent_dims(aspace, sdim, NULL); /* * Display rank and dimension sizes for the array attribute. */ @@ -239,11 +240,11 @@ herr_t attr_info(hid_t loc_id, const char *name, void *opdata) if (H5T_FLOAT == H5Tget_class(atype)) { printf("Type : FLOAT \n"); - npoints = H5Sextent_npoints(aspace); + npoints = H5Sget_simple_extent_npoints(aspace); float_array = (float *)malloc(sizeof(float)*(int)npoints); ret = H5Aread(attr, atype, float_array); printf("Values : "); - for( i = 0; i < npoints; i++) printf("%f ", float_array[i]); + for( i = 0; i < (int)npoints; i++) printf("%f ", float_array[i]); printf("\n"); free(float_array); } diff --git a/examples/h5_chunk_read.c b/examples/h5_chunk_read.c index 0ee70db..0c5d03c 100644 --- a/examples/h5_chunk_read.c +++ b/examples/h5_chunk_read.c @@ -47,8 +47,8 @@ main (void) */ filespace = H5Dget_space(dataset); /* Get filespace handle first. */ - rank = H5Sextent_ndims(filespace); - status_n = H5Sextent_dims(filespace, dims, NULL); + rank = H5Sget_simple_extent_ndims(filespace); + status_n = H5Sget_simple_extent_dims(filespace, dims, NULL); printf("dataset rank %d, dimensions %lu x %lu\n", rank, (unsigned long)(dims[0]), (unsigned long)(dims[1])); diff --git a/examples/h5_read.c b/examples/h5_read.c index 599ba59..fb221ab 100644 --- a/examples/h5_read.c +++ b/examples/h5_read.c @@ -68,8 +68,8 @@ main (void) printf(" Data size is %d \n", size); dataspace = H5Dget_space(dataset); /* dataspace handle */ - rank = H5Sextent_ndims(dataspace); - status_n = H5Sextent_dims(dataspace, dims_out, NULL); + rank = H5Sget_simple_extent_ndims(dataspace); + status_n = H5Sget_simple_extent_dims(dataspace, dims_out, NULL); printf("rank %d, dimensions %lu x %lu \n", rank, (unsigned long)(dims_out[0]), (unsigned long)(dims_out[1])); diff --git a/src/.distdep b/src/.distdep index e37772b..ecdf739 100644 --- a/src/.distdep +++ b/src/.distdep @@ -1,3 +1,172 @@ +H5.o: \ + H5.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Ipublic.h \ + H5Dpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Iprivate.h \ + H5MMprivate.h \ + H5MMpublic.h \ + H5Pprivate.h \ + H5Ppublic.h \ + H5Zpublic.h \ + H5Sprivate.h \ + H5Spublic.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h +H5A.o: \ + H5A.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Iprivate.h \ + H5Ipublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Dpublic.h \ + H5Dprivate.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h \ + H5Sprivate.h \ + H5Spublic.h \ + H5Zprivate.h \ + H5Zpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5MMprivate.h \ + H5MMpublic.h \ + H5Pprivate.h \ + H5Ppublic.h \ + H5Apkg.h \ + H5Aprivate.h +H5AC.o: \ + H5AC.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Ipublic.h \ + H5Dpublic.h \ + H5Eprivate.h \ + H5Epublic.h +H5B.o: \ + H5B.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Ipublic.h \ + H5Dpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Fmpioprivate.h \ + H5MFprivate.h \ + H5MFpublic.h +H5D.o: \ + H5D.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Iprivate.h \ + H5Ipublic.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Dpublic.h \ + H5Dprivate.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h \ + H5Sprivate.h \ + H5Spublic.h \ + H5Zprivate.h \ + H5Zpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5HLprivate.h \ + H5HLpublic.h \ + H5MFprivate.h \ + H5MFpublic.h +H5E.o: \ + H5E.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Iprivate.h \ + H5Ipublic.h \ + H5Eprivate.h +H5F.o: \ + H5F.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Aprivate.h \ + H5Apublic.h \ + H5Ipublic.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Dpublic.h \ + H5Dprivate.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h \ + H5Sprivate.h \ + H5Spublic.h \ + H5Zprivate.h \ + H5Zpublic.h \ + H5Iprivate.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5MMprivate.h \ + H5MMpublic.h H5Farray.o: \ H5Farray.c \ H5private.h \ @@ -34,6 +203,83 @@ H5Fcore.o: \ H5Eprivate.h \ H5Epublic.h \ H5Ipublic.h +H5Ffamily.o: \ + H5Ffamily.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Ipublic.h +H5Fistore.o: \ + H5Fistore.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Dprivate.h \ + H5Dpublic.h \ + H5Ipublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h \ + H5Sprivate.h \ + H5Spublic.h \ + H5Zprivate.h \ + H5Zpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5MFprivate.h \ + H5MFpublic.h +H5Flow.o: \ + H5Flow.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Ipublic.h \ + H5Fmpioprivate.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Dpublic.h \ + H5MMprivate.h +H5Fmpio.o: \ + H5Fmpio.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Ipublic.h \ + H5Dprivate.h \ + H5Dpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h \ + H5Sprivate.h \ + H5Spublic.h \ + H5Zprivate.h \ + H5Zpublic.h \ + H5MMprivate.h \ + H5MMpublic.h H5Fsec2.o: \ H5Fsec2.c \ H5private.h \ @@ -73,6 +319,39 @@ H5Fstdio.o: \ H5Dpublic.h \ H5MMprivate.h \ H5MMpublic.h +H5G.o: \ + H5G.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Aprivate.h \ + H5Apublic.h \ + H5Ipublic.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Dpublic.h \ + H5Dprivate.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h \ + H5Sprivate.h \ + H5Spublic.h \ + H5Zprivate.h \ + H5Zpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Gpkg.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5HLprivate.h \ + H5HLpublic.h H5Gent.o: \ H5Gent.c \ H5private.h \ @@ -91,6 +370,39 @@ H5Gent.o: \ H5Gpublic.h \ H5Bprivate.h \ H5Bpublic.h +H5Gnode.o: \ + H5Gnode.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Ipublic.h \ + H5Dpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Fmpioprivate.h \ + H5Gpkg.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5HLprivate.h \ + H5HLpublic.h \ + H5MFprivate.h \ + H5MFpublic.h \ + H5MMprivate.h \ + H5MMpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h \ + H5Sprivate.h \ + H5Spublic.h H5Gstab.o: \ H5Gstab.c \ H5private.h \ @@ -138,6 +450,23 @@ H5HG.o: \ H5MFprivate.h \ H5MFpublic.h \ H5MMprivate.h +H5HL.o: \ + H5HL.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Ipublic.h \ + H5Dpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Fmpioprivate.h \ + H5HLprivate.h \ + H5HLpublic.h \ + H5MFprivate.h H5I.o: \ H5I.c \ H5private.h \ @@ -146,6 +475,14 @@ H5I.o: \ H5Iprivate.h \ H5Ipublic.h \ H5Eprivate.h +H5MF.o: \ + H5MF.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Ipublic.h H5MM.o: \ H5MM.c \ H5private.h \ @@ -154,6 +491,33 @@ H5MM.o: \ H5Eprivate.h \ H5Epublic.h \ H5Ipublic.h +H5O.o: \ + H5O.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5ACprivate.h \ + H5ACpublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Ipublic.h \ + H5Dpublic.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Fmpioprivate.h \ + H5MFprivate.h \ + H5MFpublic.h \ + H5MMprivate.h \ + H5MMpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h H5Oattr.o: \ H5Oattr.c \ H5private.h \ @@ -302,6 +666,29 @@ H5Olayout.o: \ H5Sprivate.h \ H5Spublic.h \ H5Zprivate.h +H5Omtime.o: \ + H5Omtime.c \ + H5private.h \ + H5public.h \ + H5config.h \ + H5Eprivate.h \ + H5Epublic.h \ + H5Ipublic.h \ + H5MMprivate.h \ + H5MMpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Dpublic.h \ + H5Gprivate.h \ + H5Gpublic.h \ + H5Bprivate.h \ + H5Bpublic.h \ + H5HGprivate.h \ + H5HGpublic.h \ + H5Tprivate.h \ + H5Tpublic.h H5Oname.o: \ H5Oname.c \ H5private.h \ @@ -412,117 +799,71 @@ H5Ostab.o: \ H5HGpublic.h \ H5Tprivate.h \ H5Tpublic.h -H5Sall.o: \ - H5Sall.c \ +H5P.o: \ + H5P.c \ H5private.h \ H5public.h \ H5config.h \ - H5Eprivate.h \ - H5Epublic.h \ + H5Iprivate.h \ H5Ipublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Gprivate.h \ - H5Gpublic.h \ H5Bprivate.h \ H5Bpublic.h \ H5Fprivate.h \ H5Fpublic.h \ H5Dpublic.h \ + H5Dprivate.h \ + H5Gprivate.h \ + H5Gpublic.h \ H5Oprivate.h \ H5Opublic.h \ H5HGprivate.h \ H5HGpublic.h \ H5Tprivate.h \ - H5Tpublic.h -H5Tbit.o: \ - H5Tbit.c \ - H5private.h \ - H5public.h \ - H5config.h \ + H5Tpublic.h \ + H5Sprivate.h \ + H5Spublic.h \ + H5Zprivate.h \ + H5Zpublic.h \ H5Eprivate.h \ H5Epublic.h \ + H5MMprivate.h +H5R.o: \ + H5R.c \ + H5Rprivate.h \ + H5Rpublic.h \ H5Ipublic.h \ - H5Iprivate.h \ - H5Tpkg.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Dpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Gprivate.h -H5Tinit.o: \ - H5Tinit.c \ - H5private.h \ H5public.h \ H5config.h \ - H5Iprivate.h \ - H5Ipublic.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5MMprivate.h \ - H5MMpublic.h \ - H5Tpkg.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ + H5Dprivate.h \ H5Dpublic.h \ - H5Tprivate.h -H5V.o: \ - H5V.c \ H5private.h \ - H5public.h \ - H5config.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5Ipublic.h \ - H5Oprivate.h \ - H5Opublic.h \ H5Fprivate.h \ H5Fpublic.h \ - H5Dpublic.h \ H5Gprivate.h \ H5Gpublic.h \ H5Bprivate.h \ H5Bpublic.h \ + H5Oprivate.h \ + H5Opublic.h \ H5HGprivate.h \ H5HGpublic.h \ H5Tprivate.h \ H5Tpublic.h \ H5Sprivate.h \ - H5Spublic.h -H5AC.o: \ - H5AC.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5ACprivate.h \ - H5ACpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Ipublic.h \ - H5Dpublic.h \ + H5Spublic.h \ + H5Zprivate.h \ + H5Zpublic.h \ H5Eprivate.h \ H5Epublic.h -H5Ffamily.o: \ - H5Ffamily.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5Ipublic.h -H5Omtime.o: \ - H5Omtime.c \ +H5S.o: \ + H5S.c \ H5private.h \ H5public.h \ H5config.h \ + H5Iprivate.h \ + H5Ipublic.h \ H5Eprivate.h \ H5Epublic.h \ - H5Ipublic.h \ H5MMprivate.h \ H5MMpublic.h \ H5Oprivate.h \ @@ -536,54 +877,9 @@ H5Omtime.o: \ H5Bpublic.h \ H5HGprivate.h \ H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h -H5Fistore.o: \ - H5Fistore.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Dprivate.h \ - H5Dpublic.h \ - H5Ipublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ - H5Oprivate.h \ - H5Opublic.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h \ - H5Zpublic.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5MFprivate.h \ - H5MFpublic.h -H5E.o: \ - H5E.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Iprivate.h \ - H5Ipublic.h \ - H5Eprivate.h -H5MF.o: \ - H5MF.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5Ipublic.h -H5Shyper.o: \ - H5Shyper.c \ + H5Tprivate.h +H5Sall.o: \ + H5Sall.c \ H5private.h \ H5public.h \ H5config.h \ @@ -605,123 +901,29 @@ H5Shyper.o: \ H5HGpublic.h \ H5Tprivate.h \ H5Tpublic.h -H5Tconv.o: \ - H5Tconv.c \ - H5Iprivate.h \ - H5Ipublic.h \ - H5public.h \ - H5config.h \ - H5private.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5MMprivate.h \ - H5MMpublic.h \ - H5Tpkg.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Dpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5Bprivate.h \ - H5Bpublic.h -H5Z.o: \ - H5Z.c \ +H5Shyper.o: \ + H5Shyper.c \ H5private.h \ H5public.h \ H5config.h \ H5Eprivate.h \ H5Epublic.h \ H5Ipublic.h \ - H5MMprivate.h \ - H5MMpublic.h \ - H5Oprivate.h \ - H5Opublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Dpublic.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h \ - H5Zpublic.h -H5.o: \ - H5.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5ACprivate.h \ - H5ACpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Ipublic.h \ - H5Dpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5Iprivate.h \ - H5MMprivate.h \ - H5MMpublic.h \ - H5Pprivate.h \ - H5Ppublic.h \ - H5Zpublic.h \ H5Sprivate.h \ H5Spublic.h \ H5Gprivate.h \ H5Gpublic.h \ - H5Oprivate.h \ - H5Opublic.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h -H5P.o: \ - H5P.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Iprivate.h \ - H5Ipublic.h \ H5Bprivate.h \ H5Bpublic.h \ H5Fprivate.h \ H5Fpublic.h \ H5Dpublic.h \ - H5Dprivate.h \ - H5Gprivate.h \ - H5Gpublic.h \ H5Oprivate.h \ H5Opublic.h \ H5HGprivate.h \ H5HGpublic.h \ H5Tprivate.h \ - H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h \ - H5Zpublic.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5MMprivate.h -H5TB.o: \ - H5TB.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Iprivate.h \ - H5Ipublic.h \ - H5Eprivate.h + H5Tpublic.h H5Smpio.o: \ H5Smpio.c \ H5private.h \ @@ -796,49 +998,14 @@ H5Sselect.o: \ H5Tpublic.h \ H5Zprivate.h \ H5Zpublic.h -H5G.o: \ - H5G.c \ +H5T.o: \ + H5T.c \ H5private.h \ H5public.h \ H5config.h \ - H5Aprivate.h \ - H5Apublic.h \ - H5Ipublic.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Dpublic.h \ - H5Dprivate.h \ - H5Oprivate.h \ - H5Opublic.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h \ - H5Zpublic.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5Gpkg.h \ - H5ACprivate.h \ - H5ACpublic.h \ - H5HLprivate.h \ - H5HLpublic.h -H5R.o: \ - H5R.c \ - H5Rprivate.h \ - H5Rpublic.h \ - H5Ipublic.h \ - H5public.h \ - H5config.h \ H5Dprivate.h \ H5Dpublic.h \ - H5private.h \ + H5Ipublic.h \ H5Fprivate.h \ H5Fpublic.h \ H5Gprivate.h \ @@ -855,236 +1022,90 @@ H5R.o: \ H5Spublic.h \ H5Zprivate.h \ H5Zpublic.h \ - H5Eprivate.h \ - H5Epublic.h -H5A.o: \ - H5A.c \ - H5private.h \ - H5public.h \ - H5config.h \ H5Iprivate.h \ - H5Ipublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Dpublic.h \ - H5Dprivate.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5Oprivate.h \ - H5Opublic.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h \ - H5Zpublic.h \ H5Eprivate.h \ H5Epublic.h \ - H5MMprivate.h \ - H5MMpublic.h \ - H5Pprivate.h \ - H5Ppublic.h \ - H5Apkg.h \ - H5Aprivate.h -H5B.o: \ - H5B.c \ + H5MMprivate.h +H5Tbit.o: \ + H5Tbit.c \ H5private.h \ H5public.h \ H5config.h \ - H5ACprivate.h \ - H5ACpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Ipublic.h \ - H5Dpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ H5Eprivate.h \ H5Epublic.h \ - H5MFprivate.h \ - H5MFpublic.h \ - H5MMprivate.h -H5D.o: \ - H5D.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Iprivate.h \ H5Ipublic.h \ - H5ACprivate.h \ - H5ACpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Dpublic.h \ - H5Dprivate.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ - H5Oprivate.h \ - H5Opublic.h \ + H5Iprivate.h \ + H5Tpkg.h \ H5HGprivate.h \ H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h \ - H5Zpublic.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5HLprivate.h \ - H5HLpublic.h \ - H5MFprivate.h \ - H5MFpublic.h -H5F.o: \ - H5F.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Aprivate.h \ - H5Apublic.h \ - H5Ipublic.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ H5Fprivate.h \ H5Fpublic.h \ H5Dpublic.h \ - H5Dprivate.h \ - H5Oprivate.h \ - H5Opublic.h \ - H5HGprivate.h \ - H5HGpublic.h \ H5Tprivate.h \ H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h \ - H5Zpublic.h \ + H5Gprivate.h +H5Tconv.o: \ + H5Tconv.c \ H5Iprivate.h \ - H5ACprivate.h \ - H5ACpublic.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5MMprivate.h \ - H5MMpublic.h -H5Flow.o: \ - H5Flow.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Eprivate.h \ - H5Epublic.h \ H5Ipublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Dpublic.h \ - H5MMprivate.h \ - H5MMpublic.h -H5Fmpio.o: \ - H5Fmpio.c \ - H5private.h \ H5public.h \ H5config.h \ + H5private.h \ H5Eprivate.h \ H5Epublic.h \ - H5Ipublic.h \ - H5Dprivate.h \ - H5Dpublic.h \ + H5MMprivate.h \ + H5MMpublic.h \ + H5Tpkg.h \ + H5HGprivate.h \ + H5HGpublic.h \ H5Fprivate.h \ H5Fpublic.h \ + H5Dpublic.h \ + H5Tprivate.h \ + H5Tpublic.h \ H5Gprivate.h \ H5Gpublic.h \ H5Bprivate.h \ - H5Bpublic.h \ - H5Oprivate.h \ - H5Opublic.h \ - H5HGprivate.h \ - H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h \ - H5Zpublic.h \ - H5MMprivate.h \ - H5MMpublic.h -H5Gnode.o: \ - H5Gnode.c \ + H5Bpublic.h +H5Tinit.o: \ + H5Tinit.c \ H5private.h \ H5public.h \ H5config.h \ - H5ACprivate.h \ - H5ACpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ + H5Iprivate.h \ H5Ipublic.h \ - H5Dpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ H5Eprivate.h \ H5Epublic.h \ - H5Gpkg.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5HLprivate.h \ - H5HLpublic.h \ - H5MFprivate.h \ - H5MFpublic.h \ H5MMprivate.h \ H5MMpublic.h \ - H5Oprivate.h \ - H5Opublic.h \ + H5Tpkg.h \ H5HGprivate.h \ H5HGpublic.h \ - H5Tprivate.h \ - H5Tpublic.h \ - H5Sprivate.h \ - H5Spublic.h \ - H5Zprivate.h -H5HL.o: \ - H5HL.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5ACprivate.h \ - H5ACpublic.h \ H5Fprivate.h \ H5Fpublic.h \ - H5Ipublic.h \ H5Dpublic.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5HLprivate.h \ - H5HLpublic.h \ - H5MFprivate.h \ - H5MFpublic.h \ - H5MMprivate.h -H5O.o: \ - H5O.c \ + H5Tprivate.h +H5TB.o: \ + H5TB.c \ H5private.h \ H5public.h \ H5config.h \ - H5ACprivate.h \ - H5ACpublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ + H5Iprivate.h \ H5Ipublic.h \ - H5Dpublic.h \ + H5Eprivate.h +H5V.o: \ + H5V.c \ + H5private.h \ + H5public.h \ + H5config.h \ H5Eprivate.h \ H5Epublic.h \ - H5MFprivate.h \ - H5MFpublic.h \ - H5MMprivate.h \ - H5MMpublic.h \ + H5Ipublic.h \ H5Oprivate.h \ H5Opublic.h \ + H5Fprivate.h \ + H5Fpublic.h \ + H5Dpublic.h \ H5Gprivate.h \ H5Gpublic.h \ H5Bprivate.h \ @@ -1093,16 +1114,16 @@ H5O.o: \ H5HGpublic.h \ H5Tprivate.h \ H5Tpublic.h \ - H5Sprivate.h -H5S.o: \ - H5S.c \ + H5Sprivate.h \ + H5Spublic.h +H5Z.o: \ + H5Z.c \ H5private.h \ H5public.h \ H5config.h \ - H5Iprivate.h \ - H5Ipublic.h \ H5Eprivate.h \ H5Epublic.h \ + H5Ipublic.h \ H5MMprivate.h \ H5MMpublic.h \ H5Oprivate.h \ @@ -1116,32 +1137,9 @@ H5S.o: \ H5Bpublic.h \ H5HGprivate.h \ H5HGpublic.h \ - H5Tprivate.h -H5T.o: \ - H5T.c \ - H5private.h \ - H5public.h \ - H5config.h \ - H5Dprivate.h \ - H5Dpublic.h \ - H5Ipublic.h \ - H5Fprivate.h \ - H5Fpublic.h \ - H5Gprivate.h \ - H5Gpublic.h \ - H5Bprivate.h \ - H5Bpublic.h \ - H5Oprivate.h \ - H5Opublic.h \ - H5HGprivate.h \ - H5HGpublic.h \ H5Tprivate.h \ H5Tpublic.h \ H5Sprivate.h \ H5Spublic.h \ H5Zprivate.h \ - H5Zpublic.h \ - H5Iprivate.h \ - H5Eprivate.h \ - H5Epublic.h \ - H5MMprivate.h + H5Zpublic.h @@ -24,7 +24,7 @@ static char RcsId[] = "@(#)$Revision$"; EXPORTED ROUTINES H5dont_atexit -- Indicate that an 'atexit' routine is _not_ to be installed - H5version -- Check the version of the library + H5get_libversion -- Check the version of the library LIBRARY-SCOPED ROUTINES H5_init_library -- initialize the HDF5 library @@ -402,7 +402,7 @@ H5_debug_mask(const char *s) /*------------------------------------------------------------------------- - * Function: H5version + * Function: H5get_libversion * * Purpose: Returns the library version numbers through arguments. MAJNUM * will be the major revision number of the library, MINNUM the @@ -427,11 +427,11 @@ H5_debug_mask(const char *s) *------------------------------------------------------------------------- */ herr_t -H5version(unsigned *majnum, unsigned *minnum, unsigned *relnum) +H5get_libversion(unsigned *majnum, unsigned *minnum, unsigned *relnum) { herr_t ret_value = SUCCEED; - FUNC_ENTER(H5version, FAIL); + FUNC_ENTER(H5get_libversion, FAIL); /* Set the version information */ if (majnum) *majnum = H5_VERS_MAJOR; @@ -443,7 +443,7 @@ H5version(unsigned *majnum, unsigned *minnum, unsigned *relnum) /*------------------------------------------------------------------------- - * Function: H5vers_check + * Function: H5check_version * * Purpose: Verifies that the arguments match the version numbers * compiled into the library. This function is intended to be @@ -463,7 +463,7 @@ H5version(unsigned *majnum, unsigned *minnum, unsigned *relnum) *------------------------------------------------------------------------- */ herr_t -H5vers_check (unsigned majnum, unsigned minnum, unsigned relnum) +H5check_version (unsigned majnum, unsigned minnum, unsigned relnum) { /* Don't initialize the library quite yet */ @@ -1040,11 +1040,11 @@ H5Aget_name(hid_t attr_id, size_t buf_size, char *buf) /*-------------------------------------------------------------------------- NAME - H5Anum_attrs + H5Aget_num_attrs PURPOSE Determines the number of attributes attached to an object USAGE - int H5Anum_attrs (loc_id) + int H5Aget_num_attrs (loc_id) hid_t loc_id; IN: Object (dataset or group) to be queried RETURNS Number of attributes on success, negative on failure @@ -1060,13 +1060,13 @@ H5Aget_name(hid_t attr_id, size_t buf_size, char *buf) * The LOC_ID can also be a named (committed) data type. --------------------------------------------------------------------------*/ int -H5Anum_attrs(hid_t loc_id) +H5Aget_num_attrs(hid_t loc_id) { H5G_entry_t *ent = NULL; /*symtab ent of object to attribute */ void *obj = NULL; int ret_value = 0; - FUNC_ENTER(H5Anum_attrs, FAIL); + FUNC_ENTER(H5Aget_num_attrs, FAIL); H5TRACE1("Is","i",loc_id); /* check arguments */ @@ -1100,7 +1100,7 @@ H5Anum_attrs(hid_t loc_id) ret_value=H5O_count(ent, H5O_ATTR); FUNC_LEAVE(ret_value); -} /* H5Anum_attrs() */ +} /* H5Aget_num_attrs() */ /*-------------------------------------------------------------------------- diff --git a/src/H5Apublic.h b/src/H5Apublic.h index b3b556f..f40d17e 100644 --- a/src/H5Apublic.h +++ b/src/H5Apublic.h @@ -37,7 +37,7 @@ herr_t H5Aclose(hid_t attr_id); hid_t H5Aget_space(hid_t attr_id); hid_t H5Aget_type(hid_t attr_id); size_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf); -int H5Anum_attrs(hid_t loc_id); +int H5Aget_num_attrs(hid_t loc_id); int H5Aiterate(hid_t loc_id, unsigned *attr_num, H5A_operator_t op, void *op_data); herr_t H5Adelete(hid_t loc_id, const char *name); diff --git a/src/H5Epublic.h b/src/H5Epublic.h index 43db4b3..f930f98 100644 --- a/src/H5Epublic.h +++ b/src/H5Epublic.h @@ -25,7 +25,7 @@ /* * One often needs to temporarily disable automatic error reporting when * trying something that's likely or expected to fail. For instance, to - * determine if an object exists one can call H5Gstat() which will fail if + * determine if an object exists one can call H5Gget_stat() which will fail if * the object doesn't exist. The code to try can be nested between calls to * H5Eget_auto() and H5Eset_auto(), but it's easier just to use this macro * like: @@ -631,7 +631,7 @@ H5Gunlink(hid_t __unused__ loc_id, const char __unused__ *name) /*------------------------------------------------------------------------- - * Function: H5Gstat + * Function: H5Gget_stat * * Purpose: Returns information about an object. If FOLLOW_LINK is * non-zero then all symbolic links are followed; otherwise all @@ -650,12 +650,12 @@ H5Gunlink(hid_t __unused__ loc_id, const char __unused__ *name) *------------------------------------------------------------------------- */ herr_t -H5Gstat(hid_t loc_id, const char *name, hbool_t follow_link, +H5Gget_stat(hid_t loc_id, const char *name, hbool_t follow_link, H5G_stat_t *statbuf/*out*/) { H5G_entry_t *loc = NULL; - FUNC_ENTER (H5Gstat, FAIL); + FUNC_ENTER (H5Gget_stat, FAIL); H5TRACE4("e","isbx",loc_id,name,follow_link,statbuf); /* Check arguments */ diff --git a/src/H5Gpublic.h b/src/H5Gpublic.h index 586a50f..a116253 100644 --- a/src/H5Gpublic.h +++ b/src/H5Gpublic.h @@ -68,7 +68,7 @@ herr_t H5Gmove (hid_t loc_id, const char *src, const char *dst); herr_t H5Glink (hid_t loc_id, H5G_link_t type, const char *cur_name, const char *new_name); herr_t H5Gunlink (hid_t loc_id, const char *name); -herr_t H5Gstat (hid_t loc_id, const char *name, hbool_t follow_link, +herr_t H5Gget_stat (hid_t loc_id, const char *name, hbool_t follow_link, H5G_stat_t *statbuf/*out*/); herr_t H5Gget_linkval (hid_t loc_id, const char *name, size_t size, char *buf/*out*/); diff --git a/src/H5Omtime.c b/src/H5Omtime.c index 3daf15a..bce48b5 100644 --- a/src/H5Omtime.c +++ b/src/H5Omtime.c @@ -136,7 +136,7 @@ H5O_mtime_decode(H5F_t __unused__ *f, const uint8 *p, * The catch-all. If we can't convert a character string universal * coordinated time to a time_t value reliably then we can't decode the * modification time message. This really isn't as bad as it sounds -- - * the only way a user can get the modification time is from H5Gstat() + * the only way a user can get the modification time is from H5Gget_stat() * and H5G_stat() can gracefully recover. */ @@ -729,7 +729,7 @@ H5S_extent_npoints(const H5S_t *ds) /*------------------------------------------------------------------------- - * Function: H5Sextent_npoints + * Function: H5Sget_simple_extent_npoints * * Purpose: Determines how many data points a dataset extent has. * @@ -746,12 +746,12 @@ H5S_extent_npoints(const H5S_t *ds) *------------------------------------------------------------------------- */ hsize_t -H5Sextent_npoints(hid_t space_id) +H5Sget_simple_extent_npoints(hid_t space_id) { H5S_t *ds = NULL; hsize_t ret_value = 0; - FUNC_ENTER(H5Sextent_npoints, 0); + FUNC_ENTER(H5Sget_simple_extent_npoints, 0); H5TRACE1("h","i",space_id); /* Check args */ @@ -832,7 +832,7 @@ H5S_get_npoints_max(const H5S_t *ds) /*------------------------------------------------------------------------- - * Function: H5Sextent_ndims + * Function: H5Sget_simple_extent_ndims * * Purpose: Determines the dimensionality of a data space. * @@ -848,12 +848,12 @@ H5S_get_npoints_max(const H5S_t *ds) *------------------------------------------------------------------------- */ int -H5Sextent_ndims(hid_t space_id) +H5Sget_simple_extent_ndims(hid_t space_id) { H5S_t *ds = NULL; intn ret_value = 0; - FUNC_ENTER(H5Sextent_ndims, FAIL); + FUNC_ENTER(H5Sget_simple_extent_ndims, FAIL); H5TRACE1("Is","i",space_id); /* Check args */ @@ -916,13 +916,13 @@ H5S_extent_ndims(const H5S_t *ds) } /*------------------------------------------------------------------------- - * Function: H5Sextent_dims + * Function: H5Sget_simple_extent_dims * * Purpose: Returns the size and maximum sizes in each dimension of * a data space DS through the DIMS and MAXDIMS arguments. * * Return: Success: Number of dimensions, the same value as - * returned by H5Sextent_ndims(). + * returned by H5Sget_simple_extent_ndims(). * * Failure: FAIL * @@ -938,13 +938,13 @@ H5S_extent_ndims(const H5S_t *ds) *------------------------------------------------------------------------- */ int -H5Sextent_dims(hid_t space_id, hsize_t dims[]/*out*/, +H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[]/*out*/, hsize_t maxdims[]/*out*/) { H5S_t *ds = NULL; intn ret_value = 0; - FUNC_ENTER(H5Sextent_dims, FAIL); + FUNC_ENTER(H5Sget_simple_extent_dims, FAIL); H5TRACE3("Is","ixx",space_id,dims,maxdims); /* Check args */ @@ -1644,7 +1644,7 @@ H5Screate_simple(int rank, const hsize_t dims[/*rank*/], } /*------------------------------------------------------------------------- - * Function: H5Sextent_class + * Function: H5Sget_simple_extent_type * * Purpose: Retrieves the type of extent for a dataspace object * @@ -1662,12 +1662,12 @@ H5Screate_simple(int rank, const hsize_t dims[/*rank*/], *------------------------------------------------------------------------- */ H5S_class_t -H5Sextent_class(hid_t sid) +H5Sget_simple_extent_type(hid_t sid) { H5S_class_t ret_value = H5S_NO_CLASS; H5S_t *space = NULL; - FUNC_ENTER(H5Sextent_class, FAIL); + FUNC_ENTER(H5Sget_simple_extent_type, FAIL); H5TRACE1("Sc","i",sid); /* Check arguments */ diff --git a/src/H5Spublic.h b/src/H5Spublic.h index 9dca348..55b8ab1 100644 --- a/src/H5Spublic.h +++ b/src/H5Spublic.h @@ -50,18 +50,18 @@ herr_t H5Sset_extent_simple (hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[]); hid_t H5Scopy (hid_t space_id); herr_t H5Sclose (hid_t space_id); -hsize_t H5Sextent_npoints (hid_t space_id); -int H5Sextent_ndims (hid_t space_id); -int H5Sextent_dims (hid_t space_id, hsize_t dims[], hsize_t maxdims[]); +hsize_t H5Sget_simple_extent_npoints (hid_t space_id); +int H5Sget_simple_extent_ndims (hid_t space_id); +int H5Sget_simple_extent_dims (hid_t space_id, hsize_t dims[], hsize_t maxdims[]); hbool_t H5Sis_simple (hid_t space_id); herr_t H5Sset_space (hid_t space_id, int rank, const hsize_t *dims); -hsize_t H5Sselect_npoints (hid_t spaceid); +hsize_t H5Sget_select_npoints (hid_t spaceid); herr_t H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op, const hssize_t start[], const hsize_t _stride[], const hsize_t count[], const hsize_t _block[]); herr_t H5Sselect_elements (hid_t space_id, H5S_seloper_t op, size_t num_elemn, const hssize_t **coord); -H5S_class_t H5Sextent_class (hid_t space_id); +H5S_class_t H5Sget_simple_extent_type (hid_t space_id); herr_t H5Sset_extent_none (hid_t space_id); herr_t H5Sextent_copy (hid_t dst_id,hid_t src_id); herr_t H5Sselect_all (hid_t spaceid); diff --git a/src/H5Sselect.c b/src/H5Sselect.c index 52c1636..d7478d3 100644 --- a/src/H5Sselect.c +++ b/src/H5Sselect.c @@ -641,11 +641,11 @@ done: /*-------------------------------------------------------------------------- NAME - H5Sselect_npoints + H5Sget_select_npoints PURPOSE Get the number of elements in current selection USAGE - hsize_t H5Sselect_npoints(dsid) + hsize_t H5Sget_select_npoints(dsid) hid_t dsid; IN: Dataspace ID of selection to query RETURNS The number of elements in selection on success, 0 on failure @@ -657,12 +657,12 @@ done: REVISION LOG --------------------------------------------------------------------------*/ hsize_t -H5Sselect_npoints(hid_t spaceid) +H5Sget_select_npoints(hid_t spaceid) { H5S_t *space = NULL; /* Dataspace to modify selection of */ hsize_t ret_value=0; /* return value */ - FUNC_ENTER (H5Sselect_npoints, 0); + FUNC_ENTER (H5Sget_select_npoints, 0); H5TRACE1("h","i",spaceid); /* Check args */ @@ -674,7 +674,7 @@ H5Sselect_npoints(hid_t spaceid) ret_value = H5S_select_npoints(space); FUNC_LEAVE (ret_value); -} /* H5Sselect_npoints() */ +} /* H5Sget_select_npoints() */ /*-------------------------------------------------------------------------- NAME @@ -725,7 +725,7 @@ H5S_select_npoints (const H5S_t *space) } FUNC_LEAVE (ret_value); -} /* H5Sselect_npoints() */ +} /* H5S_select_npoints() */ /*-------------------------------------------------------------------------- NAME diff --git a/src/H5public.h b/src/H5public.h index 703d375..87b4464 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -29,7 +29,7 @@ #define H5_VERS_MINOR 0 /* For minor interface/format changes */ #define H5_VERS_RELEASE 75 /* For tweaks, bug-fixes, or development */ -#define H5check() H5vers_check(H5_VERS_MAJOR,H5_VERS_MINOR, \ +#define H5check() H5check_version(H5_VERS_MAJOR,H5_VERS_MINOR, \ H5_VERS_RELEASE) /* @@ -82,8 +82,8 @@ extern "C" { herr_t H5open (void); herr_t H5close (void); herr_t H5dont_atexit (void); -herr_t H5version (unsigned *majnum, unsigned *minnum, unsigned *relnum); -herr_t H5vers_check (unsigned majnum, unsigned minnum, unsigned relnum); +herr_t H5get_libversion (unsigned *majnum, unsigned *minnum, unsigned *relnum); +herr_t H5check_version (unsigned majnum, unsigned minnum, unsigned relnum); #ifdef __cplusplus } diff --git a/test/.distdep b/test/.distdep index b5d511d..c2dccae 100644 --- a/test/.distdep +++ b/test/.distdep @@ -178,8 +178,8 @@ th5s.o: \ ../src/H5Tpublic.h \ ../src/H5Zprivate.h \ ../src/H5Zpublic.h -external.o: \ - external.c \ +dtypes.o: \ + dtypes.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -198,10 +198,51 @@ external.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ + ../src/H5Rpublic.h \ ../src/H5Spublic.h \ - ../src/H5Tpublic.h -shtype.o: \ - shtype.c \ + ../src/H5Tpublic.h \ + ../src/H5Tpkg.h \ + ../src/H5HGprivate.h \ + ../src/H5Fprivate.h \ + ../src/H5private.h \ + ../src/H5Tprivate.h +hyperslab.o: \ + hyperslab.c \ + ../src/H5private.h \ + ../src/H5public.h \ + ../src/H5config.h \ + ../src/H5MMprivate.h \ + ../src/H5MMpublic.h +istore.o: \ + istore.c \ + ../src/H5private.h \ + ../src/H5public.h \ + ../src/H5config.h \ + ../src/H5Iprivate.h \ + ../src/H5Ipublic.h \ + ../src/H5Pprivate.h \ + ../src/H5Ppublic.h \ + ../src/H5Dpublic.h \ + ../src/H5Fpublic.h \ + ../src/H5Zpublic.h \ + ../src/H5Fprivate.h \ + ../src/H5Gprivate.h \ + ../src/H5Gpublic.h \ + ../src/H5Bprivate.h \ + ../src/H5Bpublic.h \ + ../src/H5MMprivate.h \ + ../src/H5MMpublic.h \ + ../src/H5Oprivate.h \ + ../src/H5Opublic.h \ + ../src/H5HGprivate.h \ + ../src/H5HGpublic.h \ + ../src/H5Tprivate.h \ + ../src/H5Tpublic.h \ + ../src/H5Sprivate.h \ + ../src/H5Spublic.h \ + ../src/H5Zprivate.h +dsets.o: \ + dsets.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -220,9 +261,11 @@ shtype.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ - ../src/H5Spublic.h -big.o: \ - big.c \ + ../src/H5Rpublic.h \ + ../src/H5Spublic.h \ + ../src/H5Tpublic.h +cmpd_dset.o: \ + cmpd_dset.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -241,11 +284,11 @@ big.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ + ../src/H5Rpublic.h \ ../src/H5Spublic.h \ - ../src/H5Tpublic.h \ - ../src/H5private.h -chunk.o: \ - chunk.c \ + ../src/H5Tpublic.h +extend.o: \ + extend.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -264,10 +307,9 @@ chunk.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ - ../src/H5Spublic.h \ - ../src/H5Tpublic.h -iopipe.o: \ - iopipe.c \ + ../src/H5Rpublic.h +external.o: \ + external.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -286,17 +328,11 @@ iopipe.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ + ../src/H5Rpublic.h \ ../src/H5Spublic.h \ ../src/H5Tpublic.h -hyperslab.o: \ - hyperslab.c \ - ../src/H5private.h \ - ../src/H5public.h \ - ../src/H5config.h \ - ../src/H5MMprivate.h \ - ../src/H5MMpublic.h -extend.o: \ - extend.c \ +iopipe.o: \ + iopipe.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -315,9 +351,30 @@ extend.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ - ../src/H5Spublic.h -links.o: \ - links.c \ + ../src/H5Rpublic.h \ + ../src/H5Spublic.h \ + ../src/H5Tpublic.h +gheap.o: \ + gheap.c \ + ../src/H5private.h \ + ../src/H5public.h \ + ../src/H5config.h \ + ../src/H5Eprivate.h \ + ../src/H5Epublic.h \ + ../src/H5Ipublic.h \ + ../src/H5Fprivate.h \ + ../src/H5Fpublic.h \ + ../src/H5Dpublic.h \ + ../src/H5Gprivate.h \ + ../src/H5Gpublic.h \ + ../src/H5Bprivate.h \ + ../src/H5Bpublic.h \ + ../src/H5HGprivate.h \ + ../src/H5HGpublic.h \ + ../src/H5Pprivate.h \ + ../src/H5Ppublic.h +shtype.o: \ + shtype.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -336,10 +393,9 @@ links.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ - ../src/H5Spublic.h \ - ../src/H5Tpublic.h -dtypes.o: \ - dtypes.c \ + ../src/H5Rpublic.h +big.o: \ + big.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -358,15 +414,12 @@ dtypes.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ + ../src/H5Rpublic.h \ ../src/H5Spublic.h \ ../src/H5Tpublic.h \ - ../src/H5Tpkg.h \ - ../src/H5HGprivate.h \ - ../src/H5Fprivate.h \ - ../src/H5private.h \ - ../src/H5Tprivate.h -dsets.o: \ - dsets.c \ + ../src/H5private.h +links.o: \ + links.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -385,10 +438,10 @@ dsets.o: \ ../src/H5Opublic.h \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ - ../src/H5Spublic.h \ - ../src/H5Tpublic.h -cmpd_dset.o: \ - cmpd_dset.c \ + ../src/H5Rpublic.h \ + ../src/H5Spublic.h +chunk.o: \ + chunk.c \ ../src/hdf5.h \ ../src/H5public.h \ ../src/H5config.h \ @@ -408,8 +461,7 @@ cmpd_dset.o: \ ../src/H5Ppublic.h \ ../src/H5Zpublic.h \ ../src/H5Rpublic.h \ - ../src/H5Spublic.h \ - ../src/H5Tpublic.h + ../src/H5Spublic.h bittests.o: \ bittests.c \ ../src/H5Tpkg.h \ @@ -426,53 +478,6 @@ bittests.o: \ ../src/H5Tpublic.h \ ../src/H5Gprivate.h \ ../src/H5Gpublic.h -istore.o: \ - istore.c \ - ../src/H5private.h \ - ../src/H5public.h \ - ../src/H5config.h \ - ../src/H5Iprivate.h \ - ../src/H5Ipublic.h \ - ../src/H5Pprivate.h \ - ../src/H5Ppublic.h \ - ../src/H5Dpublic.h \ - ../src/H5Fpublic.h \ - ../src/H5Zpublic.h \ - ../src/H5Fprivate.h \ - ../src/H5Gprivate.h \ - ../src/H5Gpublic.h \ - ../src/H5Bprivate.h \ - ../src/H5Bpublic.h \ - ../src/H5MMprivate.h \ - ../src/H5MMpublic.h \ - ../src/H5Oprivate.h \ - ../src/H5Opublic.h \ - ../src/H5HGprivate.h \ - ../src/H5HGpublic.h \ - ../src/H5Tprivate.h \ - ../src/H5Tpublic.h \ - ../src/H5Sprivate.h \ - ../src/H5Spublic.h \ - ../src/H5Zprivate.h -gheap.o: \ - gheap.c \ - ../src/H5private.h \ - ../src/H5public.h \ - ../src/H5config.h \ - ../src/H5Eprivate.h \ - ../src/H5Epublic.h \ - ../src/H5Ipublic.h \ - ../src/H5Fprivate.h \ - ../src/H5Fpublic.h \ - ../src/H5Dpublic.h \ - ../src/H5Gprivate.h \ - ../src/H5Gpublic.h \ - ../src/H5Bprivate.h \ - ../src/H5Bpublic.h \ - ../src/H5HGprivate.h \ - ../src/H5HGpublic.h \ - ../src/H5Pprivate.h \ - ../src/H5Ppublic.h mtime.o: \ mtime.c \ ../src/hdf5.h \ diff --git a/test/dsets.c b/test/dsets.c index cb27004..1e0799d 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -712,7 +712,7 @@ test_multiopen (hid_t file) /* Get the size from the second handle */ if ((space = H5Dget_space (dset2))<0) goto error; - if (H5Sextent_dims (space, tmp_size, NULL)<0) goto error; + if (H5Sget_simple_extent_dims (space, tmp_size, NULL)<0) goto error; if (cur_size[0]!=tmp_size[0]) { puts ("*FAILED*"); printf (" Got %d instead of %d!\n", diff --git a/test/links.c b/test/links.c index 8fb55a3..0a0f807 100644 --- a/test/links.c +++ b/test/links.c @@ -176,8 +176,8 @@ cklinks(void) } /* Hard link */ - if (H5Gstat(file, "d1", TRUE, &sb1)<0) goto error; - if (H5Gstat(file, "grp1/hard", TRUE, &sb2)<0) goto error; + if (H5Gget_stat(file, "d1", TRUE, &sb1)<0) goto error; + if (H5Gget_stat(file, "grp1/hard", TRUE, &sb2)<0) goto error; if (H5G_DATASET!=sb2.type) { puts("*FAILED*"); puts(" Unexpected object type should have been a dataset"); @@ -191,7 +191,7 @@ cklinks(void) } /* Symbolic link */ - if (H5Gstat(file, "grp1/soft", TRUE, &sb2)<0) goto error; + if (H5Gget_stat(file, "grp1/soft", TRUE, &sb2)<0) goto error; if (H5G_DATASET!=sb2.type) { puts("*FAILED*"); puts(" Unexpected object type should have been a dataset"); @@ -214,14 +214,14 @@ cklinks(void) /* Dangling link */ H5E_BEGIN_TRY { - status = H5Gstat(file, "grp1/dangle", TRUE, &sb2); + status = H5Gget_stat(file, "grp1/dangle", TRUE, &sb2); } H5E_END_TRY; if (status>=0) { puts("*FAILED*"); - puts(" H5Gstat() should have failed for a dangling link."); + puts(" H5Gget_stat() should have failed for a dangling link."); goto error; } - if (H5Gstat(file, "grp1/dangle", FALSE, &sb2)<0) goto error; + if (H5Gget_stat(file, "grp1/dangle", FALSE, &sb2)<0) goto error; if (H5G_LINK!=sb2.type) { puts("*FAILED*"); puts(" Unexpected object type should have been a symbolic link"); @@ -238,14 +238,14 @@ cklinks(void) /* Recursive link */ H5E_BEGIN_TRY { - status = H5Gstat(file, "grp1/recursive", TRUE, &sb2); + status = H5Gget_stat(file, "grp1/recursive", TRUE, &sb2); } H5E_END_TRY; if (status>=0) { puts("*FAILED*"); - puts(" H5Gstat() should have failed for a recursive link."); + puts(" H5Gget_stat() should have failed for a recursive link."); goto error; } - if (H5Gstat(file, "grp1/recursive", FALSE, &sb2)<0) goto error; + if (H5Gget_stat(file, "grp1/recursive", FALSE, &sb2)<0) goto error; if (H5G_LINK!=sb2.type) { puts("*FAILED*"); puts(" Unexpected object type should have been a symbolic link"); diff --git a/test/mtime.c b/test/mtime.c index 91d7400..401d7d7 100644 --- a/test/mtime.c +++ b/test/mtime.c @@ -120,21 +120,21 @@ main(void) /* * Open the file and get the modification time. We'll test the new - * H5Gstat() arguments too: being able to stat something without knowing + * H5Gget_stat() arguments too: being able to stat something without knowing * its name. */ if ((file = H5Fopen(FILE_NAME_1, H5F_ACC_RDONLY, H5P_DEFAULT))<0) return 1; - if (H5Gstat(file, "dset", TRUE, &sb1)<0) return 1; + if (H5Gget_stat(file, "dset", TRUE, &sb1)<0) return 1; if ((dset=H5Dopen(file, "dset"))<0) return 1; - if (H5Gstat(dset, ".", TRUE, &sb2)<0) return 1; + if (H5Gget_stat(dset, ".", TRUE, &sb2)<0) return 1; if (H5Dclose(dset)<0) return 1; if (H5Fclose(file)<0) return 1; - /* Compare times from the two ways of calling H5Gstat() */ + /* Compare times from the two ways of calling H5Gget_stat() */ if (sb1.objno[0]!=sb2.objno[0] || sb1.objno[1]!=sb2.objno[1] || sb1.mtime!=sb2.mtime) { puts("*FAILED*"); - puts(" Calling H5Gstat() with the dataset ID returned different"); + puts(" Calling H5Gget_stat() with the dataset ID returned different"); puts(" values than calling it with a file and dataset name."); return 1; } diff --git a/test/tattr.c b/test/tattr.c index e373d34..132af1c 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -216,8 +216,8 @@ test_attr_basic_read(void) CHECK(dataset, FAIL, "H5Dopen"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 1, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 1, "H5Aget_num_attrs"); /* Open an attribute for the dataset */ attr=H5Aopen_name(dataset,ATTR1_NAME); @@ -245,8 +245,8 @@ test_attr_basic_read(void) group=H5Gopen(fid1,GROUP1_NAME); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(group); - VERIFY(ret, 1, "H5Anum_attrs"); + ret=H5Aget_num_attrs(group); + VERIFY(ret, 1, "H5Aget_num_attrs"); /* Open an attribute for the dataset */ attr=H5Aopen_name(group,ATTR2_NAME); @@ -402,8 +402,8 @@ test_attr_compound_read(void) dataset=H5Dopen(fid1,"Dataset1"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 1, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 1, "H5Aget_num_attrs"); /* Open 1st attribute for the dataset */ attr=H5Aopen_idx(dataset,0); @@ -412,10 +412,10 @@ test_attr_compound_read(void) /* Verify Dataspace */ space=H5Aget_space(attr); CHECK(space, FAIL, "H5Aget_space"); - rank=H5Sextent_ndims(space); - VERIFY(rank, ATTR4_RANK, "H5Sextent_ndims"); - ret=H5Sextent_dims(space,dims, NULL); - CHECK(ret, FAIL, "H5Sextent_dims"); + rank=H5Sget_simple_extent_ndims(space); + VERIFY(rank, ATTR4_RANK, "H5Sget_simple_extent_ndims"); + ret=H5Sget_simple_extent_dims(space,dims, NULL); + CHECK(ret, FAIL, "H5Sget_simple_extent_dims"); if(dims[0]!=ATTR4_DIM1) { printf("attribute dimensions different: dims[0]=%d, should be %d\n",(int)dims[0],ATTR4_DIM1); num_errs++; @@ -607,8 +607,8 @@ test_attr_scalar_read(void) CHECK(dataset, FAIL, "H5Dopen"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 1, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 1, "H5Aget_num_attrs"); /* Open an attribute for the dataset */ attr=H5Aopen_name(dataset,ATTR5_NAME); @@ -787,8 +787,8 @@ test_attr_mult_read(void) dataset=H5Dopen(fid1,"Dataset1"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 3, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 3, "H5Aget_num_attrs"); /* Open 1st attribute for the dataset */ attr=H5Aopen_idx(dataset,0); @@ -797,10 +797,10 @@ test_attr_mult_read(void) /* Verify Dataspace */ space=H5Aget_space(attr); CHECK(space, FAIL, "H5Aget_space"); - rank=H5Sextent_ndims(space); - VERIFY(rank, ATTR1_RANK, "H5Sextent_ndims"); - ret=H5Sextent_dims(space,dims, NULL); - CHECK(ret, FAIL, "H5Sextent_dims"); + rank=H5Sget_simple_extent_ndims(space); + VERIFY(rank, ATTR1_RANK, "H5Sget_simple_extent_ndims"); + ret=H5Sget_simple_extent_dims(space,dims, NULL); + CHECK(ret, FAIL, "H5Sget_simple_extent_dims"); if(dims[0]!=ATTR1_DIM1) { printf("attribute dimensions different: dims[0]=%d, should be %d\n",(int)dims[0],ATTR1_DIM1); num_errs++; @@ -858,10 +858,10 @@ test_attr_mult_read(void) /* Verify Dataspace */ space=H5Aget_space(attr); CHECK(space, FAIL, "H5Aget_space"); - rank=H5Sextent_ndims(space); - VERIFY(rank, ATTR2_RANK, "H5Sextent_ndims"); - ret=H5Sextent_dims(space,dims, NULL); - CHECK(ret, FAIL, "H5Sextent_dims"); + rank=H5Sget_simple_extent_ndims(space); + VERIFY(rank, ATTR2_RANK, "H5Sget_simple_extent_ndims"); + ret=H5Sget_simple_extent_dims(space,dims, NULL); + CHECK(ret, FAIL, "H5Sget_simple_extent_dims"); if(dims[0]!=ATTR2_DIM1) { printf("attribute dimensions different: dims[0]=%d, should be %d\n",(int)dims[0],ATTR2_DIM1); num_errs++; @@ -924,10 +924,10 @@ test_attr_mult_read(void) /* Verify Dataspace */ space=H5Aget_space(attr); CHECK(space, FAIL, "H5Aget_space"); - rank=H5Sextent_ndims(space); - VERIFY(rank, ATTR3_RANK, "H5Sextent_ndims"); - ret=H5Sextent_dims(space,dims, NULL); - CHECK(ret, FAIL, "H5Sextent_dims"); + rank=H5Sget_simple_extent_ndims(space); + VERIFY(rank, ATTR3_RANK, "H5Sget_simple_extent_ndims"); + ret=H5Sget_simple_extent_dims(space,dims, NULL); + CHECK(ret, FAIL, "H5Sget_simple_extent_dims"); if(dims[0]!=ATTR3_DIM1) { printf("attribute dimensions different: dims[0]=%d, should be %d\n",(int)dims[0],ATTR3_DIM1); num_errs++; @@ -1065,8 +1065,8 @@ test_attr_iterate(void) dataset=H5Dopen(file,"Dataset1"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 3, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 3, "H5Aget_num_attrs"); /* Close dataset */ start=0; @@ -1109,24 +1109,24 @@ test_attr_delete(void) dataset=H5Dopen(fid1,"Dataset1"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 3, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 3, "H5Aget_num_attrs"); /* Try to delete bogus attribute */ ret=H5Adelete(dataset,"Bogus"); VERIFY(ret, FAIL, "H5Adelete"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 3, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 3, "H5Aget_num_attrs"); /* Delete middle (2nd) attribute */ ret=H5Adelete(dataset,ATTR2_NAME); CHECK(ret, FAIL, "H5Adelete"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 2, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 2, "H5Aget_num_attrs"); /* Open 1st attribute for the dataset */ attr=H5Aopen_idx(dataset,0); @@ -1165,8 +1165,8 @@ test_attr_delete(void) CHECK(ret, FAIL, "H5Adelete"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 1, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 1, "H5Aget_num_attrs"); /* Open last (formally 3rd) attribute for the dataset */ attr=H5Aopen_idx(dataset,0); @@ -1189,8 +1189,8 @@ test_attr_delete(void) CHECK(ret, FAIL, "H5Adelete"); /* Verify the correct number of attributes */ - ret=H5Anum_attrs(dataset); - VERIFY(ret, 0, "H5Anum_attrs"); + ret=H5Aget_num_attrs(dataset); + VERIFY(ret, 0, "H5Aget_num_attrs"); /* Close dataset */ ret = H5Dclose(dataset); diff --git a/test/testhdf5.c b/test/testhdf5.c index c25bcf4..d83062e 100644 --- a/test/testhdf5.c +++ b/test/testhdf5.c @@ -172,7 +172,7 @@ main(int argc, char *argv[]) InitTest("select", test_select, cleanup_select, "Selections"); Verbosity = 4; /* Default Verbosity is Low */ - H5version(&major, &minor, &release); + H5get_libversion(&major, &minor, &release); print_func("\nFor help use: testhdf5 -help\n"); print_func("Linked with hdf5 version %u.%u release %u\n", diff --git a/test/th5s.c b/test/th5s.c index 6b4a66c..abb16cd 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -104,37 +104,37 @@ test_h5s_basic(void) sid1 = H5Screate_simple(SPACE1_RANK, dims1, NULL); CHECK(sid1, FAIL, "H5Screate_simple"); - n = H5Sextent_npoints(sid1); - CHECK(n, UFAIL, "H5Sextent_npoints"); - VERIFY(n, SPACE1_DIM1 * SPACE1_DIM2 * SPACE1_DIM3, "H5Sextent_npoints"); + n = H5Sget_simple_extent_npoints(sid1); + CHECK(n, UFAIL, "H5Sget_simple_extent_npoints"); + VERIFY(n, SPACE1_DIM1 * SPACE1_DIM2 * SPACE1_DIM3, "H5Sget_simple_extent_npoints"); - rank = H5Sextent_ndims(sid1); - CHECK(rank, UFAIL, "H5Sextent_ndims"); - VERIFY(rank, SPACE1_RANK, "H5Sextent_ndims"); + rank = H5Sget_simple_extent_ndims(sid1); + CHECK(rank, UFAIL, "H5Sget_simple_extent_ndims"); + VERIFY(rank, SPACE1_RANK, "H5Sget_simple_extent_ndims"); - ret = H5Sextent_dims(sid1, tdims, NULL); - CHECK(ret, FAIL, "H5Sextent_dims"); + ret = H5Sget_simple_extent_dims(sid1, tdims, NULL); + CHECK(ret, FAIL, "H5Sget_simple_extent_dims"); VERIFY(HDmemcmp(tdims, dims1, SPACE1_RANK * sizeof(unsigned)), 0, - "H5Sextent_dims"); + "H5Sget_simple_extent_dims"); sid2 = H5Screate_simple(SPACE2_RANK, dims2, max2); CHECK(sid2, FAIL, "H5Screate_simple"); - n = H5Sextent_npoints(sid2); - CHECK(n, UFAIL, "H5Sextent_npoints"); + n = H5Sget_simple_extent_npoints(sid2); + CHECK(n, UFAIL, "H5Sget_simple_extent_npoints"); VERIFY(n, SPACE2_DIM1 * SPACE2_DIM2 * SPACE2_DIM3 * SPACE2_DIM4, - "H5Sextent_npoints"); + "H5Sget_simple_extent_npoints"); - rank = H5Sextent_ndims(sid2); - CHECK(rank, UFAIL, "H5Sextent_ndims"); - VERIFY(rank, SPACE2_RANK, "H5Sextent_ndims"); + rank = H5Sget_simple_extent_ndims(sid2); + CHECK(rank, UFAIL, "H5Sget_simple_extent_ndims"); + VERIFY(rank, SPACE2_RANK, "H5Sget_simple_extent_ndims"); - ret = H5Sextent_dims(sid2, tdims, tmax); - CHECK(ret, FAIL, "H5Sextent_dims"); + ret = H5Sget_simple_extent_dims(sid2, tdims, tmax); + CHECK(ret, FAIL, "H5Sget_simple_extent_dims"); VERIFY(HDmemcmp(tdims, dims2, SPACE2_RANK * sizeof(unsigned)), 0, - "H5Sextent_dims"); + "H5Sget_simple_extent_dims"); VERIFY(HDmemcmp(tmax, max2, SPACE2_RANK * sizeof(unsigned)), 0, - "H5Sextent_dims"); + "H5Sget_simple_extent_dims"); ret = H5Sclose(sid1); CHECK(ret, FAIL, "H5Sclose"); @@ -175,20 +175,20 @@ test_h5s_scalar_write(void) sid1 = H5Screate_simple(SPACE3_RANK, NULL, NULL); CHECK(sid1, FAIL, "H5Screate_simple"); - n = H5Sextent_npoints(sid1); - CHECK(n, UFAIL, "H5Sextent_npoints"); - VERIFY(n, 1, "H5Sextent_npoints"); + n = H5Sget_simple_extent_npoints(sid1); + CHECK(n, UFAIL, "H5Sget_simple_extent_npoints"); + VERIFY(n, 1, "H5Sget_simple_extent_npoints"); - rank = H5Sextent_ndims(sid1); - CHECK(rank, UFAIL, "H5Sextent_ndims"); - VERIFY(rank, SPACE3_RANK, "H5Sextent_ndims"); + rank = H5Sget_simple_extent_ndims(sid1); + CHECK(rank, UFAIL, "H5Sget_simple_extent_ndims"); + VERIFY(rank, SPACE3_RANK, "H5Sget_simple_extent_ndims"); - ret = H5Sextent_dims(sid1, tdims, NULL); - VERIFY(ret, 0, "H5Sextent_dims"); + ret = H5Sget_simple_extent_dims(sid1, tdims, NULL); + VERIFY(ret, 0, "H5Sget_simple_extent_dims"); /* Verify extent type */ - ext_type = H5Sextent_class(sid1); - VERIFY(ext_type, H5S_SCALAR, "H5Sextent_class"); + ext_type = H5Sget_simple_extent_type(sid1); + VERIFY(ext_type, H5S_SCALAR, "H5Sget_simple_extent_type"); /* Create a dataset */ dataset=H5Dcreate(fid1,"Dataset1",H5T_NATIVE_UINT,sid1,H5P_DEFAULT); @@ -241,16 +241,16 @@ test_h5s_scalar_read(void) sid1=H5Dget_space(dataset); CHECK(sid1, FAIL, "H5Dget_space"); - n = H5Sextent_npoints(sid1); - CHECK(n, UFAIL, "H5Sextent_npoints"); - VERIFY(n, 1, "H5Sextent_npoints"); + n = H5Sget_simple_extent_npoints(sid1); + CHECK(n, UFAIL, "H5Sget_simple_extent_npoints"); + VERIFY(n, 1, "H5Sget_simple_extent_npoints"); - rank = H5Sextent_ndims(sid1); - CHECK(rank, UFAIL, "H5Sextent_ndims"); - VERIFY(rank, SPACE3_RANK, "H5Sextent_ndims"); + rank = H5Sget_simple_extent_ndims(sid1); + CHECK(rank, UFAIL, "H5Sget_simple_extent_ndims"); + VERIFY(rank, SPACE3_RANK, "H5Sget_simple_extent_ndims"); - ret = H5Sextent_dims(sid1, tdims, NULL); - VERIFY(ret, 0, "H5Sextent_dims"); + ret = H5Sget_simple_extent_dims(sid1, tdims, NULL); + VERIFY(ret, 0, "H5Sget_simple_extent_dims"); ret = H5Dread(dataset, H5T_NATIVE_UINT, H5S_ALL, H5S_ALL, H5P_DEFAULT, &rdata); CHECK(ret, FAIL, "H5Dread"); @@ -318,16 +318,16 @@ test_h5s_compound_scalar_write(void) sid1 = H5Screate_simple(SPACE3_RANK, NULL, NULL); CHECK(sid1, FAIL, "H5Screate_simple"); - n = H5Sextent_npoints(sid1); - CHECK(n, UFAIL, "H5Sextent_npoints"); - VERIFY(n, 1, "H5Sextent_npoints"); + n = H5Sget_simple_extent_npoints(sid1); + CHECK(n, UFAIL, "H5Sget_simple_extent_npoints"); + VERIFY(n, 1, "H5Sget_simple_extent_npoints"); - rank = H5Sextent_ndims(sid1); - CHECK(rank, UFAIL, "H5Sextent_ndims"); - VERIFY(rank, SPACE3_RANK, "H5Sextent_ndims"); + rank = H5Sget_simple_extent_ndims(sid1); + CHECK(rank, UFAIL, "H5Sget_simple_extent_ndims"); + VERIFY(rank, SPACE3_RANK, "H5Sget_simple_extent_ndims"); - ret = H5Sextent_dims(sid1, tdims, NULL); - VERIFY(ret, 0, "H5Sextent_dims"); + ret = H5Sget_simple_extent_dims(sid1, tdims, NULL); + VERIFY(ret, 0, "H5Sget_simple_extent_dims"); /* Create a dataset */ dataset=H5Dcreate(fid1,"Dataset1",tid1,sid1,H5P_DEFAULT); @@ -382,16 +382,16 @@ test_h5s_compound_scalar_read(void) sid1=H5Dget_space(dataset); CHECK(sid1, FAIL, "H5Dget_space"); - n = H5Sextent_npoints(sid1); - CHECK(n, UFAIL, "H5Sextent_npoints"); - VERIFY(n, 1, "H5Sextent_npoints"); + n = H5Sget_simple_extent_npoints(sid1); + CHECK(n, UFAIL, "H5Sget_simple_extent_npoints"); + VERIFY(n, 1, "H5Sget_simple_extent_npoints"); - rank = H5Sextent_ndims(sid1); - CHECK(rank, UFAIL, "H5Sextent_ndims"); - VERIFY(rank, SPACE3_RANK, "H5Sextent_ndims"); + rank = H5Sget_simple_extent_ndims(sid1); + CHECK(rank, UFAIL, "H5Sget_simple_extent_ndims"); + VERIFY(rank, SPACE3_RANK, "H5Sget_simple_extent_ndims"); - ret = H5Sextent_dims(sid1, tdims, NULL); - VERIFY(ret, 0, "H5Sextent_dims"); + ret = H5Sget_simple_extent_dims(sid1, tdims, NULL); + VERIFY(ret, 0, "H5Sget_simple_extent_dims"); type=H5Dget_type(dataset); CHECK(type, FAIL, "H5Dget_type"); diff --git a/test/tselect.c b/test/tselect.c index c19bfdd..3223cdb 100644 --- a/test/tselect.c +++ b/test/tselect.c @@ -107,8 +107,8 @@ test_select_hyper(void) CHECK(sid2, FAIL, "H5Screate_simple"); /* Verify extent type */ - ext_type = H5Sextent_class(sid1); - VERIFY(ext_type, H5S_SIMPLE, "H5Sextent_class"); + ext_type = H5Sget_simple_extent_type(sid1); + VERIFY(ext_type, H5S_SIMPLE, "H5Sget_simple_extent_type"); /* Select 2x15x13 hyperslab for disk dataset */ start[0]=1; start[1]=0; start[2]=0; @@ -378,8 +378,8 @@ test_select_all(void) CHECK(sid2, FAIL, "H5Screate_simple"); /* Verify extent type */ - ext_type = H5Sextent_class(sid1); - VERIFY(ext_type, H5S_SIMPLE, "H5Sextent_class"); + ext_type = H5Sget_simple_extent_type(sid1); + VERIFY(ext_type, H5S_SIMPLE, "H5Sget_simple_extent_type"); /* Select entire 15x26 extent for disk dataset */ ret = H5Sselect_all(sid1); @@ -1137,8 +1137,8 @@ test_select_hyper_offset(void) CHECK(sid2, FAIL, "H5Screate_simple"); /* Verify extent type */ - ext_type = H5Sextent_class(sid1); - VERIFY(ext_type, H5S_SIMPLE, "H5Sextent_class"); + ext_type = H5Sget_simple_extent_type(sid1); + VERIFY(ext_type, H5S_SIMPLE, "H5Sget_simple_extent_type"); /* Select 2x15x13 hyperslab for disk dataset */ start[0]=1; start[1]=0; start[2]=0; diff --git a/tools/h5dump.c b/tools/h5dump.c index a858d40..58d723c 100644 --- a/tools/h5dump.c +++ b/tools/h5dump.c @@ -267,11 +267,12 @@ const char *pt; * *-----------------------------------------------------------------------*/ static void -dump_dataspace (hid_t space) { -hsize_t size[64]; -hsize_t maxsize[64]; /* check max dims size */ -int ndims = H5Sextent_dims(space, size, maxsize); -int i; +dump_dataspace (hid_t space) +{ + hsize_t size[64]; + hsize_t maxsize[64]; /* check max dims size */ + int ndims = H5Sget_simple_extent_dims(space, size, maxsize); + int i; indent += col; @@ -374,18 +375,18 @@ hid_t attr_id, type, space; static herr_t dump_all (hid_t group, const char *name, void __unused__ *op_data) { -hid_t obj; -hid_t (*func)(void*); -void *edata; -char *buf; -H5G_stat_t statbuf; + hid_t obj; + hid_t (*func)(void*); + void *edata; + char *buf; + H5G_stat_t statbuf; /* Disable error reporting */ H5Eget_auto (&func, &edata); H5Eset_auto (NULL, NULL); - H5Gstat(group, name, FALSE, &statbuf); + H5Gget_stat(group, name, FALSE, &statbuf); switch (statbuf.type) { case H5G_LINK: diff --git a/tools/h5dumputil.c b/tools/h5dumputil.c index bbea153..63e1f71 100644 --- a/tools/h5dumputil.c +++ b/tools/h5dumputil.c @@ -266,12 +266,12 @@ h5dump_simple(FILE *stream, const h5dump_t *info, hid_t dset, hid_t p_type, int f_space = H5Aget_space(dset); - ndims = H5Sextent_ndims(f_space); + ndims = H5Sget_simple_extent_ndims(f_space); if ((size_t)ndims>NELMTS(sm_size)) return -1; /* Assume entire data space to be printed */ for (i=0; i<(hsize_t)ndims; i++) p_min_idx[i] = 0; - H5Sextent_dims(f_space, p_max_idx, NULL); + H5Sget_simple_extent_dims(f_space, p_max_idx, NULL); for (i=0, p_nelmts=1; i<(hsize_t)ndims; i++) { p_nelmts *= p_max_idx[i]-p_min_idx[i]; } diff --git a/tools/h5ls.c b/tools/h5ls.c index a311c5b..0351da0 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -157,7 +157,7 @@ list_attr (hid_t obj, const char *attr_name, void __unused__ *op_data) if ((attr = H5Aopen_name (obj, attr_name))) { hid_t space = H5Aget_space (attr); hsize_t size[64]; - int ndims = H5Sextent_dims (space, size, NULL); + int ndims = H5Sget_simple_extent_dims (space, size, NULL); H5Sclose (space); printf (" {"); for (i=0; i<ndims; i++) { @@ -205,7 +205,7 @@ dataset_list1(hid_t dset) * already been printed. */ space = H5Dget_space(dset); - ndims = H5Sextent_dims(space, cur_size, max_size); + ndims = H5Sget_simple_extent_dims(space, cur_size, max_size); printf (" {"); for (i=0; i<ndims; i++) { HDfprintf (stdout, "%s%Hu", i?", ":"", cur_size[i]); @@ -345,7 +345,7 @@ list (hid_t group, const char *name, void __unused__ *cd) /* Get object information */ H5E_BEGIN_TRY { - status = H5Gstat(group, name, FALSE, &sb); + status = H5Gget_stat(group, name, FALSE, &sb); } H5E_END_TRY; if (status<0) { puts("**NOT FOUND**"); diff --git a/tools/h5tools.c b/tools/h5tools.c index f6b7c24..3994c57 100644 --- a/tools/h5tools.c +++ b/tools/h5tools.c @@ -273,12 +273,12 @@ h5dump_simple(FILE *stream, const h5dump_t *info, hid_t dset, hid_t p_type) * match the dimensionality of the dataset. */ f_space = H5Dget_space(dset); - ndims = H5Sextent_ndims(f_space); + ndims = H5Sget_simple_extent_ndims(f_space); if ((size_t)ndims>NELMTS(sm_size)) return -1; /* Assume entire data space to be printed */ for (i=0; i<(hsize_t)ndims; i++) p_min_idx[i] = 0; - H5Sextent_dims(f_space, p_max_idx, NULL); + H5Sget_simple_extent_dims(f_space, p_max_idx, NULL); for (i=0, p_nelmts=1; i<(hsize_t)ndims; i++) { p_nelmts *= p_max_idx[i]-p_min_idx[i]; } |