summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:31:37 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:31:37 (GMT)
commita91e5a22c42e0c6f7c773d184eb259f5dc54988a (patch)
treea30eb35ccb40e0c63936d9424066f0a467dd0ceb /tools
parent64b045691c065c18bdf233349074dc4b7fac9f5a (diff)
downloadhdf5-a91e5a22c42e0c6f7c773d184eb259f5dc54988a.zip
hdf5-a91e5a22c42e0c6f7c773d184eb259f5dc54988a.tar.gz
hdf5-a91e5a22c42e0c6f7c773d184eb259f5dc54988a.tar.bz2
[svn-r7323] Purpose:
Refactored code Description: Added 'unsigned flags[2]' field and changed 'objno' field from 'unsigned long[2]' to 'haddr_t' (to reflect changes in H5G_stat_t) Platforms tested: h5committested
Diffstat (limited to 'tools')
-rw-r--r--tools/h5diff/h5trav.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/h5diff/h5trav.h b/tools/h5diff/h5trav.h
index d2e057b..9eac307 100644
--- a/tools/h5diff/h5trav.h
+++ b/tools/h5diff/h5trav.h
@@ -34,10 +34,11 @@ typedef struct info_t {
/*struct to store basic info about an object */
typedef struct obj_t {
- unsigned long objno[2];
+ haddr_t objno;
+ unsigned flags[2];
char *objname;
int displayed;
- int type;
+ int type;
} obj_t;
/*struct that stores all objects, excluding shared objects */
@@ -54,8 +55,9 @@ 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);
+int table_search_obj(haddr_t objno, table_t *table );
+void table_add_obj(haddr_t objno, char *objname, int type, table_t *table);
+void table_add_flags(unsigned *flags, char *objname, int type, table_t *table);
void info_free(info_t *info, int nobjs);