Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
24144:a95c7e71064c | 24145:ec3f7d3e0445 |
---|---|
37 QQ_IM_TEXT = 0x01, | 37 QQ_IM_TEXT = 0x01, |
38 QQ_IM_AUTO_REPLY = 0x02 | 38 QQ_IM_AUTO_REPLY = 0x02 |
39 }; | 39 }; |
40 | 40 |
41 enum { | 41 enum { |
42 QQ_MSG_TO_BUDDY = 0x0009, | 42 QQ_RECV_IM_TO_BUDDY = 0x0009, |
43 QQ_MSG_TO_UNKNOWN = 0x000a, | 43 QQ_RECV_IM_TO_UNKNOWN = 0x000a, |
44 QQ_MSG_NEWS = 0x0018, | 44 QQ_RECV_IM_NEWS = 0x0018, |
45 QQ_MSG_UNKNOWN_QUN_IM = 0x0020, | 45 QQ_RECV_IM_UNKNOWN_QUN_IM = 0x0020, |
46 QQ_MSG_ADD_TO_QUN = 0x0021, | 46 QQ_RECV_IM_ADD_TO_QUN = 0x0021, |
47 QQ_MSG_DEL_FROM_QUN = 0x0022, | 47 QQ_RECV_IM_DEL_FROM_QUN = 0x0022, |
48 QQ_MSG_APPLY_ADD_TO_QUN = 0x0023, | 48 QQ_RECV_IM_APPLY_ADD_TO_QUN = 0x0023, |
49 QQ_MSG_APPROVE_APPLY_ADD_TO_QUN = 0x0024, | 49 QQ_RECV_IM_APPROVE_APPLY_ADD_TO_QUN = 0x0024, |
50 QQ_MSG_REJCT_APPLY_ADD_TO_QUN = 0x0025, | 50 QQ_RECV_IM_REJCT_APPLY_ADD_TO_QUN = 0x0025, |
51 QQ_MSG_CREATE_QUN = 0x0026, | 51 QQ_RECV_IM_CREATE_QUN = 0x0026, |
52 QQ_MSG_TEMP_QUN_IM = 0x002A, | 52 QQ_RECV_IM_TEMP_QUN_IM = 0x002A, |
53 QQ_MSG_QUN_IM = 0x002B, | 53 QQ_RECV_IM_QUN_IM = 0x002B, |
54 QQ_MSG_SYS_30 = 0x0030, | 54 QQ_RECV_IM_SYS_NOTIFICATION = 0x0030, |
55 QQ_MSG_SYS_4C = 0x004C, | 55 QQ_RECV_IM_FROM_BUDDY_2006 = 0x0084, |
56 QQ_MSG_EXTEND = 0x0084, | 56 QQ_RECV_IM_FROM_UNKNOWN_2006 = 0x0085, |
57 QQ_MSG_EXTEND_85 = 0x0085, | |
58 }; | 57 }; |
59 | 58 |
60 void qq_got_attention(PurpleConnection *gc, const gchar *msg); | 59 void qq_got_attention(PurpleConnection *gc, const gchar *msg); |
61 | 60 |
62 guint8 *qq_get_send_im_tail(const gchar *font_color, | 61 guint8 *qq_get_send_im_tail(const gchar *font_color, |
63 const gchar *font_size, | 62 const gchar *font_size, |
64 const gchar *font_name, | 63 const gchar *font_name, |
65 gboolean is_bold, gboolean is_italic, gboolean is_underline, gint len); | 64 gboolean is_bold, gboolean is_italic, gboolean is_underline, gint len); |
66 | 65 |
67 void qq_request_send_im(PurpleConnection *gc, guint32 uid_to, gchar *msg, gint type); | 66 void qq_send_packet_im(PurpleConnection *gc, guint32 to_uid, gchar *msg, gint type); |
67 void qq_process_recv_im(guint8 *data, gint data_len, guint16 seq, PurpleConnection *gc); | |
68 void qq_process_send_im_reply(guint8 *data, gint data_len, PurpleConnection *gc); | |
68 | 69 |
69 void qq_process_im(PurpleConnection *gc, guint8 *data, gint len); | |
70 void qq_process_extend_im(PurpleConnection *gc, guint8 *data, gint len); | |
71 #endif | 70 #endif |