1
0
Fork 0
mirror of https://gitlab.com/niansa/asbots.git synced 2025-03-06 20:48:25 +01:00
asbots/config.hpp
2021-06-18 15:25:14 +02:00

23 lines
452 B
C++

#ifndef _CONFIG_HPP
#define _CONFIG_HPP
#include "uid.hpp"
#include <string>
struct Config {
struct Connection {
std::string addr;
int port;
} connection;
struct Auth {
std::string send_password, accept_password;
} auth;
struct Server {
std::string name, description;
SUID uid; // Fourth one reserved for null-terminator
bool hidden = false;
} server;
} extern config;
#endif