diff options
author | Javier <maemo@javispedro.com> | 2014-07-26 22:59:39 +0200 |
---|---|---|
committer | Javier <maemo@javispedro.com> | 2014-07-26 22:59:39 +0200 |
commit | e34f49ff20f2227ffca0515201e7493fd55ef64a (patch) | |
tree | 486b48932015af92c9577b6cddc88834cb839df4 /gatoattclient.h | |
parent | aaf7fb81d16018cac51c67443bd09e499dbf1e7e (diff) | |
download | libgato-e34f49ff20f2227ffca0515201e7493fd55ef64a.tar.gz libgato-e34f49ff20f2227ffca0515201e7493fd55ef64a.zip |
add "requireencryption" connection option (ABI broken!)
Diffstat (limited to 'gatoattclient.h')
-rw-r--r-- | gatoattclient.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<Request> pending_requests; + GatoSocket::SecurityLevel required_sec; }; #endif // GATOATTCLIENT_H |