Mercurial > pidgin.yaz
comparison src/protocols/oscar/aim.h @ 9933:cee849d17167
[gaim-migrate @ 10825]
Another patch from Dave West. This makes the file transfer message
show up when someone sends you an AIM file transfer. It also attempts
to decode the message to UTF-8. The chat invitation messages also
benefit from this attempted conversion.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 02 Sep 2004 03:46:53 +0000 |
parents | 6f2a90c36ee2 |
children | c66345b33b88 |
comparison
equal
deleted
inserted
replaced
9932:3fa121db91d0 | 9933:cee849d17167 |
---|---|
816 const char *clientip; | 816 const char *clientip; |
817 const char *verifiedip; | 817 const char *verifiedip; |
818 fu16_t port; | 818 fu16_t port; |
819 fu16_t errorcode; | 819 fu16_t errorcode; |
820 const char *msg; /* invite message or file description */ | 820 const char *msg; /* invite message or file description */ |
821 fu16_t msglen; | |
821 const char *encoding; | 822 const char *encoding; |
822 const char *language; | 823 const char *language; |
823 union { | 824 union { |
824 struct { | 825 struct { |
825 fu32_t checksum; | 826 fu32_t checksum; |
1378 struct aim_tlvlist_s *next; | 1379 struct aim_tlvlist_s *next; |
1379 } aim_tlvlist_t; | 1380 } aim_tlvlist_t; |
1380 | 1381 |
1381 /* TLV handling functions */ | 1382 /* TLV handling functions */ |
1382 faim_internal aim_tlv_t *aim_tlv_gettlv(aim_tlvlist_t *list, fu16_t type, const int nth); | 1383 faim_internal aim_tlv_t *aim_tlv_gettlv(aim_tlvlist_t *list, fu16_t type, const int nth); |
1384 faim_internal int aim_tlv_getlength(aim_tlvlist_t *list, fu16_t type, const int nth); | |
1383 faim_internal char *aim_tlv_getstr(aim_tlvlist_t *list, const fu16_t type, const int nth); | 1385 faim_internal char *aim_tlv_getstr(aim_tlvlist_t *list, const fu16_t type, const int nth); |
1384 faim_internal fu8_t aim_tlv_get8(aim_tlvlist_t *list, const fu16_t type, const int nth); | 1386 faim_internal fu8_t aim_tlv_get8(aim_tlvlist_t *list, const fu16_t type, const int nth); |
1385 faim_internal fu16_t aim_tlv_get16(aim_tlvlist_t *list, const fu16_t type, const int nth); | 1387 faim_internal fu16_t aim_tlv_get16(aim_tlvlist_t *list, const fu16_t type, const int nth); |
1386 faim_internal fu32_t aim_tlv_get32(aim_tlvlist_t *list, const fu16_t type, const int nth); | 1388 faim_internal fu32_t aim_tlv_get32(aim_tlvlist_t *list, const fu16_t type, const int nth); |
1387 | 1389 |