Mercurial > pidgin
comparison src/protocols/oscar/aim.h @ 2869:9b029055cfba
[gaim-migrate @ 2882]
libfaim update (fix MacAIM chat invite crash)
committer: Tailor Script <tailor@pidgin.im>
author | Adam Fritzler <mid@auk.cx> |
---|---|
date | Mon, 10 Dec 2001 06:13:18 +0000 |
parents | 6d62d4520460 |
children | 93e2c99ccf50 |
comparison
equal
deleted
inserted
replaced
2868:93f35e8ddeab | 2869:9b029055cfba |
---|---|
774 /* Only used if AIM_IMFLAGS_CUSTOMCHARSET is set */ | 774 /* Only used if AIM_IMFLAGS_CUSTOMCHARSET is set */ |
775 fu16_t charset; | 775 fu16_t charset; |
776 fu16_t charsubset; | 776 fu16_t charsubset; |
777 }; | 777 }; |
778 | 778 |
779 /* Valid values for channel 2 args->status */ | |
780 #define AIM_RENDEZVOUS_PROPOSE 0x0000 | |
781 #define AIM_RENDEZVOUS_CANCEL 0x0001 | |
782 #define AIM_RENDEZVOUS_ACCEPT 0x0002 | |
783 | |
779 struct aim_incomingim_ch2_args { | 784 struct aim_incomingim_ch2_args { |
780 fu8_t cookie[8]; | 785 fu8_t cookie[8]; |
781 fu16_t reqclass; | 786 fu16_t reqclass; |
782 fu16_t status; | 787 fu16_t status; |
788 fu16_t errorcode; | |
789 const char *clientip; | |
790 const char *clientip2; | |
791 const char *verifiedip; | |
792 fu16_t port; | |
793 const char *msg; /* invite message or file description */ | |
794 const char *encoding; | |
795 const char *language; | |
783 union { | 796 union { |
784 struct { | 797 struct { |
785 fu32_t checksum; | 798 fu32_t checksum; |
786 fu32_t length; | 799 fu32_t length; |
787 time_t timestamp; | 800 time_t timestamp; |
788 fu8_t *icon; | 801 fu8_t *icon; |
789 } icon; | 802 } icon; |
790 struct { | 803 struct { |
791 fu32_t implementme; | 804 struct aim_chat_roominfo roominfo; |
792 } voice; | |
793 struct { | |
794 fu8_t ip[22]; /* xxx.xxx.xxx.xxx:xxxxx\0 */ | |
795 } imimage; | |
796 struct { | |
797 char *msg; | |
798 char *encoding; | |
799 char *lang; | |
800 struct aim_chat_roominfo roominfo; | |
801 } chat; | 805 } chat; |
802 struct { | |
803 char *ip; | |
804 unsigned char *cookie; | |
805 } getfile; | |
806 struct { | |
807 fu32_t implementme; | |
808 } sendfile; | |
809 struct { | 806 struct { |
810 fu32_t fgcolor; | 807 fu32_t fgcolor; |
811 fu32_t bgcolor; | 808 fu32_t bgcolor; |
812 const char *rtfmsg; | 809 const char *rtfmsg; |
813 } rtfmsg; | 810 } rtfmsg; |
814 } info; | 811 } info; |
812 void *destructor; /* used internally only */ | |
815 }; | 813 }; |
816 | 814 |
817 faim_export int aim_send_rtfmsg(aim_session_t *sess, struct aim_sendrtfmsg_args *args); | 815 faim_export int aim_send_rtfmsg(aim_session_t *sess, struct aim_sendrtfmsg_args *args); |
818 faim_export int aim_send_im_ext(aim_session_t *sess, struct aim_sendimext_args *args); | 816 faim_export int aim_send_im_ext(aim_session_t *sess, struct aim_sendimext_args *args); |
819 faim_export int aim_send_im(aim_session_t *, const char *destsn, unsigned short flags, const char *msg); | 817 faim_export int aim_send_im(aim_session_t *, const char *destsn, unsigned short flags, const char *msg); |