comparison src/protocols/oscar/aim.h @ 11000:218cccfb8e48

[gaim-migrate @ 12849] Get rid of some more warnings. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 10 Jun 2005 04:08:21 +0000
parents 9a397c858639
children 1d58cc6c4552
comparison
equal deleted inserted replaced
10999:56cfc50d2a81 11000:218cccfb8e48
787 /* Always provided */ 787 /* Always provided */
788 aim_mpmsg_t mpmsg; 788 aim_mpmsg_t mpmsg;
789 fu32_t icbmflags; /* some flags apply only to ->msg, not all mpmsg */ 789 fu32_t icbmflags; /* some flags apply only to ->msg, not all mpmsg */
790 790
791 /* Only provided if message has a human-readable section */ 791 /* Only provided if message has a human-readable section */
792 char *msg; 792 fu8_t *msg;
793 int msglen; 793 int msglen;
794 794
795 /* Only provided if AIM_IMFLAGS_HASICON is set */ 795 /* Only provided if AIM_IMFLAGS_HASICON is set */
796 time_t iconstamp; 796 time_t iconstamp;
797 fu32_t iconlen; 797 fu32_t iconlen;
861 861
862 struct aim_incomingim_ch4_args { 862 struct aim_incomingim_ch4_args {
863 fu32_t uin; /* Of the sender of the ICBM */ 863 fu32_t uin; /* Of the sender of the ICBM */
864 fu8_t type; 864 fu8_t type;
865 fu8_t flags; 865 fu8_t flags;
866 char *msg; /* Reason for auth request, deny, or accept */ 866 fu8_t *msg; /* Reason for auth request, deny, or accept */
867 int msglen; 867 int msglen;
868 }; 868 };
869 869
870 /* SNAC sending functions */ 870 /* SNAC sending functions */
871 /* 0x0002 */ faim_export int aim_im_setparams(aim_session_t *sess, struct aim_icbmparameters *params); 871 /* 0x0002 */ faim_export int aim_im_setparams(aim_session_t *sess, struct aim_icbmparameters *params);
878 /* 0x0006 */ faim_export int aim_im_sendch2_odcrequest(aim_session_t *sess, fu8_t *cookie, fu8_t usecookie, const char *sn, const fu8_t *ip, fu16_t port); 878 /* 0x0006 */ faim_export int aim_im_sendch2_odcrequest(aim_session_t *sess, fu8_t *cookie, fu8_t usecookie, const char *sn, const fu8_t *ip, fu16_t port);
879 /* 0x0006 */ faim_export int aim_im_sendch2_sendfile_ask(aim_session_t *sess, struct aim_oft_info *oft_info); 879 /* 0x0006 */ faim_export int aim_im_sendch2_sendfile_ask(aim_session_t *sess, struct aim_oft_info *oft_info);
880 /* 0x0006 */ faim_export int aim_im_sendch2_sendfile_accept(aim_session_t *sess, struct aim_oft_info *info); 880 /* 0x0006 */ faim_export int aim_im_sendch2_sendfile_accept(aim_session_t *sess, struct aim_oft_info *info);
881 /* 0x0006 */ faim_export int aim_im_sendch2_sendfile_cancel(aim_session_t *sess, struct aim_oft_info *oft_info); 881 /* 0x0006 */ faim_export int aim_im_sendch2_sendfile_cancel(aim_session_t *sess, struct aim_oft_info *oft_info);
882 /* 0x0006 */ faim_export int aim_im_sendch2_geticqaway(aim_session_t *sess, const char *sn, int type); 882 /* 0x0006 */ faim_export int aim_im_sendch2_geticqaway(aim_session_t *sess, const char *sn, int type);
883 /* 0x0006 */ faim_export int aim_im_sendch4(aim_session_t *sess, char *sn, fu16_t type, fu8_t *message); 883 /* 0x0006 */ faim_export int aim_im_sendch4(aim_session_t *sess, const char *sn, fu16_t type, const char *message);
884 /* 0x0008 */ faim_export int aim_im_warn(aim_session_t *sess, aim_conn_t *conn, const char *destsn, fu32_t flags); 884 /* 0x0008 */ faim_export int aim_im_warn(aim_session_t *sess, aim_conn_t *conn, const char *destsn, fu32_t flags);
885 /* 0x000b */ faim_export int aim_im_denytransfer(aim_session_t *sess, const char *sender, const char *cookie, fu16_t code); 885 /* 0x000b */ faim_export int aim_im_denytransfer(aim_session_t *sess, const char *sender, const fu8_t *cookie, fu16_t code);
886 /* 0x0014 */ faim_export int aim_im_sendmtn(aim_session_t *sess, fu16_t type1, const char *sn, fu16_t type2); 886 /* 0x0014 */ faim_export int aim_im_sendmtn(aim_session_t *sess, fu16_t type1, const char *sn, fu16_t type2);
887 887
888 888
889 889
890 /* ft.c */ 890 /* ft.c */
922 char name[64]; /* 192 */ 922 char name[64]; /* 192 */
923 /* 256 */ 923 /* 256 */
924 }; 924 };
925 925
926 struct aim_oft_info { 926 struct aim_oft_info {
927 char cookie[8]; 927 fu8_t cookie[8];
928 char *sn; 928 char *sn;
929 char *proxyip; 929 char *proxyip;
930 char *clientip; 930 char *clientip;
931 char *verifiedip; 931 char *verifiedip;
932 fu16_t port; 932 fu16_t port;