Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/family_oservice.c @ 30833:11c54d781835
Removed unused "flags" parameter.
author | ivan.komarov@soc.pidgin.im |
---|---|
date | Thu, 05 Aug 2010 22:57:01 +0000 |
parents | be056399ae5f |
children | a453690ba4f4 |
comparison
equal
deleted
inserted
replaced
30832:3eb2dd8a1cc7 | 30833:11c54d781835 |
---|---|
71 byte_stream_put16(&bs, mod->toolversion); | 71 byte_stream_put16(&bs, mod->toolversion); |
72 } | 72 } |
73 } | 73 } |
74 | 74 |
75 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0002, 0x0000, NULL, 0); | 75 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0002, 0x0000, NULL, 0); |
76 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0002, 0x0000, snacid, &bs); | 76 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0002, snacid, &bs); |
77 | 77 |
78 byte_stream_destroy(&bs); | 78 byte_stream_destroy(&bs); |
79 } | 79 } |
80 | 80 |
81 /* | 81 /* |
139 | 139 |
140 aim_tlvlist_write(&bs, &tlvlist); | 140 aim_tlvlist_write(&bs, &tlvlist); |
141 aim_tlvlist_free(tlvlist); | 141 aim_tlvlist_free(tlvlist); |
142 | 142 |
143 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0004, 0x0000, NULL, 0); | 143 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0004, 0x0000, NULL, 0); |
144 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0004, 0x0000, snacid, &bs); | 144 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0004, snacid, &bs); |
145 | 145 |
146 byte_stream_destroy(&bs); | 146 byte_stream_destroy(&bs); |
147 } | 147 } |
148 | 148 |
149 /* | 149 /* |
185 | 185 |
186 aim_tlvlist_write(&bs, &tlvlist); | 186 aim_tlvlist_write(&bs, &tlvlist); |
187 aim_tlvlist_free(tlvlist); | 187 aim_tlvlist_free(tlvlist); |
188 | 188 |
189 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0004, 0x0000, &csi, sizeof(csi)); | 189 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0004, 0x0000, &csi, sizeof(csi)); |
190 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0004, 0x0000, snacid, &bs); | 190 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0004, snacid, &bs); |
191 | 191 |
192 byte_stream_destroy(&bs); | 192 byte_stream_destroy(&bs); |
193 | 193 |
194 return 0; | 194 return 0; |
195 } | 195 } |
442 rateclass = tmp->data; | 442 rateclass = tmp->data; |
443 byte_stream_put16(&bs, rateclass->classid); | 443 byte_stream_put16(&bs, rateclass->classid); |
444 } | 444 } |
445 | 445 |
446 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0008, 0x0000, NULL, 0); | 446 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0008, 0x0000, NULL, 0); |
447 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0008, 0x0000, snacid, &bs); | 447 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0008, snacid, &bs); |
448 | 448 |
449 byte_stream_destroy(&bs); | 449 byte_stream_destroy(&bs); |
450 } | 450 } |
451 | 451 |
452 /* Subtype 0x000a - Rate Change */ | 452 /* Subtype 0x000a - Rate Change */ |
748 byte_stream_put16(&bs, mod->version); | 748 byte_stream_put16(&bs, mod->version); |
749 } | 749 } |
750 } | 750 } |
751 | 751 |
752 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0017, 0x0000, NULL, 0); | 752 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0017, 0x0000, NULL, 0); |
753 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0017, 0x0000, snacid, &bs); | 753 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0017, snacid, &bs); |
754 | 754 |
755 byte_stream_destroy(&bs); | 755 byte_stream_destroy(&bs); |
756 } | 756 } |
757 | 757 |
758 /* Subtype 0x0018 - Host versions */ | 758 /* Subtype 0x0018 - Host versions */ |
833 | 833 |
834 aim_tlvlist_write(&bs, &tlvlist); | 834 aim_tlvlist_write(&bs, &tlvlist); |
835 aim_tlvlist_free(tlvlist); | 835 aim_tlvlist_free(tlvlist); |
836 | 836 |
837 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x001e, 0x0000, NULL, 0); | 837 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x001e, 0x0000, NULL, 0); |
838 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x001e, 0x0000, snacid, &bs); | 838 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x001e, snacid, &bs); |
839 | 839 |
840 byte_stream_destroy(&bs); | 840 byte_stream_destroy(&bs); |
841 | 841 |
842 return 0; | 842 return 0; |
843 } | 843 } |
879 byte_stream_new(&bs, aim_tlvlist_size(tlvlist)); | 879 byte_stream_new(&bs, aim_tlvlist_size(tlvlist)); |
880 aim_tlvlist_write(&bs, &tlvlist); | 880 aim_tlvlist_write(&bs, &tlvlist); |
881 aim_tlvlist_free(tlvlist); | 881 aim_tlvlist_free(tlvlist); |
882 | 882 |
883 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x001e, 0x0000, NULL, 0); | 883 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x001e, 0x0000, NULL, 0); |
884 flap_connection_send_snac(od, flap_connection_findbygroup(od, SNAC_FAMILY_ICBM), SNAC_FAMILY_OSERVICE, 0x001e, 0x0000, snacid, &bs); | 884 flap_connection_send_snac(od, flap_connection_findbygroup(od, SNAC_FAMILY_ICBM), SNAC_FAMILY_OSERVICE, 0x001e, snacid, &bs); |
885 | 885 |
886 byte_stream_destroy(&bs); | 886 byte_stream_destroy(&bs); |
887 } | 887 } |
888 | 888 |
889 /** | 889 /** |
1022 purple_debug_warning("oscar", "sendmemblock: unknown hash request\n"); | 1022 purple_debug_warning("oscar", "sendmemblock: unknown hash request\n"); |
1023 | 1023 |
1024 } | 1024 } |
1025 | 1025 |
1026 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0020, 0x0000, NULL, 0); | 1026 snacid = aim_cachesnac(od, SNAC_FAMILY_OSERVICE, 0x0020, 0x0000, NULL, 0); |
1027 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0020, 0x0000, snacid, &bs); | 1027 flap_connection_send_snac(od, conn, SNAC_FAMILY_OSERVICE, 0x0020, snacid, &bs); |
1028 | 1028 |
1029 byte_stream_destroy(&bs); | 1029 byte_stream_destroy(&bs); |
1030 | 1030 |
1031 return 0; | 1031 return 0; |
1032 } | 1032 } |