1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/yahoochat.h Fri Aug 21 13:25:11 2009 -0700
1.3 @@ -0,0 +1,66 @@
1.4 +/**
1.5 + * @file yahoochat.h The Yahoo! protocol plugin, chat and conference stuff
1.6 + *
1.7 + * purple
1.8 + *
1.9 + * Purple is the legal property of its developers, whose names are too numerous
1.10 + * to list here. Please refer to the COPYRIGHT file distributed with this
1.11 + * source distribution.
1.12 + *
1.13 + * This program is free software; you can redistribute it and/or modify
1.14 + * it under the terms of the GNU General Public License as published by
1.15 + * the Free Software Foundation; either version 2 of the License, or
1.16 + * (at your option) any later version.
1.17 + *
1.18 + * This program is distributed in the hope that it will be useful,
1.19 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.20 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.21 + * GNU General Public License for more details.
1.22 + *
1.23 + * You should have received a copy of the GNU General Public License
1.24 + * along with this program; if not, write to the Free Software
1.25 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
1.26 + */
1.27 +
1.28 +#ifndef _YAHOOCHAT_H_
1.29 +#define _YAHOOCHAT_H_
1.30 +
1.31 +#include "roomlist.h"
1.32 +#include "yahoo_packet.h"
1.33 +
1.34 +void yahoo_process_conference_invite(PurpleConnection *gc, struct yahoo_packet *pkt);
1.35 +void yahoo_process_conference_decline(PurpleConnection *gc, struct yahoo_packet *pkt);
1.36 +void yahoo_process_conference_logon(PurpleConnection *gc, struct yahoo_packet *pkt);
1.37 +void yahoo_process_conference_logoff(PurpleConnection *gc, struct yahoo_packet *pkt);
1.38 +void yahoo_process_conference_message(PurpleConnection *gc, struct yahoo_packet *pkt);
1.39 +
1.40 +void yahoo_process_chat_online(PurpleConnection *gc, struct yahoo_packet *pkt);
1.41 +void yahoo_process_chat_logout(PurpleConnection *gc, struct yahoo_packet *pkt);
1.42 +void yahoo_process_chat_join(PurpleConnection *gc, struct yahoo_packet *pkt);
1.43 +void yahoo_process_chat_exit(PurpleConnection *gc, struct yahoo_packet *pkt);
1.44 +void yahoo_process_chat_message(PurpleConnection *gc, struct yahoo_packet *pkt);
1.45 +void yahoo_process_chat_addinvite(PurpleConnection *gc, struct yahoo_packet *pkt);
1.46 +void yahoo_process_chat_goto(PurpleConnection *gc, struct yahoo_packet *pkt);
1.47 +
1.48 +void yahoo_c_leave(PurpleConnection *gc, int id);
1.49 +int yahoo_c_send(PurpleConnection *gc, int id, const char *what, PurpleMessageFlags flags);
1.50 +GList *yahoo_c_info(PurpleConnection *gc);
1.51 +GHashTable *yahoo_c_info_defaults(PurpleConnection *gc, const char *chat_name);
1.52 +void yahoo_c_join(PurpleConnection *gc, GHashTable *data);
1.53 +char *yahoo_get_chat_name(GHashTable *data);
1.54 +void yahoo_c_invite(PurpleConnection *gc, int id, const char *msg, const char *name);
1.55 +
1.56 +void yahoo_conf_leave(YahooData *yd, const char *room, const char *dn, GList *who);
1.57 +
1.58 +void yahoo_chat_goto(PurpleConnection *gc, const char *name);
1.59 +
1.60 +/* room listing functions */
1.61 +PurpleRoomlist *yahoo_roomlist_get_list(PurpleConnection *gc);
1.62 +void yahoo_roomlist_cancel(PurpleRoomlist *list);
1.63 +void yahoo_roomlist_expand_category(PurpleRoomlist *list, PurpleRoomlistRoom *category);
1.64 +
1.65 +/* util */
1.66 +void yahoo_chat_add_users(PurpleConvChat *chat, GList *newusers);
1.67 +void yahoo_chat_add_user(PurpleConvChat *chat, const char *user, const char *reason);
1.68 +
1.69 +#endif /* _YAHOO_CHAT_H_ */