diff options
Diffstat (limited to 'server/src/util/io.h')
| -rw-r--r-- | server/src/util/io.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/src/util/io.h b/server/src/util/io.h new file mode 100644 index 0000000..437b465 --- /dev/null +++ b/server/src/util/io.h @@ -0,0 +1,8 @@ +#pragma once + +namespace io { +extern std::shared_ptr<spdlog::logger> logger; + +void init(const bool &trunc); +void read_file(const std::string_view name, std::vector<char> &out); +}; // namespace io |