Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoochat.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 | 4ca97b26a8fb 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
15822:84b0f9b23ede | 15823:32c366eeeb99 |
---|---|
1 /** | 1 /** |
2 * @file yahoochat.h The Yahoo! protocol plugin, chat and conference stuff | 2 * @file yahoochat.h The Yahoo! protocol plugin, chat and conference stuff |
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 |
26 #define _YAHOOCHAT_H_ | 26 #define _YAHOOCHAT_H_ |
27 | 27 |
28 #include "roomlist.h" | 28 #include "roomlist.h" |
29 #include "yahoo_packet.h" | 29 #include "yahoo_packet.h" |
30 | 30 |
31 void yahoo_process_conference_invite(GaimConnection *gc, struct yahoo_packet *pkt); | 31 void yahoo_process_conference_invite(PurpleConnection *gc, struct yahoo_packet *pkt); |
32 void yahoo_process_conference_decline(GaimConnection *gc, struct yahoo_packet *pkt); | 32 void yahoo_process_conference_decline(PurpleConnection *gc, struct yahoo_packet *pkt); |
33 void yahoo_process_conference_logon(GaimConnection *gc, struct yahoo_packet *pkt); | 33 void yahoo_process_conference_logon(PurpleConnection *gc, struct yahoo_packet *pkt); |
34 void yahoo_process_conference_logoff(GaimConnection *gc, struct yahoo_packet *pkt); | 34 void yahoo_process_conference_logoff(PurpleConnection *gc, struct yahoo_packet *pkt); |
35 void yahoo_process_conference_message(GaimConnection *gc, struct yahoo_packet *pkt); | 35 void yahoo_process_conference_message(PurpleConnection *gc, struct yahoo_packet *pkt); |
36 | 36 |
37 void yahoo_process_chat_online(GaimConnection *gc, struct yahoo_packet *pkt); | 37 void yahoo_process_chat_online(PurpleConnection *gc, struct yahoo_packet *pkt); |
38 void yahoo_process_chat_logout(GaimConnection *gc, struct yahoo_packet *pkt); | 38 void yahoo_process_chat_logout(PurpleConnection *gc, struct yahoo_packet *pkt); |
39 void yahoo_process_chat_join(GaimConnection *gc, struct yahoo_packet *pkt); | 39 void yahoo_process_chat_join(PurpleConnection *gc, struct yahoo_packet *pkt); |
40 void yahoo_process_chat_exit(GaimConnection *gc, struct yahoo_packet *pkt); | 40 void yahoo_process_chat_exit(PurpleConnection *gc, struct yahoo_packet *pkt); |
41 void yahoo_process_chat_message(GaimConnection *gc, struct yahoo_packet *pkt); | 41 void yahoo_process_chat_message(PurpleConnection *gc, struct yahoo_packet *pkt); |
42 void yahoo_process_chat_addinvite(GaimConnection *gc, struct yahoo_packet *pkt); | 42 void yahoo_process_chat_addinvite(PurpleConnection *gc, struct yahoo_packet *pkt); |
43 void yahoo_process_chat_goto(GaimConnection *gc, struct yahoo_packet *pkt); | 43 void yahoo_process_chat_goto(PurpleConnection *gc, struct yahoo_packet *pkt); |
44 | 44 |
45 void yahoo_c_leave(GaimConnection *gc, int id); | 45 void yahoo_c_leave(PurpleConnection *gc, int id); |
46 int yahoo_c_send(GaimConnection *gc, int id, const char *what, GaimMessageFlags flags); | 46 int yahoo_c_send(PurpleConnection *gc, int id, const char *what, PurpleMessageFlags flags); |
47 GList *yahoo_c_info(GaimConnection *gc); | 47 GList *yahoo_c_info(PurpleConnection *gc); |
48 GHashTable *yahoo_c_info_defaults(GaimConnection *gc, const char *chat_name); | 48 GHashTable *yahoo_c_info_defaults(PurpleConnection *gc, const char *chat_name); |
49 void yahoo_c_join(GaimConnection *gc, GHashTable *data); | 49 void yahoo_c_join(PurpleConnection *gc, GHashTable *data); |
50 char *yahoo_get_chat_name(GHashTable *data); | 50 char *yahoo_get_chat_name(GHashTable *data); |
51 void yahoo_c_invite(GaimConnection *gc, int id, const char *msg, const char *name); | 51 void yahoo_c_invite(PurpleConnection *gc, int id, const char *msg, const char *name); |
52 | 52 |
53 void yahoo_conf_leave(struct yahoo_data *yd, const char *room, const char *dn, GList *who); | 53 void yahoo_conf_leave(struct yahoo_data *yd, const char *room, const char *dn, GList *who); |
54 | 54 |
55 void yahoo_chat_goto(GaimConnection *gc, const char *name); | 55 void yahoo_chat_goto(PurpleConnection *gc, const char *name); |
56 | 56 |
57 /* room listing functions */ | 57 /* room listing functions */ |
58 GaimRoomlist *yahoo_roomlist_get_list(GaimConnection *gc); | 58 PurpleRoomlist *yahoo_roomlist_get_list(PurpleConnection *gc); |
59 void yahoo_roomlist_cancel(GaimRoomlist *list); | 59 void yahoo_roomlist_cancel(PurpleRoomlist *list); |
60 void yahoo_roomlist_expand_category(GaimRoomlist *list, GaimRoomlistRoom *category); | 60 void yahoo_roomlist_expand_category(PurpleRoomlist *list, PurpleRoomlistRoom *category); |
61 | 61 |
62 /* util */ | 62 /* util */ |
63 void yahoo_chat_add_users(GaimConvChat *chat, GList *newusers); | 63 void yahoo_chat_add_users(PurpleConvChat *chat, GList *newusers); |
64 void yahoo_chat_add_user(GaimConvChat *chat, const char *user, const char *reason); | 64 void yahoo_chat_add_user(PurpleConvChat *chat, const char *user, const char *reason); |
65 | 65 |
66 #endif /* _YAHOO_CHAT_H_ */ | 66 #endif /* _YAHOO_CHAT_H_ */ |