mirror of
https://github.com/OPSnet/Ocelot.git
synced 2026-01-16 18:04:19 -05:00
35 lines
643 B
C++
35 lines
643 B
C++
#ifndef OCELOT_CONFIG_H
|
|
#define OCELOT_CONFIG_H
|
|
|
|
#include <string>
|
|
|
|
class config {
|
|
public:
|
|
std::string host;
|
|
unsigned int port;
|
|
unsigned int max_connections;
|
|
unsigned int max_read_buffer;
|
|
unsigned int timeout_interval;
|
|
unsigned int schedule_interval;
|
|
unsigned int max_middlemen;
|
|
|
|
unsigned int announce_interval;
|
|
unsigned int peers_timeout;
|
|
|
|
unsigned int reap_peers_interval;
|
|
unsigned int del_reason_lifetime;
|
|
|
|
// MySQL
|
|
std::string mysql_db;
|
|
std::string mysql_host;
|
|
std::string mysql_username;
|
|
std::string mysql_password;
|
|
|
|
std::string site_host;
|
|
std::string site_password;
|
|
|
|
config();
|
|
};
|
|
|
|
#endif
|