[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
This commit is contained in:
Quincey Koziol 2003-08-08 14:31:37 -05:00
parent 64b045691c
commit a91e5a22c4

View File

@ -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);