/*
 * This file is part of Beastie <https://purl.org/nxg/dist/beastie>
 * SPDX-FileCopyrightText: 2023 Norman Gray <https://nxg.me.uk>
 * SPDX-License-Identifier: BSD-2-Clause
 */

#ifndef UTIL_EXTRA_H
#define UTIL_EXTRA_H 1

#include "unicode.h"

// const char* lookup_accented_character(const char* s);
// const char* lookup_accented_character_n(const char* s, int slen);

codepoint_t lookup_accented_char_as_cp(const char* s, int slen, codepoint_t arg);
const char* lookup_accented_char_as_string(const char* s, int slen, codepoint_t arg);

void load_runtime(void);
void load_runtime_mdblock(void); // Temporary?
//void load_runtime_bst(void);
const char* get_module_content(const char* module_name, size_t* string_length);

#endif /* UTIL_EXTRA_H */
