Mercurial > pidgin
diff src/protocols/oscar/bos.c @ 7167:6d3d8f11e765
[gaim-migrate @ 7734]
I, uh, renamed some functions in libfaim. Functions that every file uses.
A lot. So it looks like I did a lot of work, but I didn't. Yeah, in a
typical work I actually only do about 15 minutes of real work.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 05 Oct 2003 23:50:40 +0000 |
| parents | dd2be7cd66df |
| children | ad243bc63184 |
line wrap: on
line diff
--- a/src/protocols/oscar/bos.c Sun Oct 05 22:41:29 2003 +0000 +++ b/src/protocols/oscar/bos.c Sun Oct 05 23:50:40 2003 +0000 @@ -26,24 +26,24 @@ /* * TLVs follow */ - tlvlist = aim_readtlvchain(bs); + tlvlist = aim_tlvlist_read(bs); /* * TLV type 0x0001: Maximum number of buddies on permit list. */ - if (aim_gettlv(tlvlist, 0x0001, 1)) - maxpermits = aim_gettlv16(tlvlist, 0x0001, 1); + if (aim_tlv_gettlv(tlvlist, 0x0001, 1)) + maxpermits = aim_tlv_get16(tlvlist, 0x0001, 1); /* * TLV type 0x0002: Maximum number of buddies on deny list. */ - if (aim_gettlv(tlvlist, 0x0002, 1)) - maxdenies = aim_gettlv16(tlvlist, 0x0002, 1); + if (aim_tlv_gettlv(tlvlist, 0x0002, 1)) + maxdenies = aim_tlv_get16(tlvlist, 0x0002, 1); if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype))) ret = userfunc(sess, rx, maxpermits, maxdenies); - aim_freetlvchain(&tlvlist); + aim_tlvlist_free(&tlvlist); return ret; }
