Mercurial > pidgin.yaz
comparison src/protocols/qq/group_opt.h @ 14021:ef8490f9e823
[gaim-migrate @ 16618]
Replaced all C++-style comments with C-style ones.
Cleaned up some comments and implemented a more consistent formatting scheme.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Wed, 02 Aug 2006 15:35:36 +0000 |
parents | 983fd420e86b |
children |
comparison
equal
deleted
inserted
replaced
14020:13e7ba964993 | 14021:ef8490f9e823 |
---|---|
18 * You should have received a copy of the GNU General Public License | 18 * You should have received a copy of the GNU General Public License |
19 * along with this program; if not, write to the Free Software | 19 * along with this program; if not, write to the Free Software |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 */ | 21 */ |
22 | 22 |
23 // START OF FILE | |
24 /*****************************************************************************/ | |
25 #ifndef _QQ_GROUP_OPT_H_ | 23 #ifndef _QQ_GROUP_OPT_H_ |
26 #define _QQ_GROUP_OPT_H_ | 24 #define _QQ_GROUP_OPT_H_ |
27 | 25 |
28 #include <glib.h> | 26 #include <glib.h> |
29 #include "connection.h" // GaimConnection | 27 #include "connection.h" |
30 #include "group.h" // qq_group | 28 #include "group.h" |
31 | 29 |
32 #define QQ_QUN_MEMBER_MAX 80 // max number of the group | 30 #define QQ_QUN_MEMBER_MAX 80 /* max number of the group */ |
33 | 31 |
34 typedef struct _group_member_opt { | 32 typedef struct _group_member_opt { |
35 GaimConnection *gc; | 33 GaimConnection *gc; |
36 guint32 internal_group_id; | 34 guint32 internal_group_id; |
37 guint32 member; | 35 guint32 member; |
38 } group_member_opt; | 36 } group_member_opt; |
39 | 37 |
40 enum { | 38 enum { |
41 QQ_GROUP_TYPE_PERMANENT = 0x01, | 39 QQ_GROUP_TYPE_PERMANENT = 0x01, |
42 QQ_GROUP_TYPE_TEMPORARY, | 40 QQ_GROUP_TYPE_TEMPORARY |
43 }; | 41 }; |
44 | 42 |
45 enum { | 43 enum { |
46 QQ_GROUP_MEMBER_ADD = 0x01, | 44 QQ_GROUP_MEMBER_ADD = 0x01, |
47 QQ_GROUP_MEMBER_DEL, | 45 QQ_GROUP_MEMBER_DEL |
48 }; | 46 }; |
49 | 47 |
50 void qq_group_modify_members(GaimConnection * gc, qq_group * group, guint32 * new_members); | 48 void qq_group_modify_members(GaimConnection *gc, qq_group *group, guint32 *new_members); |
51 void qq_group_modify_info(GaimConnection * gc, qq_group * group); | 49 void qq_group_modify_info(GaimConnection *gc, qq_group *group); |
52 | 50 |
53 void qq_group_approve_application_with_struct(group_member_opt * g); | 51 void qq_group_approve_application_with_struct(group_member_opt *g); |
54 void qq_group_reject_application_with_struct(group_member_opt * g); | 52 void qq_group_reject_application_with_struct(group_member_opt *g); |
55 void qq_group_search_application_with_struct(group_member_opt * g); | 53 void qq_group_search_application_with_struct(group_member_opt *g); |
56 | 54 |
57 void qq_group_process_modify_info_reply(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc); | 55 void qq_group_process_modify_info_reply(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); |
58 void qq_group_process_modify_members_reply(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc); | 56 void qq_group_process_modify_members_reply(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); |
59 void qq_group_manage_group(GaimConnection * gc, GHashTable * data); | 57 void qq_group_manage_group(GaimConnection *gc, GHashTable *data); |
60 void qq_group_create_with_name(GaimConnection * gc, const gchar * name); | 58 void qq_group_create_with_name(GaimConnection *gc, const gchar *name); |
61 void qq_group_activate_group(GaimConnection * gc, guint32 internal_group_id); | 59 void qq_group_activate_group(GaimConnection *gc, guint32 internal_group_id); |
62 void qq_group_process_activate_group_reply(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc); | 60 void qq_group_process_activate_group_reply(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); |
63 void qq_group_process_create_group_reply(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc); | 61 void qq_group_process_create_group_reply(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); |
64 | 62 |
65 #endif | 63 #endif |
66 /*****************************************************************************/ | |
67 // END OF FILE |