Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar.h @ 30800:05c634403678
Start using the real ICQ block list (SSI type 0xe) for allowing/blocking
users. The deny list (SSI type 0x3) that is used in AIM is actually a
"permanently invisible" list for ICQ.
Also, the "vismask" parameter in aim_ssi_setpermdeny() was removed,
since it wasn't being used anyway.
author | ivan.komarov@soc.pidgin.im |
---|---|
date | Fri, 18 Jun 2010 13:55:54 +0000 |
parents | 879baaf87aa2 |
children | 3ada0cc7d2c5 |
comparison
equal
deleted
inserted
replaced
30799:457b9739aca9 | 30800:05c634403678 |
---|---|
1270 #define AIM_SSI_TYPE_GROUP 0x0001 | 1270 #define AIM_SSI_TYPE_GROUP 0x0001 |
1271 #define AIM_SSI_TYPE_PERMIT 0x0002 | 1271 #define AIM_SSI_TYPE_PERMIT 0x0002 |
1272 #define AIM_SSI_TYPE_DENY 0x0003 | 1272 #define AIM_SSI_TYPE_DENY 0x0003 |
1273 #define AIM_SSI_TYPE_PDINFO 0x0004 | 1273 #define AIM_SSI_TYPE_PDINFO 0x0004 |
1274 #define AIM_SSI_TYPE_PRESENCEPREFS 0x0005 | 1274 #define AIM_SSI_TYPE_PRESENCEPREFS 0x0005 |
1275 #define AIM_SSI_TYPE_ICQDENY 0x000e | |
1275 #define AIM_SSI_TYPE_ICONINFO 0x0014 | 1276 #define AIM_SSI_TYPE_ICONINFO 0x0014 |
1276 | 1277 |
1277 #define AIM_SSI_ACK_SUCCESS 0x0000 | 1278 #define AIM_SSI_ACK_SUCCESS 0x0000 |
1278 #define AIM_SSI_ACK_ITEMNOTFOUND 0x0002 | 1279 #define AIM_SSI_ACK_ITEMNOTFOUND 0x0002 |
1279 #define AIM_SSI_ACK_IDNUMINUSE 0x000a | 1280 #define AIM_SSI_ACK_IDNUMINUSE 0x000a |
1338 int aim_ssi_aliasbuddy(OscarData *od, const char *gn, const char *bn, const char *alias); | 1339 int aim_ssi_aliasbuddy(OscarData *od, const char *gn, const char *bn, const char *alias); |
1339 int aim_ssi_editcomment(OscarData *od, const char *gn, const char *bn, const char *alias); | 1340 int aim_ssi_editcomment(OscarData *od, const char *gn, const char *bn, const char *alias); |
1340 int aim_ssi_rename_group(OscarData *od, const char *oldgn, const char *newgn); | 1341 int aim_ssi_rename_group(OscarData *od, const char *oldgn, const char *newgn); |
1341 int aim_ssi_cleanlist(OscarData *od); | 1342 int aim_ssi_cleanlist(OscarData *od); |
1342 int aim_ssi_deletelist(OscarData *od); | 1343 int aim_ssi_deletelist(OscarData *od); |
1343 int aim_ssi_setpermdeny(OscarData *od, guint8 permdeny, guint32 vismask); | 1344 int aim_ssi_setpermdeny(OscarData *od, guint8 permdeny); |
1344 int aim_ssi_setpresence(OscarData *od, guint32 presence); | 1345 int aim_ssi_setpresence(OscarData *od, guint32 presence); |
1345 int aim_ssi_seticon(OscarData *od, const guint8 *iconsum, guint8 iconsumlen); | 1346 int aim_ssi_seticon(OscarData *od, const guint8 *iconsum, guint8 iconsumlen); |
1346 int aim_ssi_delicon(OscarData *od); | 1347 int aim_ssi_delicon(OscarData *od); |
1347 | 1348 |
1348 | 1349 guint16 aim_ssi_getdenyentrytype(OscarData* od); |
1349 | 1350 |
1350 /* 0x0015 - family_icq.c */ | 1351 /* 0x0015 - family_icq.c */ |
1351 #define AIM_ICQ_INFO_SIMPLE 0x001 | 1352 #define AIM_ICQ_INFO_SIMPLE 0x001 |
1352 #define AIM_ICQ_INFO_SUMMARY 0x002 | 1353 #define AIM_ICQ_INFO_SUMMARY 0x002 |
1353 #define AIM_ICQ_INFO_EMAIL 0x004 | 1354 #define AIM_ICQ_INFO_EMAIL 0x004 |