cOMS/models/settings/Settings.h
Dennis Eichhorn 39fbcf4300
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (autobuild, c-cpp) (push) Waiting to run
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
linux bug fixes
2025-03-22 01:10:19 +00:00

38 lines
611 B
C
Executable File

/**
* Jingga
*
* @copyright Jingga
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
#ifndef COMS_MODELS_SETTINGS_H
#define COMS_MODELS_SETTINGS_H
#include "../../stdlib/Types.h"
#if _WIN32
#include <Ws2ipdef.h>
#elif __linux__
#include <arpa/inet.h>
#endif
struct SIMDSettings {
byte simd_version;
int32 simd_step_size;
bool supports_abm;
};
struct NetworkSettings {
in6_addr network_hostname;
uint16 network_port;
};
struct ServerInfoSettings {
char server_name[24];
in6_addr server_hostname;
uint16 server_port;
};
#endif