diff libpurple/protocols/myspace/myspace.h @ 16408:bb649c52fc19

Replace printf() in MySpaceIM prpl with purple_debug_info().
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 28 Apr 2007 22:38:16 +0000
parents 8063f163f411
children 1aa62f7368ca
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h	Sat Apr 28 21:44:47 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.h	Sat Apr 28 22:38:16 2007 +0000
@@ -19,6 +19,13 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+/* Debugging options (1 to enable, 0 disable) */
+#define MSIM_DEBUG_MSG					1
+/* Low-level and rarely needed */
+#define MSIM_DEBUG_PARSE 				0
+#define MSIM_DEBUG_LOGIN_CHALLENGE		0
+#define MSIM_DEBUG_RXBUF				0
+
 /* Statuses */
 #define MSIM_STATUS_ONLINE      "online"
 #define MSIM_STATUS_AWAY        "away"
@@ -64,7 +71,7 @@
 
     gchar *rxbuf;                       /**< Receive buffer */
     guint rxoff;                        /**< Receive buffer offset */
-	/* TODO: rid, store here and increment instead of random. */
+	guint next_rid;						/**< Next request/response ID */
 } MsimSession;
 
 /* Check if an MsimSession is valid */