summaryrefslogtreecommitdiff
path: root/server/server/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/server/config.h')
-rw-r--r--server/server/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/server/config.h b/server/server/config.h
index 12ff54b..4c76bfe 100644
--- a/server/server/config.h
+++ b/server/server/config.h
@@ -26,6 +26,17 @@ struct static_proxy_entry
{
int port, position;
std::string host, login, password, label;
+ static_proxy_entry(): port(0), position(0)
+ {}
+ static_proxy_entry(std::string login_, std::string password_, std::string host_, int port_, std::string label_, int position_)
+ {
+ login = login_;
+ password = password_;
+ host = host_;
+ port = port_;
+ label = label_;
+ position = position_;
+ }
};
class config