comparison src/protocols/oscar/oscar.c @ 4827:a4d3243499bb

[gaim-migrate @ 5152] faceprint is the Gaim code-reviewer and hacker guy extraordinairieiai. I mean, what am I, wind? In other news, Get Capabilities seems to be working again. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 18 Mar 2003 23:07:53 +0000
parents e6654fab588b
children 71232144e2ff
comparison
equal deleted inserted replaced
4826:e6654fab588b 4827:a4d3243499bb
4222 debug_printf("Error: Could not find %s in local contact list, therefore unable to request status message.\n", who); 4222 debug_printf("Error: Could not find %s in local contact list, therefore unable to request status message.\n", who);
4223 } else 4223 } else
4224 aim_getinfo(od->sess, od->conn, who, AIM_GETINFO_GENERALINFO); 4224 aim_getinfo(od->sess, od->conn, who, AIM_GETINFO_GENERALINFO);
4225 } 4225 }
4226 4226
4227 #if 0
4228 static void oscar_get_caps(struct gaim_connection *g, char *name) { 4227 static void oscar_get_caps(struct gaim_connection *g, char *name) {
4229 struct oscar_data *od = (struct oscar_data *)g->proto_data; 4228 struct oscar_data *od = (struct oscar_data *)g->proto_data;
4230 aim_getinfo(od->sess, od->conn, name, AIM_GETINFO_CAPABILITIES); 4229 aim_getinfo(od->sess, od->conn, name, AIM_GETINFO_CAPABILITIES);
4231 } 4230 }
4232 #endif
4233 4231
4234 static void oscar_set_dir(struct gaim_connection *g, const char *first, const char *middle, const char *last, 4232 static void oscar_set_dir(struct gaim_connection *g, const char *first, const char *middle, const char *last,
4235 const char *maiden, const char *city, const char *state, const char *country, int web) { 4233 const char *maiden, const char *city, const char *state, const char *country, int web) {
4236 /* XXX - some of these things are wrong, but i'm lazy */ 4234 /* XXX - some of these things are wrong, but i'm lazy */
4237 struct oscar_data *od = (struct oscar_data *)g->proto_data; 4235 struct oscar_data *od = (struct oscar_data *)g->proto_data;
5513 m = g_list_append(m, pbm); 5511 m = g_list_append(m, pbm);
5514 #endif 5512 #endif
5515 } 5513 }
5516 } 5514 }
5517 5515
5518 #if 0
5519 pbm = g_new0(struct proto_buddy_menu, 1); 5516 pbm = g_new0(struct proto_buddy_menu, 1);
5520 pbm->label = _("Get Capabilities"); 5517 pbm->label = _("Get Capabilities");
5521 pbm->callback = oscar_get_caps; 5518 pbm->callback = oscar_get_caps;
5522 pbm->gc = gc; 5519 pbm->gc = gc;
5523 m = g_list_append(m, pbm); 5520 m = g_list_append(m, pbm);
5524 #endif
5525 5521
5526 return m; 5522 return m;
5527 } 5523 }
5528 5524
5529 static GList *oscar_edit_buddy_menu(struct gaim_connection *gc, char *who) 5525 static GList *oscar_edit_buddy_menu(struct gaim_connection *gc, char *who)