diff options
author | mjentsch <mtthsjntsch@gmail.com> | 2015-11-22 00:21:00 +0300 |
---|---|---|
committer | mjentsch <mtthsjntsch@gmail.com> | 2015-11-22 00:21:00 +0300 |
commit | 3cc0a832a90926822d5ad858885cfc9877febe9b (patch) | |
tree | 1c56007ba2fbb578056434a61b143ab765797a50 /tgp-net.h | |
parent | f094319519323c7e4d9dde818996509106c3379f (diff) |
Remove dead code and unused functions
Diffstat (limited to 'tgp-net.h')
-rw-r--r-- | tgp-net.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -66,22 +66,14 @@ struct connection { void *prpl_data; }; -//extern struct connection *Connections[]; int tgln_write_out (struct connection *c, const void *data, int len); void tgln_flush_out (struct connection *c); int tgln_read_in (struct connection *c, void *data, int len); int tgln_read_in_lookup (struct connection *c, void *data, int len); -//void tgln_insert_msg_id (struct tgl_session *S, long long id); extern struct tgl_net_methods tgp_conn_methods; - -//void create_all_outbound_connections (void); - -//struct connection *create_connection (const char *host, int port, struct tgl_session *session, struct connection_methods *methods); -//struct tgl_dc *tgln_alloc_dc (int id, char *ip, int port); -//void tgln_dc_create_session (struct tgl_dc *DC, struct mtproto_methods *methods); struct connection *tgln_create_connection (struct tgl_state *TLS, const char *host, int port, struct tgl_session *session, struct tgl_dc *dc, struct mtproto_methods *methods); #define GET_DC(c) (c->session->dc) |