Mercurial > pidgin
comparison src/protocols/qq/group_join.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_JOIN_H_ | 23 #ifndef _QQ_GROUP_JOIN_H_ |
26 #define _QQ_GROUP_JOIN_H_ | 24 #define _QQ_GROUP_JOIN_H_ |
27 | 25 |
28 #include <glib.h> | 26 #include <glib.h> |
29 #include "connection.h" | 27 #include "connection.h" |
30 #include "group.h" | 28 #include "group.h" |
31 | 29 |
32 enum { | 30 enum { |
33 QQ_GROUP_AUTH_TYPE_NO_AUTH = 0x01, | 31 QQ_GROUP_AUTH_TYPE_NO_AUTH = 0x01, |
34 QQ_GROUP_AUTH_TYPE_NEED_AUTH = 0x02, | 32 QQ_GROUP_AUTH_TYPE_NEED_AUTH = 0x02, |
35 QQ_GROUP_AUTH_TYPE_NO_ADD = 0x03, | 33 QQ_GROUP_AUTH_TYPE_NO_ADD = 0x03 |
36 }; | 34 }; |
37 | 35 |
38 enum { | 36 enum { |
39 QQ_GROUP_AUTH_REQUEST_APPLY = 0x01, | 37 QQ_GROUP_AUTH_REQUEST_APPLY = 0x01, |
40 QQ_GROUP_AUTH_REQUEST_APPROVE = 0x02, | 38 QQ_GROUP_AUTH_REQUEST_APPROVE = 0x02, |
41 QQ_GROUP_AUTH_REQUEST_REJECT = 0x03, | 39 QQ_GROUP_AUTH_REQUEST_REJECT = 0x03 |
42 }; | 40 }; |
43 | 41 |
44 void qq_send_cmd_group_auth(GaimConnection * gc, qq_group * group, guint8 opt, guint32 uid, const gchar * reason_utf8); | 42 void qq_send_cmd_group_auth(GaimConnection *gc, qq_group *group, guint8 opt, guint32 uid, const gchar *reason_utf8); |
45 void qq_group_join(GaimConnection * gc, GHashTable * data); | 43 void qq_group_join(GaimConnection *gc, GHashTable *data); |
46 void qq_group_exit(GaimConnection * gc, GHashTable * data); | 44 void qq_group_exit(GaimConnection *gc, GHashTable *data); |
47 void qq_send_cmd_group_exit_group(GaimConnection * gc, qq_group * group); | 45 void qq_send_cmd_group_exit_group(GaimConnection *gc, qq_group *group); |
48 void qq_process_group_cmd_exit_group(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc); | 46 void qq_process_group_cmd_exit_group(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); |
49 void qq_process_group_cmd_join_group_auth(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc); | 47 void qq_process_group_cmd_join_group_auth(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); |
50 void qq_process_group_cmd_join_group(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc); | 48 void qq_process_group_cmd_join_group(guint8 *data, guint8 **cursor, gint len, GaimConnection *gc); |
51 | 49 |
52 #endif | 50 #endif |
53 /*****************************************************************************/ | |
54 // END OF FILE |