diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-03-24 23:18:34 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-03-24 23:18:34 (GMT) |
commit | e987de2c42628f94e713111c5cbb09bbd3db4a68 (patch) | |
tree | 4baf097e2a0480c9cf24e2ce28749f969afb8fd8 /src/H5Gprivate.h | |
parent | 2ed9aa69f74cc2002fb9a03c8893056a1daea1db (diff) | |
download | hdf5-e987de2c42628f94e713111c5cbb09bbd3db4a68.zip hdf5-e987de2c42628f94e713111c5cbb09bbd3db4a68.tar.gz hdf5-e987de2c42628f94e713111c5cbb09bbd3db4a68.tar.bz2 |
[svn-r329] Changes since 19980324
----------------------
./src/H5D.c
Zero element requests for H5Dread() and H5Dwrite() succeed.
./src/H5F.c
./src/H5Fprivate.h
All files will have a root group. This greatly simplifies the
library at the expense of ~1k extra bytes in files that have
only one object.
./src/H5D.c
./src/H5Dprivate.h
./html/Groups.html
Functions that used to take a file ID and an object name can
now take a group ID instead of a file ID. This doesn't change
the API, only it's documentation.
./src/H5G.c
./src/H5Gprivate.h
./src/H5O.c
./src/H5Oprivate.h
Removed extra file arguments from some internal functions
since the file pointer can be found from the group pointer or
a symbol table entry (ent->file or H5G_fileof(group)).
Besides, when we eventually implement mounting one file on
another, H5G_namei() might return a different file than what
you gave it, and that file is part of the returned symbol
table entry.
./src/H5G.c
Fixed bug with `.' appearing in a name. It used to hang the
library.
./src/Makefile.in
./src/h5ls.c [NEW]
./MANIFEST
Added `h5ls' a simple program that takes a file name and a
directory and lists the contents of that directory using
H5Giterate().
./test/istore.c
Changed an argument to H5G_create().
./test/tstab.c
Removed test_1 which was testing that files with a single
object don't have a root group. This no longer applies.
Diffstat (limited to 'src/H5Gprivate.h')
-rw-r--r-- | src/H5Gprivate.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h index 425d8a5..b79d1e2 100644 --- a/src/H5Gprivate.h +++ b/src/H5Gprivate.h @@ -91,15 +91,20 @@ typedef struct H5G_t H5G_t; * Library prototypes... These are the ones that other packages routinely * call. */ -H5G_t *H5G_create (H5F_t *f, const char *name, size_t size_hint); -H5G_t *H5G_open (H5F_t *f, const char *name); +H5G_t *H5G_loc (hid_t loc_id); +herr_t H5G_mkroot (H5F_t *f, H5G_entry_t *root_entry); +H5G_entry_t *H5G_entof (H5G_t *grp); +H5F_t *H5G_fileof (H5G_t *grp); +H5G_t *H5G_create (H5G_t *loc, const char *name, size_t size_hint); +H5G_t *H5G_open (H5G_t *loc, const char *name); H5G_t *H5G_reopen (H5G_t *grp); herr_t H5G_close (H5G_t *grp); -herr_t H5G_set (H5F_t *f, H5G_t *grp); -herr_t H5G_push (H5F_t *f, H5G_t *grp); +herr_t H5G_set (H5G_t *grp); +herr_t H5G_push (H5G_t *grp); herr_t H5G_pop (H5F_t *f); -herr_t H5G_insert (const char *name, H5G_entry_t *ent); -herr_t H5G_find (H5F_t *f, const char *name, H5G_entry_t *grp_ent/*out*/, +H5G_t *H5G_getcwg(H5F_t *f); +herr_t H5G_insert (H5G_t *cwg, const char *name, H5G_entry_t *ent); +herr_t H5G_find (H5G_t *cwg, const char *name, H5G_entry_t *grp_ent/*out*/, H5G_entry_t *ent/*out*/); herr_t H5G_ent_encode (H5F_t *f, uint8 **pp, H5G_entry_t *ent); herr_t H5G_ent_decode (H5F_t *f, const uint8 **pp, H5G_entry_t *ent/*out*/); |