xref: /libCEED/rust/libceed-sys/c-src/include/ceed/jit-tools.h (revision f8608ea82c72806ce37b46314218ab211cba2735)
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 
894b7b29bSJeremy L Thompson #ifndef CEED_JIT_H
994b7b29bSJeremy 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);
18*f8608ea8SJed Brown CEED_EXTERN int CeedGetJitAbsolutePath(Ceed ceed, const char *relative_file_path, const char **absolute_file_path);
19437930d1SJeremy L Thompson 
2094b7b29bSJeremy L Thompson #endif  // CEED_JIT_H
21