libpurple/protocols/oscar/tlv.c

changeset 18952
5343013f605d
parent 18876
8d8198f72306
child 19859
71d37b57eff2
--- 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.

mercurial