/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 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 */