summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5trav.h
blob: 2255b7f372cb950cf09a4b73f2aa9c7726651e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * Copyright (c) 2001 National Center for Supercomputing Applications
 *                    All rights reserved.
 *
 * Programmer:  Pedro Vicente, pvn@ncsa.uiuc.edu
 *              Monday, 4. November 2002
 */
#ifndef H5TRAV_H__
#define H5TRAV_H__


#ifdef __cplusplus
extern "C" {
#endif


/*struct to store name and type of an object */
typedef struct info_t {
	char *name;
	int type;
} 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;
} obj_t;

/*struct that stores all objects, excluding shared objects */
typedef struct table_t {
	int size;
	int nobjs;
	obj_t *objs;
} table_t;


#ifdef __cplusplus
}
#endif


#endif  /* H5TRAV_H__ */