comparison src/protocols/simple/simple.c @ 14163:c3167a1dd817

[gaim-migrate @ 16811] Split the DNS query stuff out into it's own file. Eventually we should move the dnssrv code into this same file. Maybe even share some code? Also the first steps toward cancelable DNS queries. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 17 Aug 2006 07:44:52 +0000
parents 8856312371cb
children 879bb47cff8e
comparison
equal deleted inserted replaced
14162:cef7f6a93592 14163:c3167a1dd817
28 28
29 #include "accountopt.h" 29 #include "accountopt.h"
30 #include "blist.h" 30 #include "blist.h"
31 #include "conversation.h" 31 #include "conversation.h"
32 #include "debug.h" 32 #include "debug.h"
33 #include "dnsquery.h"
33 #include "notify.h" 34 #include "notify.h"
34 #include "privacy.h" 35 #include "privacy.h"
35 #include "prpl.h" 36 #include "prpl.h"
36 #include "plugin.h" 37 #include "plugin.h"
37 #include "util.h" 38 #include "util.h"
1619 return; 1620 return;
1620 } 1621 }
1621 } else { /* UDP */ 1622 } else { /* UDP */
1622 gaim_debug_info("simple", "using udp with server %s and port %d\n", hostname, port); 1623 gaim_debug_info("simple", "using udp with server %s and port %d\n", hostname, port);
1623 1624
1624 gaim_gethostbyname_async(hostname, port, simple_udp_host_resolved, sip); 1625 gaim_dnsquery_a(hostname, port, simple_udp_host_resolved, sip);
1625 } 1626 }
1626 } 1627 }
1627 1628
1628 static void simple_login(GaimAccount *account) 1629 static void simple_login(GaimAccount *account)
1629 { 1630 {