1ea61e9acSJeremy L Thompson /// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 2ea61e9acSJeremy L Thompson /// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 33d3250a0SJeremy L Thompson /// 4ea61e9acSJeremy L Thompson /// SPDX-License-Identifier: BSD-2-Clause 53d3250a0SJeremy L Thompson /// 6ea61e9acSJeremy L Thompson /// This file is part of CEED: http://github.com/ceed 73d3250a0SJeremy L Thompson 83d3250a0SJeremy L Thompson #ifndef _ceed_jit_h 93d3250a0SJeremy L Thompson #define _ceed_jit_h 103d3250a0SJeremy L Thompson 11*49aac155SJeremy L Thompson #include <ceed.h> 123d3250a0SJeremy L Thompson 13ee5a26f2SJeremy L Thompson CEED_EXTERN int CeedCheckFilePath(Ceed ceed, const char *source_file_path, bool *is_valid); 143d3250a0SJeremy L Thompson CEED_EXTERN int CeedLoadSourceToBuffer(Ceed ceed, const char *source_file_path, char **buffer); 15f6af633fSnbeams CEED_EXTERN int CeedLoadSourceToInitializedBuffer(Ceed ceed, const char *source_file_path, char **buffer); 162b730f8bSJeremy L Thompson CEED_EXTERN int CeedPathConcatenate(Ceed ceed, const char *base_file_path, const char *relative_file_path, char **new_file_path); 172b730f8bSJeremy L Thompson CEED_EXTERN int CeedGetJitRelativePath(const char *absolute_file_path, const char **relative_file_path); 182b730f8bSJeremy L Thompson CEED_EXTERN int CeedGetJitAbsolutePath(Ceed ceed, const char *relative_file_path, char **absolute_file_path); 19437930d1SJeremy L Thompson 203d3250a0SJeremy L Thompson #endif 21