2010-03-18 20:23:04 +08:00
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
* 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 *
|
2017-04-18 03:32:16 +08:00
|
|
|
* the COPYING file, which can be found at the root of the source code *
|
|
|
|
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
|
|
|
* 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
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Programmer: Quincey Koziol <koziol@hdfgroup.org>
|
|
|
|
* Wednesday, March 17, 2010
|
|
|
|
*
|
|
|
|
* Purpose: srcdir querying support.
|
|
|
|
*/
|
|
|
|
#ifndef _H5SRCDIR_H
|
|
|
|
#define _H5SRCDIR_H
|
|
|
|
|
|
|
|
/* Include the header file with the correct relative path for the srcdir string */
|
|
|
|
|
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
|
|
|
|
2010-03-18 20:23:04 +08:00
|
|
|
#endif /* _H5SRCDIR_H */
|
|
|
|
|