gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19482 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r19482 - gnunet/src/include
Date: Fri, 27 Jan 2012 13:52:27 +0100

Author: grothoff
Date: 2012-01-27 13:52:27 +0100 (Fri, 27 Jan 2012)
New Revision: 19482

Modified:
   gnunet/src/include/gnunet_resolver_service.h
Log:
-more consistent naming

Modified: gnunet/src/include/gnunet_resolver_service.h
===================================================================
--- gnunet/src/include/gnunet_resolver_service.h        2012-01-27 12:46:51 UTC 
(rev 19481)
+++ gnunet/src/include/gnunet_resolver_service.h        2012-01-27 12:52:27 UTC 
(rev 19482)
@@ -78,14 +78,14 @@
  * Convert a string to one or more IP addresses.
  *
  * @param hostname the hostname to resolve
- * @param domain AF_INET or AF_INET6; use AF_UNSPEC for "any"
+ * @param af AF_INET or AF_INET6; use AF_UNSPEC for "any"
  * @param callback function to call with addresses
  * @param callback_cls closure for callback
  * @param timeout how long to try resolving
  * @return handle that can be used to cancel the request, NULL on error
  */
 struct GNUNET_RESOLVER_RequestHandle *
-GNUNET_RESOLVER_ip_get (const char *hostname, int domain,
+GNUNET_RESOLVER_ip_get (const char *hostname, int af,
                         struct GNUNET_TIME_Relative timeout,
                         GNUNET_RESOLVER_AddressCallback callback,
                         void *callback_cls);
@@ -94,14 +94,14 @@
 /**
  * Resolve our hostname to an IP address.
  *
- * @param domain AF_INET or AF_INET6; use AF_UNSPEC for "any"
+ * @param af AF_INET or AF_INET6; use AF_UNSPEC for "any"
  * @param callback function to call with addresses
  * @param cls closure for callback
  * @param timeout how long to try resolving
  * @return handle that can be used to cancel the request, NULL on error
  */
 struct GNUNET_RESOLVER_RequestHandle *
-GNUNET_RESOLVER_hostname_resolve (int domain,
+GNUNET_RESOLVER_hostname_resolve (int af,
                                   struct GNUNET_TIME_Relative timeout,
                                   GNUNET_RESOLVER_AddressCallback callback,
                                   void *cls);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]