#pragma once namespace config { class Boolean; class String; } // namespace config namespace whitelist { extern config::Boolean enabled; extern config::String filename; } // namespace whitelist namespace whitelist { void init(void); void init_late(void); void shutdown(void); } // namespace whitelist namespace whitelist { bool contains(std::string_view username); bool matches(std::string_view username, std::uint64_t password_hash); } // namespace whitelist