summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/t_network.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-03-27 17:24:15 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-03-27 17:24:15 +0000
commitdeb10796ae4447c072fff33e2bb8bca2eeeb8ae6 (patch)
tree32bb075b7de205f87c71a4ebc0841e34ce424b66 /protocols/Telegram/src/t_network.h
parent6e9ace645b7d24ed0fe60f4b7714d3bb11739dfc (diff)
Telegram: netlib network pt. 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@16554 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Telegram/src/t_network.h')
-rw-r--r--protocols/Telegram/src/t_network.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/protocols/Telegram/src/t_network.h b/protocols/Telegram/src/t_network.h
index e69de29bb2..eaf90ed31d 100644
--- a/protocols/Telegram/src/t_network.h
+++ b/protocols/Telegram/src/t_network.h
@@ -0,0 +1,15 @@
+struct connection
+{
+ char *ip;
+ int port;
+ int flags;
+ enum conn_state state;
+ struct mtproto_methods *methods;
+ struct tgl_state *TLS;
+ struct tgl_session *session;
+ struct tgl_dc *dc;
+ void *extra;
+ double last_receive_time;
+ HANDLE hNetlibConn;
+ HANDLE ping_timer;
+}; \ No newline at end of file