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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://www.hdfgroup.org/licenses. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This file contains declarations of all functions defined in genall5.c
*/
#ifndef GENALL5_H
#define GENALL5_H
typedef struct _zoo_config {
int proc_num;
bool continue_on_failure;
bool skip_compact;
bool skip_varlen;
unsigned max_pause_msecs;
struct timespec msgival; /* minimum interval between warning-message
* repetitions
*/
} zoo_config_t;
/**************/
/* Prototypes */
/**************/
#ifdef __cplusplus
extern "C" {
#endif
H5TEST_DLL hbool_t create_zoo(hid_t, const char *, struct timespec *, zoo_config_t);
H5TEST_DLL hbool_t validate_zoo(hid_t, const char *, struct timespec *, zoo_config_t);
H5TEST_DLL hbool_t delete_zoo(hid_t, const char *, struct timespec *, zoo_config_t);
H5TEST_DLL hbool_t validate_deleted_zoo(hid_t, const char *, struct timespec *, zoo_config_t);
H5TEST_DLL hbool_t ns_grp_0(hid_t fid, const char *group_name);
H5TEST_DLL hbool_t vrfy_ns_grp_0(hid_t fid, const char *group_name);
H5TEST_DLL hbool_t ns_grp_c(hid_t fid, const char *group_name, unsigned nlinks);
H5TEST_DLL hbool_t vrfy_ns_grp_c(hid_t fid, const char *group_name, unsigned nlinks);
H5TEST_DLL hbool_t ns_grp_d(hid_t fid, const char *group_name, unsigned nlinks);
H5TEST_DLL hbool_t vrfy_ns_grp_d(hid_t fid, const char *group_name, unsigned nlinks);
H5TEST_DLL hbool_t os_grp_0(hid_t fid, const char *group_name);
H5TEST_DLL hbool_t vrfy_os_grp_0(hid_t fid, const char *group_name);
H5TEST_DLL hbool_t os_grp_n(hid_t fid, const char *group_name, int proc_num, unsigned nlinks);
H5TEST_DLL hbool_t vrfy_os_grp_n(hid_t fid, const char *group_name, int proc_num, unsigned nlinks);
H5TEST_DLL hbool_t ds_ctg_i(hid_t fid, const char *dset_name, hbool_t write_data);
H5TEST_DLL hbool_t vrfy_ds_ctg_i(hid_t fid, const char *dset_name, hbool_t write_data);
H5TEST_DLL hbool_t ds_chk_i(hid_t fid, const char *dset_name, hbool_t write_data);
H5TEST_DLL hbool_t vrfy_ds_chk_i(hid_t fid, const char *dset_name, hbool_t write_data);
H5TEST_DLL hbool_t ds_cpt_i(hid_t fid, const char *dset_name, hbool_t write_data);
H5TEST_DLL hbool_t vrfy_ds_cpt_i(hid_t fid, const char *dset_name, hbool_t write_data);
H5TEST_DLL hbool_t ds_ctg_v(hid_t fid, const char *dset_name, hbool_t write_data);
H5TEST_DLL hbool_t vrfy_ds_ctg_v(hid_t fid, const char *dset_name, hbool_t write_data);
/* Individual tests can override zoo_create_hook(), which is called
* after each step of create_zoo(). The `hid_t` argument identifies
* the file where the step was performed. The test library provides a
* default implementation of zoo_create_hook() that does nothing.
*/
H5TEST_DLL void zoo_create_hook(hid_t);
#ifdef __cplusplus
}
#endif
#endif /* GENALL5_H */
|