Mercurial > pidgin
comparison src/protocols/oscar/locate.c @ 10998:9a397c858639
[gaim-migrate @ 12840]
*** empty log message ***
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Jun 2005 05:17:11 +0000 |
parents | 1798ad0be460 |
children | 1d58cc6c4552 |
comparison
equal
deleted
inserted
replaced
10997:137ce6382675 | 10998:9a397c858639 |
---|---|
973 * message, set awaymsg non-NULL and awaymsg_len to 0 (this is the | 973 * message, set awaymsg non-NULL and awaymsg_len to 0 (this is the |
974 * obvious equivalent). | 974 * obvious equivalent). |
975 * | 975 * |
976 */ | 976 */ |
977 faim_export int aim_locate_setprofile(aim_session_t *sess, | 977 faim_export int aim_locate_setprofile(aim_session_t *sess, |
978 const char *profile_encoding, const char *profile, const int profile_len, | 978 const char *profile_encoding, const fu8_t *profile, const int profile_len, |
979 const char *awaymsg_encoding, const char *awaymsg, const int awaymsg_len) | 979 const char *awaymsg_encoding, const fu8_t *awaymsg, const int awaymsg_len) |
980 { | 980 { |
981 aim_conn_t *conn; | 981 aim_conn_t *conn; |
982 aim_frame_t *fr; | 982 aim_frame_t *fr; |
983 aim_snacid_t snacid; | 983 aim_snacid_t snacid; |
984 aim_tlvlist_t *tl = NULL; | 984 aim_tlvlist_t *tl = NULL; |
1097 snacid = aim_cachesnac(sess, 0x0002, 0x0005, 0x0000, NULL, 0); | 1097 snacid = aim_cachesnac(sess, 0x0002, 0x0005, 0x0000, NULL, 0); |
1098 | 1098 |
1099 aim_putsnac(&fr->data, 0x0002, 0x0005, 0x0000, snacid); | 1099 aim_putsnac(&fr->data, 0x0002, 0x0005, 0x0000, snacid); |
1100 aimbs_put16(&fr->data, infotype); | 1100 aimbs_put16(&fr->data, infotype); |
1101 aimbs_put8(&fr->data, strlen(sn)); | 1101 aimbs_put8(&fr->data, strlen(sn)); |
1102 aimbs_putraw(&fr->data, sn, strlen(sn)); | 1102 aimbs_putstr(&fr->data, sn); |
1103 | 1103 |
1104 aim_tx_enqueue(sess, fr); | 1104 aim_tx_enqueue(sess, fr); |
1105 | 1105 |
1106 return 0; | 1106 return 0; |
1107 } | 1107 } |