Mercurial > pidgin
comparison libpurple/protocols/oscar/oscarcommon.h @ 15822:32c366eeeb99
sed -ie 's/gaim/purple/g'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 07:01:17 +0000 |
parents | 71af5b6209d5 |
children | 4fc51a87ce42 |
comparison
equal
deleted
inserted
replaced
15821:84b0f9b23ede | 15822:32c366eeeb99 |
---|---|
1 /* gaim | 1 /* purple |
2 * | 2 * |
3 * Gaim is the legal property of its developers, whose names are too numerous | 3 * Purple is the legal property of its developers, whose names are too numerous |
4 * to list here. Please refer to the COPYRIGHT file distributed with this | 4 * to list here. Please refer to the COPYRIGHT file distributed with this |
5 * source distribution. | 5 * source distribution. |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License as published by | 8 * it under the terms of the GNU General Public License as published by |
43 #define OSCAR_DEFAULT_ALWAYS_USE_RV_PROXY FALSE | 43 #define OSCAR_DEFAULT_ALWAYS_USE_RV_PROXY FALSE |
44 | 44 |
45 #ifdef _WIN32 | 45 #ifdef _WIN32 |
46 const char *oscar_get_locale_charset(void); | 46 const char *oscar_get_locale_charset(void); |
47 #endif | 47 #endif |
48 const char *oscar_list_icon_icq(GaimAccount *a, GaimBuddy *b); | 48 const char *oscar_list_icon_icq(PurpleAccount *a, PurpleBuddy *b); |
49 const char *oscar_list_icon_aim(GaimAccount *a, GaimBuddy *b); | 49 const char *oscar_list_icon_aim(PurpleAccount *a, PurpleBuddy *b); |
50 const char* oscar_list_emblem(GaimBuddy *b); | 50 const char* oscar_list_emblem(PurpleBuddy *b); |
51 char *oscar_status_text(GaimBuddy *b); | 51 char *oscar_status_text(PurpleBuddy *b); |
52 void oscar_tooltip_text(GaimBuddy *b, GaimNotifyUserInfo *user_info, gboolean full); | 52 void oscar_tooltip_text(PurpleBuddy *b, PurpleNotifyUserInfo *user_info, gboolean full); |
53 GList *oscar_status_types(GaimAccount *account); | 53 GList *oscar_status_types(PurpleAccount *account); |
54 GList *oscar_blist_node_menu(GaimBlistNode *node); | 54 GList *oscar_blist_node_menu(PurpleBlistNode *node); |
55 GList *oscar_chat_info(GaimConnection *gc); | 55 GList *oscar_chat_info(PurpleConnection *gc); |
56 GHashTable *oscar_chat_info_defaults(GaimConnection *gc, const char *chat_name); | 56 GHashTable *oscar_chat_info_defaults(PurpleConnection *gc, const char *chat_name); |
57 void oscar_login(GaimAccount *account); | 57 void oscar_login(PurpleAccount *account); |
58 void oscar_close(GaimConnection *gc); | 58 void oscar_close(PurpleConnection *gc); |
59 int oscar_send_im(GaimConnection *gc, const char *name, const char *message, GaimMessageFlags imflags); | 59 int oscar_send_im(PurpleConnection *gc, const char *name, const char *message, PurpleMessageFlags imflags); |
60 void oscar_set_info(GaimConnection *gc, const char *rawinfo); | 60 void oscar_set_info(PurpleConnection *gc, const char *rawinfo); |
61 unsigned int oscar_send_typing(GaimConnection *gc, const char *name, GaimTypingState state); | 61 unsigned int oscar_send_typing(PurpleConnection *gc, const char *name, PurpleTypingState state); |
62 void oscar_get_info(GaimConnection *gc, const char *name); | 62 void oscar_get_info(PurpleConnection *gc, const char *name); |
63 void oscar_set_status(GaimAccount *account, GaimStatus *status); | 63 void oscar_set_status(PurpleAccount *account, PurpleStatus *status); |
64 void oscar_set_idle(GaimConnection *gc, int time); | 64 void oscar_set_idle(PurpleConnection *gc, int time); |
65 void oscar_change_passwd(GaimConnection *gc, const char *old, const char *new); | 65 void oscar_change_passwd(PurpleConnection *gc, const char *old, const char *new); |
66 void oscar_add_buddy(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group); | 66 void oscar_add_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group); |
67 void oscar_remove_buddy(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group); | 67 void oscar_remove_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group); |
68 void oscar_add_permit(GaimConnection *gc, const char *who); | 68 void oscar_add_permit(PurpleConnection *gc, const char *who); |
69 void oscar_add_deny(GaimConnection *gc, const char *who); | 69 void oscar_add_deny(PurpleConnection *gc, const char *who); |
70 void oscar_rem_permit(GaimConnection *gc, const char *who); | 70 void oscar_rem_permit(PurpleConnection *gc, const char *who); |
71 void oscar_rem_deny(GaimConnection *gc, const char *who); | 71 void oscar_rem_deny(PurpleConnection *gc, const char *who); |
72 void oscar_set_permit_deny(GaimConnection *gc); | 72 void oscar_set_permit_deny(PurpleConnection *gc); |
73 void oscar_join_chat(GaimConnection *gc, GHashTable *data); | 73 void oscar_join_chat(PurpleConnection *gc, GHashTable *data); |
74 char *oscar_get_chat_name(GHashTable *data); | 74 char *oscar_get_chat_name(GHashTable *data); |
75 void oscar_chat_invite(GaimConnection *gc, int id, const char *message, const char *name); | 75 void oscar_chat_invite(PurpleConnection *gc, int id, const char *message, const char *name); |
76 void oscar_chat_leave(GaimConnection *gc, int id); | 76 void oscar_chat_leave(PurpleConnection *gc, int id); |
77 int oscar_send_chat(GaimConnection *gc, int id, const char *message, GaimMessageFlags flags); | 77 int oscar_send_chat(PurpleConnection *gc, int id, const char *message, PurpleMessageFlags flags); |
78 void oscar_keepalive(GaimConnection *gc); | 78 void oscar_keepalive(PurpleConnection *gc); |
79 void oscar_alias_buddy(GaimConnection *gc, const char *name, const char *alias); | 79 void oscar_alias_buddy(PurpleConnection *gc, const char *name, const char *alias); |
80 void oscar_move_buddy(GaimConnection *gc, const char *name, const char *old_group, const char *new_group); | 80 void oscar_move_buddy(PurpleConnection *gc, const char *name, const char *old_group, const char *new_group); |
81 void oscar_rename_group(GaimConnection *gc, const char *old_name, GaimGroup *group, GList *moved_buddies); | 81 void oscar_rename_group(PurpleConnection *gc, const char *old_name, PurpleGroup *group, GList *moved_buddies); |
82 void oscar_convo_closed(GaimConnection *gc, const char *who); | 82 void oscar_convo_closed(PurpleConnection *gc, const char *who); |
83 const char *oscar_normalize(const GaimAccount *account, const char *str); | 83 const char *oscar_normalize(const PurpleAccount *account, const char *str); |
84 void oscar_set_icon(GaimConnection *gc, const char *iconfile); | 84 void oscar_set_icon(PurpleConnection *gc, const char *iconfile); |
85 gboolean oscar_can_receive_file(GaimConnection *gc, const char *who); | 85 gboolean oscar_can_receive_file(PurpleConnection *gc, const char *who); |
86 void oscar_send_file(GaimConnection *gc, const char *who, const char *file); | 86 void oscar_send_file(PurpleConnection *gc, const char *who, const char *file); |
87 GaimXfer *oscar_new_xfer(GaimConnection *gc, const char *who); | 87 PurpleXfer *oscar_new_xfer(PurpleConnection *gc, const char *who); |
88 gboolean oscar_offline_message(const GaimBuddy *buddy); | 88 gboolean oscar_offline_message(const PurpleBuddy *buddy); |
89 GList *oscar_actions(GaimPlugin *plugin, gpointer context); | 89 GList *oscar_actions(PurplePlugin *plugin, gpointer context); |
90 void oscar_init(GaimPluginProtocolInfo *prpl_info); | 90 void oscar_init(PurplePluginProtocolInfo *prpl_info); |