Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjentsch <mtthsjntsch@gmail.com>2015-11-22 00:21:00 +0300
committermjentsch <mtthsjntsch@gmail.com>2015-11-22 00:21:00 +0300
commit3cc0a832a90926822d5ad858885cfc9877febe9b (patch)
tree1c56007ba2fbb578056434a61b143ab765797a50 /tgp-net.h
parentf094319519323c7e4d9dde818996509106c3379f (diff)
Remove dead code and unused functions
Diffstat (limited to 'tgp-net.h')
-rw-r--r--tgp-net.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/tgp-net.h b/tgp-net.h
index 258a045..41e1d14 100644
--- a/tgp-net.h
+++ b/tgp-net.h
@@ -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)