xref: /libCEED/include/ceed/jit-tools.h (revision a844dea220796cbbc78a50dfd25b11acf19c6e9c) !
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 
8*a844dea2SJeremy L Thompson /// @file
9*a844dea2SJeremy L Thompson /// Public header for JiT utility components of libCEED
10*a844dea2SJeremy 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