comparison src/protocols/oscar/oscar.c @ 5388:5d0df915ca09

[gaim-migrate @ 5764] This patch is Sofar's (Auke Kok) napster update warmenhovinated by me. So... the Napster PRPL works with Opennap servers now. Thanks Auke. There are a few places that still need a bit of work. Namely joining and parting chats. I don't have time to look at it right now, but search for XXX and // and you'll see the stuff that is relevant to it, if anyone wants to fix the memleak or two. For any potential Gaim hackers out there, a few notes: -Put all declarations at the top of a block--we're not all using C99 -Please don't use // comments, use /* */ (// is for C) -Try to use dynamic buffers rather than static buffers in most places. I think most of us Gaim people perfer dynamic rather than static. I wish oscar.c was this short. Or this clean. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 15 May 2003 21:43:42 +0000
parents ce07077982c4
children f3cf3bff72f0
comparison
equal deleted inserted replaced
5387:1133ab0a26a2 5388:5d0df915ca09
6068 __init_plugin(GaimPlugin *plugin) 6068 __init_plugin(GaimPlugin *plugin)
6069 { 6069 {
6070 struct proto_user_opt *puo; 6070 struct proto_user_opt *puo;
6071 6071
6072 puo = g_new0(struct proto_user_opt, 1); 6072 puo = g_new0(struct proto_user_opt, 1);
6073 puo->label = g_strdup("Auth Host:"); 6073 puo->label = g_strdup(_("Auth Host:"));
6074 puo->def = g_strdup("login.oscar.aol.com"); 6074 puo->def = g_strdup("login.oscar.aol.com");
6075 puo->pos = USEROPT_AUTH; 6075 puo->pos = USEROPT_AUTH;
6076 prpl_info.user_opts = g_list_append(prpl_info.user_opts, puo); 6076 prpl_info.user_opts = g_list_append(prpl_info.user_opts, puo);
6077 6077
6078 puo = g_new0(struct proto_user_opt, 1); 6078 puo = g_new0(struct proto_user_opt, 1);
6079 puo->label = g_strdup("Auth Port:"); 6079 puo->label = g_strdup(_("Auth Port:"));
6080 puo->def = g_strdup("5190"); 6080 puo->def = g_strdup("5190");
6081 puo->pos = USEROPT_AUTHPORT; 6081 puo->pos = USEROPT_AUTHPORT;
6082 prpl_info.user_opts = g_list_append(prpl_info.user_opts, puo); 6082 prpl_info.user_opts = g_list_append(prpl_info.user_opts, puo);
6083 6083
6084 my_protocol = plugin; 6084 my_protocol = plugin;