diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-12-19 20:18:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-12-19 20:18:26 (GMT) |
commit | de9088b6bb7969aade23f5af0d1e4e1806fcc0c4 (patch) | |
tree | 5f77b2172513805db28c2907f119abe513550295 /src/H5Apkg.h | |
parent | a75186cc511760578d8a9de722a16873371b6570 (diff) | |
download | hdf5-de9088b6bb7969aade23f5af0d1e4e1806fcc0c4.zip hdf5-de9088b6bb7969aade23f5af0d1e4e1806fcc0c4.tar.gz hdf5-de9088b6bb7969aade23f5af0d1e4e1806fcc0c4.tar.bz2 |
[svn-r13079] Description:
Add more tests for checking that writing to shared attributes works
correctly. (Looks like it still has a bug when dense storage is used, which
I'll correct shortly).
Add testing routine to shared message code, to retrieve reference count for
a shared message.
Add fractal heap 'op' callback for efficiently computing the hash value of
an existing encoded message in the shared message fractal heap.
Various minor cleanups and warning placations.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Apkg.h')
-rw-r--r-- | src/H5Apkg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/H5Apkg.h b/src/H5Apkg.h index ca7983f..6b618c8 100644 --- a/src/H5Apkg.h +++ b/src/H5Apkg.h @@ -190,7 +190,14 @@ H5_DLL herr_t H5A_attr_release_table(H5A_attr_table_t *atable); /* Attribute object header routines */ H5_DLL herr_t H5O_attr_reset(void *_mesg); H5_DLL herr_t H5O_attr_delete(H5F_t *f, hid_t dxpl_id, const void *_mesg, hbool_t adj_link); +H5_DLL htri_t H5O_attr_is_shared(const void *_mesg); H5_DLL void *H5O_attr_get_share(const void *_mesg, H5O_shared_t *sh); +/* Testing functions */ +#ifdef H5A_TESTING +H5_DLL htri_t H5A_is_shared_test(hid_t aid); +H5_DLL herr_t H5A_get_shared_rc_test(hid_t attr_id, hsize_t *ref_count); +#endif /* H5A_TESTING */ + #endif /* _H5Apkg_H */ |