1 #ifndef _H5BLOCK_PRIVATE_H_
2 #define _H5BLOCK_PRIVATE_H_
3 
4 #define H5BLOCK_GROUPNAME_BLOCK	"Block"
5 
6 #define BLOCK_INIT( f ) { \
7 	h5part_int64_t herr = _H5Block_init ( f ); \
8 	if ( herr < 0 ) return herr; \
9 }
10 
11 h5part_int64_t
12 _H5Block_init (
13 	H5PartFile *f
14 	);
15 
16 h5part_int64_t
17 _H5Block_close (
18 	H5PartFile *f
19 	);
20 
21 h5part_int64_t
22 _H5Block_open_field_group (
23 	H5PartFile *f,
24 	const char *name
25 	);
26 
27 h5part_int64_t
28 _H5Block_close_field_group (
29 	H5PartFile *f
30 	);
31 
32 h5part_int64_t
33 _H5Block_create_field_group (
34 	H5PartFile *f,
35 	const char *name
36 	);
37 
38 h5part_int64_t
39 _H5Block_select_hyperslab_for_reading (
40 	H5PartFile *f,
41 	hid_t dataset
42 	);
43 
44 h5part_int64_t
45 _H5Block_write_data (
46 	H5PartFile *f,
47 	const char *name,
48 	const void *data,
49 	const hid_t type
50 	);
51 
52 h5part_int64_t
53 _H5Block_read_data (
54 	H5PartFile *f,
55 	const char *name,
56 	void *data,
57 	hid_t type
58 	);
59 
60 h5part_int64_t
61 _write_field_attrib (
62 	H5PartFile *f,
63 	const char *field_name,
64 	const char *attrib_name,
65 	const hid_t attrib_type,
66 	const void *attrib_value,
67 	const h5part_int64_t attrib_nelem
68 	);
69 
70 #endif
71