summaryrefslogtreecommitdiff
path: root/src/include/gnunet_resolver_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-21 15:16:58 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-21 15:16:58 +0000
commit5a38c8f0d1826ea964e3e3452e1a3a2a24d7d35b (patch)
tree7ba261fc1882bcfa6dc0da916272a0ed0d17468e /src/include/gnunet_resolver_service.h
parent1fca0c918c8468ba16666e8a1c41526cacdc6df2 (diff)
downloadgnunet-5a38c8f0d1826ea964e3e3452e1a3a2a24d7d35b.tar.gz
gnunet-5a38c8f0d1826ea964e3e3452e1a3a2a24d7d35b.zip
-misc doxygen fixes
Diffstat (limited to 'src/include/gnunet_resolver_service.h')
-rw-r--r--src/include/gnunet_resolver_service.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/include/gnunet_resolver_service.h b/src/include/gnunet_resolver_service.h
index ae98bb8a6..31fd178ca 100644
--- a/src/include/gnunet_resolver_service.h
+++ b/src/include/gnunet_resolver_service.h
@@ -22,6 +22,8 @@
22 * @file include/gnunet_resolver_service.h 22 * @file include/gnunet_resolver_service.h
23 * @brief functions related to doing DNS lookups 23 * @brief functions related to doing DNS lookups
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 * @defgroup resolver asynchronous standard DNS lookups
26 * @{
25 */ 27 */
26 28
27#ifndef GNUNET_RESOLVER_SERVICE_H 29#ifndef GNUNET_RESOLVER_SERVICE_H
@@ -45,7 +47,7 @@ extern "C"
45 * 47 *
46 * @param cls closure 48 * @param cls closure
47 * @param addr one of the addresses of the host, NULL for the last address 49 * @param addr one of the addresses of the host, NULL for the last address
48 * @param addrlen length of the address 50 * @param addrlen length of @a addr
49 */ 51 */
50typedef void (*GNUNET_RESOLVER_AddressCallback) (void *cls, 52typedef void (*GNUNET_RESOLVER_AddressCallback) (void *cls,
51 const struct sockaddr *addr, 53 const struct sockaddr *addr,
@@ -80,7 +82,7 @@ GNUNET_RESOLVER_disconnect (void);
80 * @param hostname the hostname to resolve 82 * @param hostname the hostname to resolve
81 * @param af AF_INET or AF_INET6; use AF_UNSPEC for "any" 83 * @param af AF_INET or AF_INET6; use AF_UNSPEC for "any"
82 * @param callback function to call with addresses 84 * @param callback function to call with addresses
83 * @param callback_cls closure for callback 85 * @param callback_cls closure for @a callback
84 * @param timeout how long to try resolving 86 * @param timeout how long to try resolving
85 * @return handle that can be used to cancel the request, NULL on error 87 * @return handle that can be used to cancel the request, NULL on error
86 */ 88 */
@@ -96,7 +98,7 @@ GNUNET_RESOLVER_ip_get (const char *hostname, int af,
96 * 98 *
97 * @param af AF_INET or AF_INET6; use AF_UNSPEC for "any" 99 * @param af AF_INET or AF_INET6; use AF_UNSPEC for "any"
98 * @param callback function to call with addresses 100 * @param callback function to call with addresses
99 * @param cls closure for callback 101 * @param cls closure for @a callback
100 * @param timeout how long to try resolving 102 * @param timeout how long to try resolving
101 * @return handle that can be used to cancel the request, NULL on error 103 * @return handle that can be used to cancel the request, NULL on error
102 */ 104 */
@@ -130,11 +132,11 @@ GNUNET_RESOLVER_local_fqdn_get (void);
130 * Perform a reverse DNS lookup. 132 * Perform a reverse DNS lookup.
131 * 133 *
132 * @param sa host address 134 * @param sa host address
133 * @param salen length of host address 135 * @param salen length of @a sa
134 * @param do_resolve use GNUNET_NO to return numeric hostname 136 * @param do_resolve use #GNUNET_NO to return numeric hostname
135 * @param timeout how long to try resolving 137 * @param timeout how long to try resolving
136 * @param callback function to call with hostnames 138 * @param callback function to call with hostnames
137 * @param cls closure for callback 139 * @param cls closure for @a callback
138 * @return handle that can be used to cancel the request, NULL on error 140 * @return handle that can be used to cancel the request, NULL on error
139 */ 141 */
140struct GNUNET_RESOLVER_RequestHandle * 142struct GNUNET_RESOLVER_RequestHandle *
@@ -164,6 +166,8 @@ GNUNET_RESOLVER_request_cancel (struct GNUNET_RESOLVER_RequestHandle *rh);
164} 166}
165#endif 167#endif
166 168
169/** @} */ /* end of group resolver */
170
167/* ifndef GNUNET_RESOLVER_SERVICE_H */ 171/* ifndef GNUNET_RESOLVER_SERVICE_H */
168#endif 172#endif
169/* end of gnunet_resolver_service.h */ 173/* end of gnunet_resolver_service.h */