summaryrefslogtreecommitdiff
path: root/gatoattclient.h
diff options
context:
space:
mode:
authorJavier <maemo@javispedro.com>2014-09-17 00:10:06 +0200
committerJavier <maemo@javispedro.com>2014-09-17 00:10:06 +0200
commitb41e73a1565ff9edd45f814a4b535020c04b1b15 (patch)
tree832c003e726815c1a284d5663bcf1f721ecc95ef /gatoattclient.h
parent52e67e59de9bc11cab6cd69e4e403dd9d34582b1 (diff)
downloadlibgato-b41e73a1565ff9edd45f814a4b535020c04b1b15.tar.gz
libgato-b41e73a1565ff9edd45f814a4b535020c04b1b15.zip
Bump version, add new GatoConnectionParameters class and ability to
change connection parameters.
Diffstat (limited to 'gatoattclient.h')
-rw-r--r--gatoattclient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gatoattclient.h b/gatoattclient.h
index 64df313..764abdd 100644
--- a/gatoattclient.h
+++ b/gatoattclient.h
@@ -19,6 +19,12 @@ public:
bool connectTo(const GatoAddress& addr, GatoSocket::SecurityLevel sec_level);
void close();
+ GatoSocket::SecurityLevel securityLevel() const;
+ bool setSecurityLevel(GatoSocket::SecurityLevel level);
+
+ GatoConnectionParameters connectionParameters() const;
+ bool setConnectionParameters(const GatoConnectionParameters &params);
+
struct InformationData
{
GatoHandle handle;