Files
ops-Ocelot/config.h
2014-09-02 23:14:39 +02:00

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