Mercurial > pidgin
comparison libgaim/protocols/oscar/oscarcommon.h @ 14968:ad564b48dab0
[gaim-migrate @ 17747]
AIM and ICQ are now different prpls, linked against a liboscarcommon which contains the protocol implementation
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 14 Nov 2006 04:04:04 +0000 |
parents | |
children | 17e367667cbf |
comparison
equal
deleted
inserted
replaced
14967:9bfc30adbda2 | 14968:ad564b48dab0 |
---|---|
1 /* gaim | |
2 * | |
3 * Gaim 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 | |
5 * source distribution. | |
6 * | |
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 | |
9 * the Free Software Foundation; either version 2 of the License, or | |
10 * (at your option) any later version. | |
11 * | |
12 * This program is distributed in the hope that it will be useful, | |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 * GNU General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU General Public License | |
18 * along with this program; if not, write to the Free Software | |
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
20 * | |
21 */ | |
22 | |
23 /* oscarcommon.h contains prototypes for the prpl functions used by libaim.c | |
24 * and libicq.c | |
25 */ | |
26 | |
27 #include "accountopt.h" | |
28 #include "internal.h" | |
29 #include "prpl.h" | |
30 #include "version.h" | |
31 | |
32 #define OSCAR_DEFAULT_LOGIN_SERVER "login.oscar.aol.com" | |
33 #define OSCAR_DEFAULT_LOGIN_PORT 5190 | |
34 #define OSCAR_DEFAULT_CUSTOM_ENCODING "ISO-8859-1" | |
35 #define OSCAR_DEFAULT_AUTHORIZATION TRUE | |
36 #define OSCAR_DEFAULT_HIDE_IP TRUE | |
37 #define OSCAR_DEFAULT_WEB_AWARE FALSE | |
38 #define OSCAR_DEFAULT_ALWAYS_USE_RV_PROXY FALSE | |
39 | |
40 const char *oscar_list_icon_icq(GaimAccount *a, GaimBuddy *b); | |
41 const char *oscar_list_icon_aim(GaimAccount *a, GaimBuddy *b); | |
42 void oscar_list_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne); | |
43 char *oscar_status_text(GaimBuddy *b); | |
44 void oscar_tooltip_text(GaimBuddy *b, GString *str, gboolean full); | |
45 GList *oscar_status_types(GaimAccount *account); | |
46 GList *oscar_blist_node_menu(GaimBlistNode *node); | |
47 GList *oscar_chat_info(GaimConnection *gc); | |
48 GHashTable *oscar_chat_info_defaults(GaimConnection *gc, const char *chat_name); | |
49 void oscar_login(GaimAccount *account); | |
50 void oscar_close(GaimConnection *gc); | |
51 int oscar_send_im(GaimConnection *gc, const char *name, const char *message, GaimMessageFlags imflags); | |
52 void oscar_set_info(GaimConnection *gc, const char *rawinfo); | |
53 unsigned int oscar_send_typing(GaimConnection *gc, const char *name, GaimTypingState state); | |
54 void oscar_get_info(GaimConnection *gc, const char *name); | |
55 void oscar_set_status(GaimAccount *account, GaimStatus *status); | |
56 void oscar_set_idle(GaimConnection *gc, int time); | |
57 void oscar_change_passwd(GaimConnection *gc, const char *old, const char *new); | |
58 void oscar_add_buddy(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group); | |
59 void oscar_remove_buddy(GaimConnection *gc, GaimBuddy *buddy, GaimGroup *group); | |
60 void oscar_add_permit(GaimConnection *gc, const char *who); | |
61 void oscar_add_deny(GaimConnection *gc, const char *who); | |
62 void oscar_rem_permit(GaimConnection *gc, const char *who); | |
63 void oscar_rem_deny(GaimConnection *gc, const char *who); | |
64 void oscar_set_permit_deny(GaimConnection *gc); | |
65 void oscar_join_chat(GaimConnection *gc, GHashTable *data); | |
66 char *oscar_get_chat_name(GHashTable *data); | |
67 void oscar_chat_invite(GaimConnection *gc, int id, const char *message, const char *name); | |
68 void oscar_chat_leave(GaimConnection *gc, int id); | |
69 int oscar_send_chat(GaimConnection *gc, int id, const char *message, GaimMessageFlags flags); | |
70 void oscar_keepalive(GaimConnection *gc); | |
71 void oscar_alias_buddy(GaimConnection *gc, const char *name, const char *alias); | |
72 void oscar_move_buddy(GaimConnection *gc, const char *name, const char *old_group, const char *new_group); | |
73 void oscar_rename_group(GaimConnection *gc, const char *old_name, GaimGroup *group, GList *moved_buddies); | |
74 void oscar_convo_closed(GaimConnection *gc, const char *who); | |
75 const char *oscar_normalize(const GaimAccount *account, const char *str); | |
76 void oscar_set_icon(GaimConnection *gc, const char *iconfile); | |
77 gboolean oscar_can_receive_file(GaimConnection *gc, const char *who); | |
78 void oscar_send_file(GaimConnection *gc, const char *who, const char *file); | |
79 GaimXfer *oscar_new_xfer(GaimConnection *gc, const char *who); | |
80 gboolean oscar_offline_message(const GaimBuddy *buddy); | |
81 GList *oscar_actions(GaimPlugin *plugin, gpointer context); |