summaryrefslogtreecommitdiffstats
path: root/src/H5FOprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-07-14 19:08:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-07-14 19:08:37 (GMT)
commitf0fe9b0114591c13051ccc92a2fca81b1ec3ca95 (patch)
tree4e4beea3de3cb398a8a7eadf4fd8bc4ab9e52b35 /src/H5FOprivate.h
parentb67740452b0c2ed1e287449ae3a871cb1ebccec7 (diff)
downloadhdf5-f0fe9b0114591c13051ccc92a2fca81b1ec3ca95.zip
hdf5-f0fe9b0114591c13051ccc92a2fca81b1ec3ca95.tar.gz
hdf5-f0fe9b0114591c13051ccc92a2fca81b1ec3ca95.tar.bz2
[svn-r8875] Purpose:
Bug fix Description: Correct problems with "resurrecting" a dataset in a file. (This occurs when a dataset which is open gets unlinked from the group hierarchy (making it "dead" and marked for deletion in the file) and then is re-linked to the group hierarchy). Note that the current solution applies only to datasets, further work will fix this for groups and named datatypes also. Also, fix the "debug" routines to be a little more helpful in certain situations. Additionally, fix a locking bug in the symbol table node splitting routine which could be [one of] the cause[s] of the file corruption in flexible parallel operation. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel h5committested
Diffstat (limited to 'src/H5FOprivate.h')
-rw-r--r--src/H5FOprivate.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/H5FOprivate.h b/src/H5FOprivate.h
index f9780ae..7220b75 100644
--- a/src/H5FOprivate.h
+++ b/src/H5FOprivate.h
@@ -34,12 +34,13 @@ typedef H5TB_TREE H5FO_t; /* Currently, all open objects are stored in TBB
/* Macros */
/* Private routines */
-H5_DLL herr_t H5FO_create(H5F_t *f);
+H5_DLL herr_t H5FO_create(const H5F_t *f);
H5_DLL hid_t H5FO_opened(const H5F_t *f, haddr_t addr);
-H5_DLL herr_t H5FO_insert(H5F_t *f, haddr_t addr, hid_t id);
+H5_DLL herr_t H5FO_insert(const H5F_t *f, haddr_t addr, hid_t id);
H5_DLL herr_t H5FO_delete(H5F_t *f, hid_t dxpl_id, haddr_t addr);
-H5_DLL herr_t H5FO_mark(const H5F_t *f, haddr_t addr);
-H5_DLL herr_t H5FO_dest(H5F_t *f);
+H5_DLL herr_t H5FO_mark(const H5F_t *f, haddr_t addr, hbool_t deleted);
+H5_DLL htri_t H5FO_marked(const H5F_t *f, haddr_t addr);
+H5_DLL herr_t H5FO_dest(const H5F_t *f);
#endif /* _H5FOprivate_H */