diff options
Diffstat (limited to 'src/H5SLprivate.h')
-rw-r--r-- | src/H5SLprivate.h | 7 |
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 */ |