added shadowrun database
This commit is contained in:
19
src/utils.hpp
Normal file
19
src/utils.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef UTILS_HPP
|
||||
#define UTILS_HPP
|
||||
|
||||
#include <expected>
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
#include <filesystem>
|
||||
|
||||
namespace utils {
|
||||
std::expected<bool, std::string> isLocalPortOpen(uint16_t portno);
|
||||
|
||||
std::string to_id_format(const std::string& s);
|
||||
|
||||
std::string loadFile(const std::string& path);
|
||||
|
||||
std::filesystem::path getDataDir();
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user