annotate libgaim/protocols/oscar/libaim.c @ 15212:fcb3c61848e0

[gaim-migrate @ 18002] Two parameters being passed to strncpy() were backwards committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 15 Dec 2006 02:42:07 +0000
parents c8957b9c6202
children 4bf7801a2539
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14968
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 /* gaim
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2 *
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
3 * Gaim is the legal property of its developers, whose names are too numerous
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
5 * source distribution.
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
6 *
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10 * (at your option) any later version.
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
11 *
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
15 * GNU General Public License for more details.
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16 *
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
18 * along with this program; if not, write to the Free Software
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20 *
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
23 /* libaim is the AIM protocol plugin. It is linked against liboscarcommon,
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
24 * which contains all the shared implementation code with libicq
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
25 */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
26
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
27 #include "oscarcommon.h"
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
28
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
29 static GaimPluginProtocolInfo prpl_info =
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
30 {
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
31 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE,
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
32 NULL, /* user_splits */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
33 NULL, /* protocol_options */
15212
fcb3c61848e0 [gaim-migrate @ 18002]
Mark Doliner <mark@kingant.net>
parents: 15123
diff changeset
34 /* The mimimum icon size below is not needed in AIM 6.0 */
14968
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
35 {"gif,jpeg,bmp,ico", 48, 48, 50, 50,
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
36 GAIM_ICON_SCALE_SEND | GAIM_ICON_SCALE_DISPLAY}, /* icon_spec */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
37 oscar_list_icon_aim, /* list_icon */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
38 oscar_list_emblems, /* list_emblems */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
39 oscar_status_text, /* status_text */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
40 oscar_tooltip_text, /* tooltip_text */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
41 oscar_status_types, /* status_types */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
42 oscar_blist_node_menu, /* blist_node_menu */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
43 oscar_chat_info, /* chat_info */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
44 oscar_chat_info_defaults, /* chat_info_defaults */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45 oscar_login, /* login */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 oscar_close, /* close */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
47 oscar_send_im, /* send_im */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48 oscar_set_info, /* set_info */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49 oscar_send_typing, /* send_typing */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
50 oscar_get_info, /* get_info */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 oscar_set_status, /* set_status */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
52 oscar_set_idle, /* set_idle */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
53 oscar_change_passwd, /* change_passwd */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54 oscar_add_buddy, /* add_buddy */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 NULL, /* add_buddies */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
56 oscar_remove_buddy, /* remove_buddy */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
57 NULL, /* remove_buddies */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
58 oscar_add_permit, /* add_permit */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
59 oscar_add_deny, /* add_deny */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
60 oscar_rem_permit, /* rem_permit */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
61 oscar_rem_deny, /* rem_deny */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
62 oscar_set_permit_deny, /* set_permit_deny */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
63 oscar_join_chat, /* join_chat */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
64 NULL, /* reject_chat */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
65 oscar_get_chat_name, /* get_chat_name */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
66 oscar_chat_invite, /* chat_invite */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
67 oscar_chat_leave, /* chat_leave */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
68 NULL, /* chat_whisper */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
69 oscar_send_chat, /* chat_send */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
70 oscar_keepalive, /* keepalive */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
71 NULL, /* register_user */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
72 NULL, /* get_cb_info */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
73 NULL, /* get_cb_away */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
74 oscar_alias_buddy, /* alias_buddy */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
75 oscar_move_buddy, /* group_buddy */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
76 oscar_rename_group, /* rename_group */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
77 NULL, /* buddy_free */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78 oscar_convo_closed, /* convo_closed */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
79 oscar_normalize, /* normalize */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
80 oscar_set_icon, /* set_buddy_icon */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
81 NULL, /* remove_group */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
82 NULL, /* get_cb_real_name */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
83 NULL, /* set_chat_topic */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
84 NULL, /* find_blist_chat */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85 NULL, /* roomlist_get_list */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
86 NULL, /* roomlist_cancel */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
87 NULL, /* roomlist_expand_category */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
88 oscar_can_receive_file, /* can_receive_file */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
89 oscar_send_file, /* send_file */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
90 oscar_new_xfer, /* new_xfer */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
91 oscar_offline_message, /* offline_message */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
92 NULL, /* whiteboard_prpl_ops */
15123
c8957b9c6202 [gaim-migrate @ 17909]
Nathan Walp <nwalp@pidgin.im>
parents: 15063
diff changeset
93 NULL, /* send_raw */
c8957b9c6202 [gaim-migrate @ 17909]
Nathan Walp <nwalp@pidgin.im>
parents: 15063
diff changeset
94 NULL, /* roomlist_room_serialize */
14968
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
95 };
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
96
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
97 static GaimPluginInfo info =
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
98 {
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
99 GAIM_PLUGIN_MAGIC,
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
100 GAIM_MAJOR_VERSION,
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
101 GAIM_MINOR_VERSION,
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
102 GAIM_PLUGIN_PROTOCOL, /**< type */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
103 NULL, /**< ui_requirement */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
104 0, /**< flags */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
105 NULL, /**< dependencies */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
106 GAIM_PRIORITY_DEFAULT, /**< priority */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
107
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
108 "prpl-aim", /**< id */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
109 "AIM", /**< name */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
110 VERSION, /**< version */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
111 /** summary */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
112 N_("AIM Protocol Plugin"),
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
113 /** description */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
114 N_("AIM Protocol Plugin"),
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
115 NULL, /**< author */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
116 GAIM_WEBSITE, /**< homepage */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
117
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
118 NULL, /**< load */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
119 NULL, /**< unload */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
120 NULL, /**< destroy */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
121
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
122 NULL, /**< ui_info */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
123 &prpl_info, /**< extra_info */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
124 NULL,
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
125 oscar_actions
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
126 };
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
127
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
128 static void
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
129 init_plugin(GaimPlugin *plugin)
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
130 {
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
131 GaimAccountOption *option;
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
132
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
133 option = gaim_account_option_string_new(_("Server"), "server", OSCAR_DEFAULT_LOGIN_SERVER);
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
134 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
135
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
136 option = gaim_account_option_int_new(_("Port"), "port", OSCAR_DEFAULT_LOGIN_PORT);
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
137 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
138
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
139 option = gaim_account_option_bool_new(
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
140 _("Always use AIM/ICQ proxy server for file transfers\n(slower, but does not reveal your IP address)"), "always_use_rv_proxy",
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
141 OSCAR_DEFAULT_ALWAYS_USE_RV_PROXY);
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
142 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
143
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
144 /* Preferences */
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
145 gaim_prefs_add_none("/plugins/prpl/oscar");
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
146 gaim_prefs_add_bool("/plugins/prpl/oscar/recent_buddies", FALSE);
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
147 gaim_prefs_add_bool("/plugins/prpl/oscar/show_idle", FALSE);
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
148 gaim_prefs_remove("/plugins/prpl/oscar/always_use_rv_proxy");
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
149 }
ad564b48dab0 [gaim-migrate @ 17747]
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
150
15063
2add613bc250 [gaim-migrate @ 17847]
Evan Schoenberg <evan.s@dreskin.net>
parents: 14968
diff changeset
151 GAIM_INIT_PLUGIN(aim, init_plugin, info);