Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/group_opt.h @ 15823:32c366eeeb99
sed -ie 's/gaim/purple/g'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 07:01:17 +0000 |
parents | 5fe8042783c1 |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
15822:84b0f9b23ede | 15823:32c366eeeb99 |
---|---|
1 /** | 1 /** |
2 * @file group_opt.h | 2 * @file group_opt.h |
3 * | 3 * |
4 * gaim | 4 * purple |
5 * | 5 * |
6 * Gaim is the legal property of its developers, whose names are too numerous | 6 * Purple is the legal property of its developers, whose names are too numerous |
7 * to list here. Please refer to the COPYRIGHT file distributed with this | 7 * to list here. Please refer to the COPYRIGHT file distributed with this |
8 * source distribution. | 8 * source distribution. |
9 * | 9 * |
10 * This program is free software; you can redistribute it and/or modify | 10 * This program is free software; you can redistribute it and/or modify |
11 * it under the terms of the GNU General Public License as published by | 11 * it under the terms of the GNU General Public License as published by |
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 _group_member_opt { |
35 GaimConnection *gc; | 35 PurpleConnection *gc; |
36 guint32 internal_group_id; | 36 guint32 internal_group_id; |
37 guint32 member; | 37 guint32 member; |
38 } group_member_opt; | 38 } group_member_opt; |
39 | 39 |
40 enum { | 40 enum { |
45 enum { | 45 enum { |
46 QQ_GROUP_MEMBER_ADD = 0x01, | 46 QQ_GROUP_MEMBER_ADD = 0x01, |
47 QQ_GROUP_MEMBER_DEL | 47 QQ_GROUP_MEMBER_DEL |
48 }; | 48 }; |
49 | 49 |
50 void qq_group_modify_members(GaimConnection *gc, qq_group *group, guint32 *new_members); | 50 void qq_group_modify_members(PurpleConnection *gc, qq_group *group, guint32 *new_members); |
51 void qq_group_modify_info(GaimConnection *gc, qq_group *group); | 51 void qq_group_modify_info(PurpleConnection *gc, qq_group *group); |
52 | 52 |
53 void qq_group_approve_application_with_struct(group_member_opt *g); | 53 void qq_group_approve_application_with_struct(group_member_opt *g); |
54 void qq_group_reject_application_with_struct(group_member_opt *g); | 54 void qq_group_reject_application_with_struct(group_member_opt *g); |
55 void qq_group_search_application_with_struct(group_member_opt *g); | 55 void qq_group_search_application_with_struct(group_member_opt *g); |
56 | 56 |
57 void qq_group_process_modify_info_reply(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); | 57 void qq_group_process_modify_info_reply(guint8 *data, guint8 **cursor, gint len, PurpleConnection *gc); |
58 void qq_group_process_modify_members_reply(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); | 58 void qq_group_process_modify_members_reply(guint8 *data, guint8 **cursor, gint len, PurpleConnection *gc); |
59 void qq_group_manage_group(GaimConnection *gc, GHashTable *data); | 59 void qq_group_manage_group(PurpleConnection *gc, GHashTable *data); |
60 void qq_group_create_with_name(GaimConnection *gc, const gchar *name); | 60 void qq_group_create_with_name(PurpleConnection *gc, const gchar *name); |
61 void qq_group_activate_group(GaimConnection *gc, guint32 internal_group_id); | 61 void qq_group_activate_group(PurpleConnection *gc, guint32 internal_group_id); |
62 void qq_group_process_activate_group_reply(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); | 62 void qq_group_process_activate_group_reply(guint8 *data, guint8 **cursor, gint len, PurpleConnection *gc); |
63 void qq_group_process_create_group_reply(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); | 63 void qq_group_process_create_group_reply(guint8 *data, guint8 **cursor, gint len, PurpleConnection *gc); |
64 | 64 |
65 #endif | 65 #endif |