diff options
Diffstat (limited to 'tools/h5diff/h5trav.h')
-rw-r--r-- | tools/h5diff/h5trav.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/tools/h5diff/h5trav.h b/tools/h5diff/h5trav.h index 9e18129..d2e057b 100644 --- a/tools/h5diff/h5trav.h +++ b/tools/h5diff/h5trav.h @@ -32,17 +32,12 @@ typedef struct info_t { } info_t; -/* public methods */ -int H5get_object_info( hid_t file_id, info_t *info ); - - - /*struct to store basic info about an object */ typedef struct obj_t { unsigned long objno[2]; char *objname; int displayed; - int recorded; + int type; } obj_t; /*struct that stores all objects, excluding shared objects */ @@ -53,6 +48,19 @@ typedef struct table_t { } table_t; +/* public methods */ +int H5get_object_info( hid_t file_id, info_t *info ); + +/* table methods */ +void table_init(table_t **table); +void table_free(table_t *table); +int table_search(unsigned long *objno, table_t *table ); +void table_add(unsigned long *objno, char *objname, int type, table_t *table); +void info_free(info_t *info, int nobjs); + + + + #ifdef __cplusplus } #endif |