Remove dead code and unused functions
This commit is contained in:
parent
f094319519
commit
3cc0a832a9
3 changed files with 0 additions and 10 deletions
|
@ -31,7 +31,6 @@ PurpleChat *p2tgl_chat_new (struct tgl_state *TLS, struct tgl_chat *chat);
|
||||||
void tgp_chat_on_loaded_chat_full (struct tgl_state *TLS, struct tgl_chat *C);
|
void tgp_chat_on_loaded_chat_full (struct tgl_state *TLS, struct tgl_chat *C);
|
||||||
PurpleConversation *tgp_chat_show (struct tgl_state *TLS, struct tgl_chat *C);
|
PurpleConversation *tgp_chat_show (struct tgl_state *TLS, struct tgl_chat *C);
|
||||||
void tgp_chat_users_update (struct tgl_state *TLS, struct tgl_chat *C);
|
void tgp_chat_users_update (struct tgl_state *TLS, struct tgl_chat *C);
|
||||||
int chat_add_message (struct tgl_state *TLS, struct tgl_message *M, char *text);
|
|
||||||
|
|
||||||
char *tgprpl_get_chat_name (GHashTable *data);
|
char *tgprpl_get_chat_name (GHashTable *data);
|
||||||
void tgprpl_chat_join (PurpleConnection *gc, GHashTable *data);
|
void tgprpl_chat_join (PurpleConnection *gc, GHashTable *data);
|
||||||
|
|
1
tgp-ft.h
1
tgp-ft.h
|
@ -29,7 +29,6 @@
|
||||||
PurpleXfer *tgprpl_new_xfer (PurpleConnection * gc, const char *who);
|
PurpleXfer *tgprpl_new_xfer (PurpleConnection * gc, const char *who);
|
||||||
void tgprpl_send_file (PurpleConnection * gc, const char *who, const char *file);
|
void tgprpl_send_file (PurpleConnection * gc, const char *who, const char *file);
|
||||||
void tgprpl_recv_file (PurpleConnection * gc, const char *who, struct tgl_message *M);
|
void tgprpl_recv_file (PurpleConnection * gc, const char *who, struct tgl_message *M);
|
||||||
void tgprpl_recv_encr_file (PurpleConnection * gc, const char *who, struct tgl_message *M);
|
|
||||||
void tgprpl_xfer_free_all (connection_data *conn);
|
void tgprpl_xfer_free_all (connection_data *conn);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -66,22 +66,14 @@ struct connection {
|
||||||
void *prpl_data;
|
void *prpl_data;
|
||||||
};
|
};
|
||||||
|
|
||||||
//extern struct connection *Connections[];
|
|
||||||
|
|
||||||
int tgln_write_out (struct connection *c, const void *data, int len);
|
int tgln_write_out (struct connection *c, const void *data, int len);
|
||||||
void tgln_flush_out (struct connection *c);
|
void tgln_flush_out (struct connection *c);
|
||||||
int tgln_read_in (struct connection *c, void *data, int len);
|
int tgln_read_in (struct connection *c, void *data, int len);
|
||||||
int tgln_read_in_lookup (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;
|
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);
|
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)
|
#define GET_DC(c) (c->session->dc)
|
||||||
|
|
Loading…
Add table
Reference in a new issue