diff libpurple/protocols/oscar/oscar.h @ 24665:531922f4ea2a

Minor cleanup: remove od->sn, since it's the same as PurpleAccount->username
author Mark Doliner <mark@kingant.net>
date Sun, 07 Dec 2008 23:34:12 +0000
parents 5e7a013bb75e
children e4b1ba7c351c ea70a446dde4
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.h	Sun Dec 07 02:36:57 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.h	Sun Dec 07 23:34:12 2008 +0000
@@ -488,16 +488,8 @@
 		guint maxawaymsglen; /* max size (bytes) of posted away message */
 	} rights;
 
-	/* ---- Client Accessible ------------------------ */
-
-	/* Our screen name. */
-	/* TODO: Get rid of this and use purple_account_get_username() everywhere? */
-	char sn[MAXSNLEN+1];
-
 	PurpleConnection *gc;
 
-	/* ---- Internal Use Only ------------------------ */
-
 	void *modlistv;
 
 	/*
@@ -1587,6 +1579,7 @@
 int byte_stream_putraw(ByteStream *bs, const guint8 *v, int len);
 int byte_stream_putstr(ByteStream *bs, const char *str);
 int byte_stream_putbs(ByteStream *bs, ByteStream *srcbs, int len);
+int byte_stream_putuid(ByteStream *bs, OscarData *od);
 int byte_stream_putcaps(ByteStream *bs, guint32 caps);
 
 /*