summaryrefslogtreecommitdiffstats
path: root/src/H5SLprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-12-04 03:36:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-12-04 03:36:08 (GMT)
commitaa87029f12e2b3110cee1d4f0f19bfe270f6fbfe (patch)
tree2d1346baf20cfba14566d54aed8809094fc06073 /src/H5SLprivate.h
parent3da8287af6e103203bfc9efae2f6f35f8343d9bc (diff)
downloadhdf5-aa87029f12e2b3110cee1d4f0f19bfe270f6fbfe.zip
hdf5-aa87029f12e2b3110cee1d4f0f19bfe270f6fbfe.tar.gz
hdf5-aa87029f12e2b3110cee1d4f0f19bfe270f6fbfe.tar.bz2
[svn-r9615] Purpose:
New feature Description: Add callback iteration routine to skip lists. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
Diffstat (limited to 'src/H5SLprivate.h')
-rw-r--r--src/H5SLprivate.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5SLprivate.h b/src/H5SLprivate.h
index f2a4e24..633e3e5 100644
--- a/src/H5SLprivate.h
+++ b/src/H5SLprivate.h
@@ -50,6 +50,10 @@ typedef enum {
/**********/
#define H5SL_LEVEL_MAX 32 /* (for now) */
+/* Typedef for iteration operations */
+typedef herr_t (*H5SL_operator_t)(void *item, void *key,
+ void *operator_data/*in,out*/);
+
/********************/
/* Private routines */
/********************/
@@ -61,8 +65,9 @@ H5_DLL void *H5SL_search(H5SL_t *slist, void *key);
H5_DLL H5SL_node_t *H5SL_first(H5SL_t *slist);
H5_DLL H5SL_node_t *H5SL_next(H5SL_node_t *slist_node);
H5_DLL void *H5SL_item(H5SL_node_t *slist_node);
+H5_DLL herr_t H5SL_iterate(H5SL_t *slist, H5SL_operator_t op, void *op_data);
H5_DLL herr_t H5SL_release(H5SL_t *slist);
H5_DLL herr_t H5SL_close(H5SL_t *slist);
-#endif /* _H5HPprivate_H */
+#endif /* _H5SLprivate_H */