1*5aed82e4SJeremy L Thompson /// Copyright (c) 2017-2024, 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 8a844dea2SJeremy L Thompson /// @file 9a844dea2SJeremy L Thompson /// Public header for JiT utility components of libCEED 10a844dea2SJeremy L Thompson #pragma once 113d3250a0SJeremy L Thompson 1249aac155SJeremy L Thompson #include <ceed.h> 133d3250a0SJeremy L Thompson 14ee5a26f2SJeremy L Thompson CEED_EXTERN int CeedCheckFilePath(Ceed ceed, const char *source_file_path, bool *is_valid); 153d3250a0SJeremy L Thompson CEED_EXTERN int CeedLoadSourceToBuffer(Ceed ceed, const char *source_file_path, char **buffer); 16f6af633fSnbeams CEED_EXTERN int CeedLoadSourceToInitializedBuffer(Ceed ceed, const char *source_file_path, char **buffer); 172b730f8bSJeremy L Thompson CEED_EXTERN int CeedPathConcatenate(Ceed ceed, const char *base_file_path, const char *relative_file_path, char **new_file_path); 182b730f8bSJeremy L Thompson CEED_EXTERN int CeedGetJitRelativePath(const char *absolute_file_path, const char **relative_file_path); 19f8608ea8SJed Brown CEED_EXTERN int CeedGetJitAbsolutePath(Ceed ceed, const char *relative_file_path, const char **absolute_file_path); 20