xref: /libCEED/rust/libceed-sys/c-src/include/ceed/jit-tools.h (revision 94b7b29b41ad8a17add4c577886859ef16f89dec)
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*94b7b29bSJeremy L Thompson #ifndef CEED_JIT_H
9*94b7b29bSJeremy L Thompson #define CEED_JIT_H
103d3250a0SJeremy L Thompson 
1149aac155SJeremy 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 
20*94b7b29bSJeremy L Thompson #endif  // CEED_JIT_H
21