diff src/proxy.h @ 14181:fc92a5a7dd95

[gaim-migrate @ 16833] Split the DNS query code out into its own file without actually changing anything. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 18 Aug 2006 07:20:31 +0000
parents 879bb47cff8e
children
line wrap: on
line diff
--- a/src/proxy.h	Fri Aug 18 05:59:47 2006 +0000
+++ b/src/proxy.h	Fri Aug 18 07:20:31 2006 +0000
@@ -60,12 +60,6 @@
 
 typedef void (*GaimProxyConnectFunction)(gpointer data, gint source, const gchar *error_message);
 
-/**
- * The "hosts" parameter is a linked list containing pairs of
- * one size_t addrlen and one struct sockaddr *addr.
- */
-typedef void (*GaimProxyDnsConnectFunction)(GSList *hosts, gpointer data, const char *error_message);
-
 
 #include "account.h"
 
@@ -278,18 +272,6 @@
  */
 void gaim_proxy_connect_cancel(GaimProxyConnectInfo *connect_info);
 
-/**
- * Do an async dns query
- *
- * @param hostname The hostname to resolve
- * @param port A portnumber which is stored in the struct sockaddr
- * @param callback Callback to call after resolving
- * @param data Extra data for the callback function
- *
- * @return Zero indicates the connection is pending. Any other value indicates failure.
- */
-int gaim_gethostbyname_async(const char *hostname, int port, GaimProxyDnsConnectFunction callback, gpointer data);
-
 /*@}*/
 
 #ifdef __cplusplus