Mercurial > pidgin
changeset 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 | ddb7212a8794 |
children | 2ec7abcedf47 |
files | libpurple/protocols/oscar/tlv.c |
diffstat | 1 files changed, 0 insertions(+), 19 deletions(-) [+] |
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.