summaryrefslogtreecommitdiff
path: root/connectionParam.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-07 09:52:31 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-07 09:52:31 +0000
commitbb802659d86359d275b705be0d5d0f6828349e45 (patch)
tree40680eeef8ef2b9352f66a07224dd299520c1565 /connectionParam.h
parentadded boost as dependency (diff)
split parameters to global params and connection params (moved to connection list)
Diffstat (limited to 'connectionParam.h')
-rw-r--r--connectionParam.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/connectionParam.h b/connectionParam.h
index ac7b8e2..0129a03 100644
--- a/connectionParam.h
+++ b/connectionParam.h
@@ -40,12 +40,11 @@
class ConnectionParam
{
public:
- ConnectionParam(Options& opt, KeyDerivation& kd, Cypher& c, AuthAlgo& a, SeqWindow& seq);
- Options& opt_;
+ ConnectionParam( KeyDerivation& kd, SeqWindow& seq, std::string remote_host, u_int16_t remote_port);
KeyDerivation& kd_;
- Cypher& c_;
- AuthAlgo& a_;
SeqWindow& seq_;
+ std::string remote_host_;
+ u_int16_t remote_port_;
};
#endif