Mercurial > pidgin
diff libpurple/protocols/oscar/tlv.c @ 18653:9f3c2c5d96b2
This function wasn't used. I think it was intended for when Adam
was implementing an oscar server using libfaim?
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 27 Jul 2007 08:22:45 +0000 |
parents | e333072d8680 |
children | 44b4e8bd759b |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/tlv.c Fri Jul 27 03:47:09 2007 +0000 +++ b/libpurple/protocols/oscar/tlv.c Fri Jul 27 08:22:45 2007 +0000 @@ -423,25 +423,6 @@ } /** - * Adds the given userinfo struct to a TLV chain. - * - * @param list Destination chain. - * @param type TLV type to add. - * @return The size of the value added. - */ -int aim_tlvlist_add_userinfo(GSList **list, guint16 type, aim_userinfo_t *userinfo) -{ - guint8 buf[1024]; /* TODO: Don't use a fixed length buffer */ - ByteStream bs; - - byte_stream_init(&bs, buf, sizeof(buf)); - - aim_putuserinfo(&bs, userinfo); - - return aim_tlvlist_add_raw(list, type, byte_stream_curpos(&bs), buf); -} - -/** * Adds the given chatroom info to a TLV chain. * * @param list Destination chain.