comparison libpurple/protocols/oscar/oscar.h @ 21993:bb1190d6961c

Partial support for reading ICQ 6 status notes. The status note will show up next to the person's name in the buddy list, but only if they don't have another status message set. This is from Collin from ComBOTS GmbH. Fixes #3208.
author Mark Doliner <mark@kingant.net>
date Sat, 05 Jan 2008 07:33:13 +0000
parents d69d729ba19c
children 1c60783cfcd9
comparison
equal deleted inserted replaced
21991:cca516eb7610 21993:bb1190d6961c
1 /* 1 /*
2 * Purple's oscar protocol plugin 2 * Purple's oscar protocol plugin
3 * This file is the legal property of its developers. 3 * This file is the legal property of its developers.
4 * Please see the AUTHORS file distributed alongside this file. 4 * Please see the AUTHORS file distributed alongside this file.
5 *
6 * Some code copyright (C) 2007, ComBOTS Product GmbH (htfv) <foss@combots.com>
7 * 5 *
8 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 7 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
1327 guint16 numaddresses; 1325 guint16 numaddresses;
1328 char **email2; 1326 char **email2;
1329 1327
1330 /* we keep track of these in a linked list because we're 1337 */ 1328 /* we keep track of these in a linked list because we're 1337 */
1331 struct aim_icq_info *next; 1329 struct aim_icq_info *next;
1330
1331 /* status note info */
1332 guint8 icbm_cookie[8];
1333 char *status_note_title;
1332 }; 1334 };
1333 1335
1334 int aim_icq_reqofflinemsgs(OscarData *od); 1336 int aim_icq_reqofflinemsgs(OscarData *od);
1335 int aim_icq_ackofflinemsgs(OscarData *od); 1337 int aim_icq_ackofflinemsgs(OscarData *od);
1336 int aim_icq_setsecurity(OscarData *od, gboolean auth_required, gboolean webaware); 1338 int aim_icq_setsecurity(OscarData *od, gboolean auth_required, gboolean webaware);
1337 int aim_icq_changepasswd(OscarData *od, const char *passwd); 1339 int aim_icq_changepasswd(OscarData *od, const char *passwd);
1338 int aim_icq_getsimpleinfo(OscarData *od, const char *uin); 1340 int aim_icq_getsimpleinfo(OscarData *od, const char *uin);
1339 int aim_icq_getalias(OscarData *od, const char *uin); 1341 int aim_icq_getalias(OscarData *od, const char *uin);
1340 int aim_icq_getallinfo(OscarData *od, const char *uin); 1342 int aim_icq_getallinfo(OscarData *od, const char *uin);
1341 int aim_icq_sendsms(OscarData *od, const char *name, const char *msg, const char *alias); 1343 int aim_icq_sendsms(OscarData *od, const char *name, const char *msg, const char *alias);
1342 1344 int aim_icq_getstatusnote(OscarData *od, const char *uin, guint8 *note_hash, guint16 note_hash_len);
1343 1345
1344 1346
1345 /* 0x0017 - family_auth.c */ 1347 /* 0x0017 - family_auth.c */
1346 void aim_sendcookie(OscarData *, FlapConnection *, const guint16 length, const guint8 *); 1348 void aim_sendcookie(OscarData *, FlapConnection *, const guint16 length, const guint8 *);
1347 int aim_admin_changepasswd(OscarData *, FlapConnection *, const char *newpw, const char *curpw); 1349 int aim_admin_changepasswd(OscarData *, FlapConnection *, const char *newpw, const char *curpw);