From e34f49ff20f2227ffca0515201e7493fd55ef64a Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 26 Jul 2014 22:59:39 +0200 Subject: add "requireencryption" connection option (ABI broken!) --- gatoattclient.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gatoattclient.h') diff --git a/gatoattclient.h b/gatoattclient.h index 834178e..64df313 100644 --- a/gatoattclient.h +++ b/gatoattclient.h @@ -16,7 +16,7 @@ public: GatoSocket::State state() const; - bool connectTo(const GatoAddress& addr); + bool connectTo(const GatoAddress& addr, GatoSocket::SecurityLevel sec_level); void close(); struct InformationData @@ -93,6 +93,7 @@ private: quint16 cur_mtu; uint next_id; QQueue pending_requests; + GatoSocket::SecurityLevel required_sec; }; #endif // GATOATTCLIENT_H -- cgit v1.2.3