aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/gnunet_resolver_service.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_resolver_service.h b/src/include/gnunet_resolver_service.h
index 86499a8c0..498400dc3 100644
--- a/src/include/gnunet_resolver_service.h
+++ b/src/include/gnunet_resolver_service.h
@@ -78,14 +78,14 @@ GNUNET_RESOLVER_disconnect (void);
78 * Convert a string to one or more IP addresses. 78 * Convert a string to one or more IP addresses.
79 * 79 *
80 * @param hostname the hostname to resolve 80 * @param hostname the hostname to resolve
81 * @param domain AF_INET or AF_INET6; use AF_UNSPEC for "any" 81 * @param af AF_INET or AF_INET6; use AF_UNSPEC for "any"
82 * @param callback function to call with addresses 82 * @param callback function to call with addresses
83 * @param callback_cls closure for callback 83 * @param callback_cls closure for callback
84 * @param timeout how long to try resolving 84 * @param timeout how long to try resolving
85 * @return handle that can be used to cancel the request, NULL on error 85 * @return handle that can be used to cancel the request, NULL on error
86 */ 86 */
87struct GNUNET_RESOLVER_RequestHandle * 87struct GNUNET_RESOLVER_RequestHandle *
88GNUNET_RESOLVER_ip_get (const char *hostname, int domain, 88GNUNET_RESOLVER_ip_get (const char *hostname, int af,
89 struct GNUNET_TIME_Relative timeout, 89 struct GNUNET_TIME_Relative timeout,
90 GNUNET_RESOLVER_AddressCallback callback, 90 GNUNET_RESOLVER_AddressCallback callback,
91 void *callback_cls); 91 void *callback_cls);
@@ -94,14 +94,14 @@ GNUNET_RESOLVER_ip_get (const char *hostname, int domain,
94/** 94/**
95 * Resolve our hostname to an IP address. 95 * Resolve our hostname to an IP address.
96 * 96 *
97 * @param domain AF_INET or AF_INET6; use AF_UNSPEC for "any" 97 * @param af AF_INET or AF_INET6; use AF_UNSPEC for "any"
98 * @param callback function to call with addresses 98 * @param callback function to call with addresses
99 * @param cls closure for callback 99 * @param cls closure for callback
100 * @param timeout how long to try resolving 100 * @param timeout how long to try resolving
101 * @return handle that can be used to cancel the request, NULL on error 101 * @return handle that can be used to cancel the request, NULL on error
102 */ 102 */
103struct GNUNET_RESOLVER_RequestHandle * 103struct GNUNET_RESOLVER_RequestHandle *
104GNUNET_RESOLVER_hostname_resolve (int domain, 104GNUNET_RESOLVER_hostname_resolve (int af,
105 struct GNUNET_TIME_Relative timeout, 105 struct GNUNET_TIME_Relative timeout,
106 GNUNET_RESOLVER_AddressCallback callback, 106 GNUNET_RESOLVER_AddressCallback callback,
107 void *cls); 107 void *cls);