Mercurial > pidgin
comparison libpurple/protocols/qq/group_opt.h @ 24159:9be95f0b9472
2008.10.10 - ccpaging <ccpaging(at)gmail.com>
* Keep group_search.c/h for later use
* Update 'group'
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Tue, 28 Oct 2008 16:40:56 +0000 |
parents | 1ee91ff0d5fe |
children |
comparison
equal
deleted
inserted
replaced
24158:b6f09c1c79ce | 24159:9be95f0b9472 |
---|---|
29 #include "connection.h" | 29 #include "connection.h" |
30 #include "group.h" | 30 #include "group.h" |
31 | 31 |
32 #define QQ_QUN_MEMBER_MAX 80 /* max number of the group */ | 32 #define QQ_QUN_MEMBER_MAX 80 /* max number of the group */ |
33 | 33 |
34 typedef struct _group_member_opt { | 34 typedef struct _qq_room_req { |
35 PurpleConnection *gc; | 35 PurpleConnection *gc; |
36 guint32 id; | 36 guint32 id; |
37 guint32 member; | 37 guint32 member; |
38 } group_member_opt; | 38 } qq_room_req; |
39 | 39 |
40 enum { | 40 enum { |
41 QQ_ROOM_TYPE_PERMANENT = 0x01, | 41 QQ_ROOM_TYPE_PERMANENT = 0x01, |
42 QQ_ROOM_TYPE_TEMPORARY | 42 QQ_ROOM_TYPE_TEMPORARY |
43 }; | 43 }; |
48 }; | 48 }; |
49 | 49 |
50 void qq_group_modify_members(PurpleConnection *gc, qq_room_data *rmd, guint32 *new_members); | 50 void qq_group_modify_members(PurpleConnection *gc, qq_room_data *rmd, guint32 *new_members); |
51 void qq_room_change_info(PurpleConnection *gc, qq_room_data *rmd); | 51 void qq_room_change_info(PurpleConnection *gc, qq_room_data *rmd); |
52 | 52 |
53 void qq_group_approve_application_with_struct(group_member_opt *g); | 53 void qq_create_room(PurpleConnection *gc, const gchar *name); |
54 void qq_group_reject_application_with_struct(group_member_opt *g); | |
55 void qq_group_search_application_with_struct(group_member_opt *g); | |
56 | |
57 void qq_group_process_modify_info_reply(guint8 *data, gint len, PurpleConnection *gc); | 54 void qq_group_process_modify_info_reply(guint8 *data, gint len, PurpleConnection *gc); |
58 void qq_group_process_modify_members_reply(guint8 *data, gint len, PurpleConnection *gc); | 55 void qq_group_process_modify_members_reply(guint8 *data, gint len, PurpleConnection *gc); |
59 void qq_group_manage_group(PurpleConnection *gc, GHashTable *data); | 56 void qq_group_manage_group(PurpleConnection *gc, GHashTable *data); |
60 void qq_room_create_new(PurpleConnection *gc, const gchar *name); | |
61 void qq_group_process_activate_group_reply(guint8 *data, gint len, PurpleConnection *gc); | 57 void qq_group_process_activate_group_reply(guint8 *data, gint len, PurpleConnection *gc); |
62 void qq_group_process_create_group_reply(guint8 *data, gint len, PurpleConnection *gc); | 58 void qq_group_process_create_group_reply(guint8 *data, gint len, PurpleConnection *gc); |
63 | 59 |
60 void qq_process_room_buddy_request_join(guint8 *data, gint len, guint32 id, PurpleConnection *gc); | |
61 void qq_process_room_buddy_rejected(guint8 *data, gint len, guint32 id, PurpleConnection *gc); | |
62 void qq_process_room_buddy_approved(guint8 *data, gint len, guint32 id, PurpleConnection *gc); | |
63 void qq_process_room_buddy_removed(guint8 *data, gint len, guint32 id, PurpleConnection *gc); | |
64 void qq_process_room_buddy_joined(guint8 *data, gint len, guint32 id, PurpleConnection *gc); | |
64 #endif | 65 #endif |