mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
parent
64b045691c
commit
a91e5a22c4
@ -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);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user