Wed, 16 Jan 2008 06:29:52 +0000
Get rid of an unnecessary allocation.
| 6729 | 1 | /** |
| 2 | * @file yahoochat.h The Yahoo! protocol plugin, chat and conference stuff | |
| 3 | * | |
| 15884 | 4 | * purple |
| 6729 | 5 | * |
| 15884 | 6 | * Purple is the legal property of its developers, whose names are too numerous |
| 8046 | 7 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 8 | * source distribution. | |
| 6729 | 9 | * |
| 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 | |
| 12 | * the Free Software Foundation; either version 2 of the License, or | |
| 13 | * (at your option) any later version. | |
| 14 | * | |
| 15 | * This program is distributed in the hope that it will be useful, | |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 18 | * GNU General Public License for more details. | |
| 19 | * | |
| 20 | * You should have received a copy of the GNU General Public License | |
| 21 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
15884
diff
changeset
|
22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 6729 | 23 | */ |
| 24 | ||
| 25 | #ifndef _YAHOOCHAT_H_ | |
| 26 | #define _YAHOOCHAT_H_ | |
| 27 | ||
| 8113 | 28 | #include "roomlist.h" |
|
12402
8881356b600c
[gaim-migrate @ 14709]
Richard Laager <rlaager@pidgin.im>
parents:
12216
diff
changeset
|
29 | #include "yahoo_packet.h" |
| 8113 | 30 | |
| 15884 | 31 | void yahoo_process_conference_invite(PurpleConnection *gc, struct yahoo_packet *pkt); |
| 32 | void yahoo_process_conference_decline(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 33 | void yahoo_process_conference_logon(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 34 | void yahoo_process_conference_logoff(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 35 | void yahoo_process_conference_message(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 6729 | 36 | |
| 15884 | 37 | void yahoo_process_chat_online(PurpleConnection *gc, struct yahoo_packet *pkt); |
| 38 | void yahoo_process_chat_logout(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 39 | void yahoo_process_chat_join(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 40 | void yahoo_process_chat_exit(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 41 | void yahoo_process_chat_message(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 42 | void yahoo_process_chat_addinvite(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 43 | void yahoo_process_chat_goto(PurpleConnection *gc, struct yahoo_packet *pkt); | |
| 6729 | 44 | |
| 15884 | 45 | void yahoo_c_leave(PurpleConnection *gc, int id); |
| 46 | int yahoo_c_send(PurpleConnection *gc, int id, const char *what, PurpleMessageFlags flags); | |
| 47 | GList *yahoo_c_info(PurpleConnection *gc); | |
| 48 | GHashTable *yahoo_c_info_defaults(PurpleConnection *gc, const char *chat_name); | |
| 49 | void yahoo_c_join(PurpleConnection *gc, GHashTable *data); | |
|
9917
2fbb3c9fab2b
[gaim-migrate @ 10809]
Daniel Atallah <datallah@pidgin.im>
parents:
9782
diff
changeset
|
50 | char *yahoo_get_chat_name(GHashTable *data); |
| 15884 | 51 | void yahoo_c_invite(PurpleConnection *gc, int id, const char *msg, const char *name); |
| 6729 | 52 | |
| 9782 | 53 | void yahoo_conf_leave(struct yahoo_data *yd, const char *room, const char *dn, GList *who); |
| 54 | ||
| 15884 | 55 | void yahoo_chat_goto(PurpleConnection *gc, const char *name); |
| 6729 | 56 | |
| 8113 | 57 | /* room listing functions */ |
| 15884 | 58 | PurpleRoomlist *yahoo_roomlist_get_list(PurpleConnection *gc); |
| 59 | void yahoo_roomlist_cancel(PurpleRoomlist *list); | |
| 60 | void yahoo_roomlist_expand_category(PurpleRoomlist *list, PurpleRoomlistRoom *category); | |
| 8113 | 61 | |
| 9376 | 62 | /* util */ |
| 15884 | 63 | void yahoo_chat_add_users(PurpleConvChat *chat, GList *newusers); |
| 64 | void yahoo_chat_add_user(PurpleConvChat *chat, const char *user, const char *reason); | |
| 9376 | 65 | |
| 6729 | 66 | #endif /* _YAHOO_CHAT_H_ */ |