Mercurial > pidgin.yaz
diff libpurple/protocols/qq/qq_network.h @ 23053:55f986ccbb6a
patch-05-reconnect-and-code-cleanup
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Tue, 24 Jun 2008 12:28:38 +0000 |
parents | 51dbe83ebbd3 |
children | 1c50f12b1c52 |
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq_network.h Tue Jun 24 12:22:40 2008 +0000 +++ b/libpurple/protocols/qq/qq_network.h Tue Jun 24 12:28:38 2008 +0000 @@ -30,13 +30,15 @@ #include "qq.h" -#define QQ_CONNECT_STEPS 2 /* steps in connection */ +#define QQ_CONNECT_STEPS 3 /* steps in connection */ void qq_connect(PurpleAccount *account); void qq_disconnect(PurpleConnection *gc); +void qq_connect_later(PurpleConnection *gc); -gint qq_send_data(PurpleConnection *gc, guint16 cmd, guint8 *data, gint datalen); -gint qq_send_cmd(PurpleConnection *gc, guint16 cmd, gboolean is_auto_seq, guint16 seq, - gboolean need_ack, guint8 *data, gint datalen); +gint qq_send_data(qq_data *qd, guint16 cmd, guint8 *data, gint datalen); +gint qq_send_cmd(qq_data *qd, guint16 cmd, guint8 *data, gint datalen); +gint qq_send_cmd_detail(qq_data *qd, guint16 cmd, guint16 seq, gboolean need_ack, + guint8 *data, gint data_len); #endif