summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/t_network.h
diff options
context:
space:
mode:
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