diff libpurple/protocols/qq/qq.h @ 23755:23cec4360d4a

applied changes from 8cebefbc6cd5d84acb69c74e69e8821f11dd225d through 92d52eef2994d2697999177804e3665989cfa352 Reapplied 92d52eef2994d2697999177804e3665989cfa352 at the right time. 2008.09.02 - ccpaging <ccpaging(at)gmail.com> * Bugfix: can not send message to the QUN blocked adding * Tickets: Fixes #6957 Fixes #6990 2008.09.02 - ccpaging <ccpaging(at)gmail.com> * Use new tactics of information update: 1. send next package till the previous package received 2. fix duplicated get_room_info and get_room_buddies command committer: Daniel Atallah <daniel.atallah@gmail.com>
author SHiNE CsyFeK <csyfek@gmail.com>
date Mon, 15 Sep 2008 03:01:03 +0000
parents 967344bc404d
children 69c218fd5d54
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq.h	Mon Sep 15 02:59:23 2008 +0000
+++ b/libpurple/protocols/qq/qq.h	Mon Sep 15 03:01:03 2008 +0000
@@ -48,7 +48,7 @@
 struct _qq_interval {
 	gint resend;
 	gint keep_alive;
-	gint update; 
+	gint update;
 };
 
 struct _qq_buddy {
@@ -91,11 +91,15 @@
 	GSList *openconns;
 	gboolean use_tcp;		/* network in tcp or udp */
 	PurpleProxyConnectData *conn_data;
+#ifndef purple_proxy_connect_udp
+	PurpleDnsQueryData *udp_query_data;		/* udp related */
+	gint udp_can_write_handler; 	/* socket can_write handle, use in udp connecting and tcp send out */
+#endif
 	gint fd;							/* socket file handler */
 
 	GList *servers;
 	gchar *curr_server;		/* point to servers->data, do not free*/
-	
+
 	struct in_addr redirect_ip;
 	guint16 redirect_port;
 	guint check_watcher;
@@ -105,7 +109,7 @@
 	qq_interval itv_config;
 	qq_interval itv_count;
 	guint network_watcher;
-	
+
 	GList *transactions;	/* check ack packet and resend */
 
 	guint32 uid;			/* QQ number */
@@ -119,7 +123,6 @@
 	guint16 send_seq;		/* send sequence number */
 	guint8 login_mode;		/* online of invisible */
 	gboolean is_login;		/* used by qq-add_buddy */
-	gboolean is_finish_update;
 
 	PurpleXfer *xfer;			/* file transfer handler */