2010-03-18 20:23:04 +08:00
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
* Copyright by The HDF Group. *
|
|
|
|
* All rights reserved. *
|
|
|
|
* *
|
|
|
|
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
|
|
|
* terms governing use, modification, and redistribution, is contained in *
|
2017-04-18 03:32:16 +08:00
|
|
|
* the COPYING file, which can be found at the root of the source code *
|
2021-02-17 22:52:04 +08:00
|
|
|
* distribution tree, or in https://www.hdfgroup.org/licenses. *
|
2017-04-18 03:32:16 +08:00
|
|
|
* If you do not have access to either file, you may request a copy from *
|
|
|
|
* help@hdfgroup.org. *
|
2010-03-18 20:23:04 +08:00
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Purpose: srcdir querying support.
|
|
|
|
*/
|
2021-02-23 12:29:56 +08:00
|
|
|
#ifndef H5SRCDIR_H
|
|
|
|
#define H5SRCDIR_H
|
2010-03-18 20:23:04 +08:00
|
|
|
|
2020-01-29 04:25:40 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2010-03-18 20:23:04 +08:00
|
|
|
/* Just return the srcdir path */
|
2020-01-29 04:25:40 +08:00
|
|
|
H5TEST_DLL const char *H5_get_srcdir(void);
|
2016-07-08 02:54:11 +08:00
|
|
|
|
|
|
|
/* Append the test file name to the srcdir path and return the whole string */
|
2020-01-29 04:25:40 +08:00
|
|
|
H5TEST_DLL const char *H5_get_srcdir_filename(const char *filename);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2016-07-08 02:54:11 +08:00
|
|
|
|
2021-02-23 12:29:56 +08:00
|
|
|
#endif /* H5SRCDIR_H */
|