Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar.h @ 29829:11cb7f2bb6e8
Add a PURPLE_STATUS_MOOD primitive and change ICQ to use it.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 17 Nov 2008 00:43:59 +0000 |
parents | 365b90fa23cf |
children | 1fb503adb2ae |
comparison
equal
deleted
inserted
replaced
29828:1034b0d09398 | 29829:11cb7f2bb6e8 |
---|---|
1026 guint32 createtime; /* time_t */ | 1026 guint32 createtime; /* time_t */ |
1027 guint32 membersince; /* time_t */ | 1027 guint32 membersince; /* time_t */ |
1028 guint32 onlinesince; /* time_t */ | 1028 guint32 onlinesince; /* time_t */ |
1029 guint32 sessionlen; /* in seconds */ | 1029 guint32 sessionlen; /* in seconds */ |
1030 guint32 capabilities; | 1030 guint32 capabilities; |
1031 gint32 customicon; | |
1032 struct { | 1031 struct { |
1033 guint32 status; | 1032 guint32 status; |
1034 guint32 ipaddr; | 1033 guint32 ipaddr; |
1035 guint8 crap[0x25]; /* until we figure it out... */ | 1034 guint8 crap[0x25]; /* until we figure it out... */ |
1036 } icqinfo; | 1035 } icqinfo; |
1104 void aim_locate_autofetch_away_message(OscarData *od, const char *sn); | 1103 void aim_locate_autofetch_away_message(OscarData *od, const char *sn); |
1105 guint32 aim_locate_getcaps(OscarData *od, ByteStream *bs, int len); | 1104 guint32 aim_locate_getcaps(OscarData *od, ByteStream *bs, int len); |
1106 guint32 aim_locate_getcaps_short(OscarData *od, ByteStream *bs, int len); | 1105 guint32 aim_locate_getcaps_short(OscarData *od, ByteStream *bs, int len); |
1107 void aim_info_free(aim_userinfo_t *); | 1106 void aim_info_free(aim_userinfo_t *); |
1108 int aim_info_extract(OscarData *od, ByteStream *bs, aim_userinfo_t *); | 1107 int aim_info_extract(OscarData *od, ByteStream *bs, aim_userinfo_t *); |
1108 #if 0 | |
1109 int aim_putuserinfo(ByteStream *bs, aim_userinfo_t *info); | 1109 int aim_putuserinfo(ByteStream *bs, aim_userinfo_t *info); |
1110 gint32 aim_get_custom_icon(OscarData *od, ByteStream *bs, int len); | 1110 #endif |
1111 guint32 aim_get_custom_icons_count(void); | 1111 #if 1 |
1112 char* aim_get_custom_icon_filename(gint32 no); | 1112 size_t aim_get_custom_icons_count(void); //rlaager |
1113 char* aim_get_custom_icon_descriptivename(gint32 no); | 1113 char* aim_get_custom_icon_mood(gint32 no);// rlaager |
1114 guint8* aim_get_custom_icon_data(gint32 no); | 1114 char* aim_get_custom_icon_descriptivename(gint32 no); // rlaager |
1115 #endif | |
1116 guint8* aim_get_custom_icon_data(const char *mood); | |
1115 int icq_im_xstatus_request(OscarData *od, const char *sn); | 1117 int icq_im_xstatus_request(OscarData *od, const char *sn); |
1116 | 1118 |
1117 /* 0x0003 - family_buddy.c */ | 1119 /* 0x0003 - family_buddy.c */ |
1118 /* 0x0002 */ void aim_buddylist_reqrights(OscarData *, FlapConnection *); | 1120 /* 0x0002 */ void aim_buddylist_reqrights(OscarData *, FlapConnection *); |
1119 /* 0x0004 */ int aim_buddylist_set(OscarData *, FlapConnection *, const char *); | 1121 /* 0x0004 */ int aim_buddylist_set(OscarData *, FlapConnection *, const char *); |
1440 int aim_tlvlist_add_noval(GSList **list, const guint16 type); | 1442 int aim_tlvlist_add_noval(GSList **list, const guint16 type); |
1441 int aim_tlvlist_add_8(GSList **list, const guint16 type, const guint8 value); | 1443 int aim_tlvlist_add_8(GSList **list, const guint16 type, const guint8 value); |
1442 int aim_tlvlist_add_16(GSList **list, const guint16 type, const guint16 value); | 1444 int aim_tlvlist_add_16(GSList **list, const guint16 type, const guint16 value); |
1443 int aim_tlvlist_add_32(GSList **list, const guint16 type, const guint32 value); | 1445 int aim_tlvlist_add_32(GSList **list, const guint16 type, const guint32 value); |
1444 int aim_tlvlist_add_str(GSList **list, const guint16 type, const char *value); | 1446 int aim_tlvlist_add_str(GSList **list, const guint16 type, const char *value); |
1445 int aim_tlvlist_add_caps(GSList **list, const guint16 type, const guint32 caps, gint32 customicon); | 1447 int aim_tlvlist_add_caps(GSList **list, const guint16 type, const guint32 caps, const char *mood); |
1446 int aim_tlvlist_add_userinfo(GSList **list, guint16 type, aim_userinfo_t *userinfo); | 1448 int aim_tlvlist_add_userinfo(GSList **list, guint16 type, aim_userinfo_t *userinfo); |
1447 int aim_tlvlist_add_chatroom(GSList **list, guint16 type, guint16 exchange, const char *roomname, guint16 instance); | 1449 int aim_tlvlist_add_chatroom(GSList **list, guint16 type, guint16 exchange, const char *roomname, guint16 instance); |
1448 int aim_tlvlist_add_frozentlvlist(GSList **list, guint16 type, GSList **tl); | 1450 int aim_tlvlist_add_frozentlvlist(GSList **list, guint16 type, GSList **tl); |
1449 | 1451 |
1450 int aim_tlvlist_replace_raw(GSList **list, const guint16 type, const guint16 lenth, const guint8 *value); | 1452 int aim_tlvlist_replace_raw(GSList **list, const guint16 type, const guint16 lenth, const guint8 *value); |