Mercurial > pidgin
diff libpurple/protocols/qq/im.h @ 24145:ec3f7d3e0445
2008.10.04 - lonicerae <lonicerae(at)gmail.com>
* fixed a bug in qq_base.c
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:49:38 +0000 |
parents | a95c7e71064c |
children | ce94189f15ad |
line wrap: on
line diff
--- a/libpurple/protocols/qq/im.h Wed Oct 22 14:48:46 2008 +0000 +++ b/libpurple/protocols/qq/im.h Wed Oct 22 14:49:38 2008 +0000 @@ -39,22 +39,21 @@ }; enum { - QQ_MSG_TO_BUDDY = 0x0009, - QQ_MSG_TO_UNKNOWN = 0x000a, - QQ_MSG_NEWS = 0x0018, - QQ_MSG_UNKNOWN_QUN_IM = 0x0020, - QQ_MSG_ADD_TO_QUN = 0x0021, - QQ_MSG_DEL_FROM_QUN = 0x0022, - QQ_MSG_APPLY_ADD_TO_QUN = 0x0023, - QQ_MSG_APPROVE_APPLY_ADD_TO_QUN = 0x0024, - QQ_MSG_REJCT_APPLY_ADD_TO_QUN = 0x0025, - QQ_MSG_CREATE_QUN = 0x0026, - QQ_MSG_TEMP_QUN_IM = 0x002A, - QQ_MSG_QUN_IM = 0x002B, - QQ_MSG_SYS_30 = 0x0030, - QQ_MSG_SYS_4C = 0x004C, - QQ_MSG_EXTEND = 0x0084, - QQ_MSG_EXTEND_85 = 0x0085, + QQ_RECV_IM_TO_BUDDY = 0x0009, + QQ_RECV_IM_TO_UNKNOWN = 0x000a, + QQ_RECV_IM_NEWS = 0x0018, + QQ_RECV_IM_UNKNOWN_QUN_IM = 0x0020, + QQ_RECV_IM_ADD_TO_QUN = 0x0021, + QQ_RECV_IM_DEL_FROM_QUN = 0x0022, + QQ_RECV_IM_APPLY_ADD_TO_QUN = 0x0023, + QQ_RECV_IM_APPROVE_APPLY_ADD_TO_QUN = 0x0024, + QQ_RECV_IM_REJCT_APPLY_ADD_TO_QUN = 0x0025, + QQ_RECV_IM_CREATE_QUN = 0x0026, + QQ_RECV_IM_TEMP_QUN_IM = 0x002A, + QQ_RECV_IM_QUN_IM = 0x002B, + QQ_RECV_IM_SYS_NOTIFICATION = 0x0030, + QQ_RECV_IM_FROM_BUDDY_2006 = 0x0084, + QQ_RECV_IM_FROM_UNKNOWN_2006 = 0x0085, }; void qq_got_attention(PurpleConnection *gc, const gchar *msg); @@ -64,8 +63,8 @@ const gchar *font_name, gboolean is_bold, gboolean is_italic, gboolean is_underline, gint len); -void qq_request_send_im(PurpleConnection *gc, guint32 uid_to, gchar *msg, gint type); +void qq_send_packet_im(PurpleConnection *gc, guint32 to_uid, gchar *msg, gint type); +void qq_process_recv_im(guint8 *data, gint data_len, guint16 seq, PurpleConnection *gc); +void qq_process_send_im_reply(guint8 *data, gint data_len, PurpleConnection *gc); -void qq_process_im(PurpleConnection *gc, guint8 *data, gint len); -void qq_process_extend_im(PurpleConnection *gc, guint8 *data, gint len); #endif