diff libgaim/protocols/simple/simple.h @ 14238:f189327b9968

[gaim-migrate @ 16920] Cancelable DNS queries. This eliminates crashes when you cancel a connection attempt while we're waiting for a response from a DNS server. I tested with all three methods, so they SHOULD be ok. Let me know if you have problems. I should be around today, starting in maybe an hour. I feel like it's kinda dumb for us to have three implementations for the same thing. I want to get rid of the child-process method (currently used in Unix and OS-X) and use the thread-based method (currently used in Windows) everywhere. Then we can get rid of the third method, too (currently used when !Unix and !OS-X and !Windows) Any objections? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 20 Aug 2006 22:24:13 +0000
parents 60b1bc8dbf37
children 645598a4ec04
line wrap: on
line diff
--- a/libgaim/protocols/simple/simple.h	Sun Aug 20 22:16:13 2006 +0000
+++ b/libgaim/protocols/simple/simple.h	Sun Aug 20 22:24:13 2006 +0000
@@ -28,6 +28,7 @@
 
 #include "cipher.h"
 #include "circbuffer.h"
+#include "dnsquery.h"
 #include "prpl.h"
 
 #include "sipmsg.h"
@@ -69,6 +70,7 @@
 	gchar *servername;
 	gchar *username;
 	gchar *password;
+	GaimDnsQueryData *query_data;
 	int fd;
 	int cseq;
 	time_t reregister;