summaryrefslogtreecommitdiffstats
path: root/src/H5CSprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-20 18:09:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-20 18:09:28 (GMT)
commit96b3c145b7b8e033fff6504a5dbb88c78c42219b (patch)
treeffc018237d328eb5b4444d20eba7f52945d818d3 /src/H5CSprivate.h
parentd29082f1659e2b5faa5fda61003b792cc5c9c4c7 (diff)
downloadhdf5-96b3c145b7b8e033fff6504a5dbb88c78c42219b.zip
hdf5-96b3c145b7b8e033fff6504a5dbb88c78c42219b.tar.gz
hdf5-96b3c145b7b8e033fff6504a5dbb88c78c42219b.tar.bz2
[svn-r11282] Purpose:
New debugging feature Description: Add some code to track where memory from the internal free list allocator is allocated within the library. It's not quite ready for "prime time" yet, but it's close enough to be useful. This is disabled by default and requires the H5FL_TRACK macro in src/H5FLprivate.h to be uncommented to activate during debugging. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 Too minor to require full h5committest
Diffstat (limited to 'src/H5CSprivate.h')
-rw-r--r--src/H5CSprivate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5CSprivate.h b/src/H5CSprivate.h
index 6dba575..d75bbec 100644
--- a/src/H5CSprivate.h
+++ b/src/H5CSprivate.h
@@ -29,12 +29,15 @@
/* A function stack */
typedef struct H5FS_t {
- int nused; /*num slots currently used in stack */
+ unsigned nused; /*num slots currently used in stack */
const char *slot[H5FS_NSLOTS]; /*array of function records */
} H5FS_t;
H5_DLL herr_t H5FS_push (const char *func_name);
H5_DLL herr_t H5FS_pop (void);
H5_DLL herr_t H5FS_print (FILE *stream);
+H5_DLL herr_t H5FS_print_stack (const H5FS_t *stack, FILE *stream);
+H5_DLL herr_t H5FS_copy_stack (H5FS_t *stack);
+H5_DLL herr_t H5FS_close_stack (H5FS_t *stack);
#endif /* _H5FSprivate_H */