Mercurial > pidgin.yaz
comparison src/protocols/qq/buddy_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_BUDDY_OPT_H_ | 23 #ifndef _QQ_BUDDY_OPT_H_ |
26 #define _QQ_BUDDY_OPT_H_ | 24 #define _QQ_BUDDY_OPT_H_ |
27 | 25 |
28 #include <glib.h> | 26 #include <glib.h> |
29 #include "connection.h" // GaimConnection | 27 #include "connection.h" |
30 | 28 |
31 #include "qq.h" // qq_buddy | 29 #include "qq.h" |
32 | 30 |
33 typedef struct _gc_and_uid gc_and_uid; | 31 typedef struct _gc_and_uid gc_and_uid; |
34 | 32 |
35 struct _gc_and_uid { | 33 struct _gc_and_uid { |
36 guint32 uid; | 34 guint32 uid; |
37 GaimConnection *gc; | 35 GaimConnection *gc; |
38 }; | 36 }; |
39 | 37 |
40 void qq_approve_add_request_with_gc_and_uid(gc_and_uid * g); | 38 void qq_approve_add_request_with_gc_and_uid(gc_and_uid *g); |
39 void qq_reject_add_request_with_gc_and_uid(gc_and_uid *g); | |
41 | 40 |
42 void qq_reject_add_request_with_gc_and_uid(gc_and_uid * g); | 41 void qq_add_buddy_with_gc_and_uid(gc_and_uid *g); |
42 void qq_block_buddy_with_gc_and_uid(gc_and_uid *g); | |
43 | 43 |
44 void qq_add_buddy_with_gc_and_uid(gc_and_uid * g); | 44 void qq_do_nothing_with_gc_and_uid(gc_and_uid *g, const gchar *msg); |
45 | 45 |
46 void qq_block_buddy_with_gc_and_uid(gc_and_uid * g); | 46 void qq_process_remove_buddy_reply(guint8 *buf, gint buf_len, GaimConnection *gc); |
47 void qq_process_remove_self_reply(guint8 *buf, gint buf_len, GaimConnection *gc); | |
48 void qq_process_add_buddy_reply(guint8 *buf, gint buf_len, guint16 seq, GaimConnection *gc); | |
49 void qq_process_add_buddy_auth_reply(guint8 *buf, gint buf_len, GaimConnection *gc); | |
50 GaimBuddy *qq_add_buddy_by_recv_packet(GaimConnection *gc, guint32 uid, gboolean is_known, gboolean create); | |
51 void qq_add_buddy(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group); | |
47 | 52 |
48 void qq_do_nothing_with_gc_and_uid(gc_and_uid * g, const gchar * msg); | 53 GaimGroup *qq_get_gaim_group(const gchar *group_name); |
49 | 54 |
50 void qq_process_remove_buddy_reply(guint8 * buf, gint buf_len, GaimConnection * gc); | 55 void qq_remove_buddy(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group); |
51 void qq_process_remove_self_reply(guint8 * buf, gint buf_len, GaimConnection * gc); | 56 void qq_add_buddy_request_free(qq_data *qd); |
52 void qq_process_add_buddy_reply(guint8 * buf, gint buf_len, guint16 seq, GaimConnection * gc); | |
53 void qq_process_add_buddy_auth_reply(guint8 * buf, gint buf_len, GaimConnection * gc); | |
54 GaimBuddy *qq_add_buddy_by_recv_packet(GaimConnection * gc, guint32 uid, gboolean is_known, gboolean create); | |
55 void qq_add_buddy(GaimConnection * gc, GaimBuddy * buddy, GaimGroup * group); | |
56 GaimGroup *qq_get_gaim_group(const gchar * group_name); | |
57 | 57 |
58 void qq_remove_buddy(GaimConnection * gc, GaimBuddy * buddy, GaimGroup * group); | 58 void qq_buddies_list_free(GaimAccount *account, qq_data *qd); |
59 void qq_add_buddy_request_free(qq_data * qd); | |
60 | |
61 void qq_buddies_list_free(GaimAccount *account, qq_data * qd); | |
62 | 59 |
63 #endif | 60 #endif |
64 /*****************************************************************************/ | |
65 // END OF FILE |