diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-07 18:29:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-07 18:29:16 +0000 |
commit | ef0def7ccde140b2b4558761dfd46cbb16c625f4 (patch) | |
tree | 599c3a70c592028d912d53bfed7539b9d2758501 /src/include/gnunet_resolver_service.h | |
parent | 6e31c04e908b98f6c9cb347eb36ccc47bde590a7 (diff) | |
download | gnunet-ef0def7ccde140b2b4558761dfd46cbb16c625f4.tar.gz gnunet-ef0def7ccde140b2b4558761dfd46cbb16c625f4.zip |
-indent, doxygen
Diffstat (limited to 'src/include/gnunet_resolver_service.h')
-rw-r--r-- | src/include/gnunet_resolver_service.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/include/gnunet_resolver_service.h b/src/include/gnunet_resolver_service.h index 0a51e41ca..b76c3113c 100644 --- a/src/include/gnunet_resolver_service.h +++ b/src/include/gnunet_resolver_service.h | |||
@@ -49,9 +49,10 @@ extern "C" | |||
49 | * @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 |
50 | * @param addrlen length of @a addr | 50 | * @param addrlen length of @a addr |
51 | */ | 51 | */ |
52 | typedef void (*GNUNET_RESOLVER_AddressCallback) (void *cls, | 52 | typedef void |
53 | const struct sockaddr *addr, | 53 | (*GNUNET_RESOLVER_AddressCallback) (void *cls, |
54 | socklen_t addrlen); | 54 | const struct sockaddr *addr, |
55 | socklen_t addrlen); | ||
55 | 56 | ||
56 | 57 | ||
57 | /** | 58 | /** |
@@ -87,7 +88,8 @@ GNUNET_RESOLVER_disconnect (void); | |||
87 | * @return handle that can be used to cancel the request, NULL on error | 88 | * @return handle that can be used to cancel the request, NULL on error |
88 | */ | 89 | */ |
89 | struct GNUNET_RESOLVER_RequestHandle * | 90 | struct GNUNET_RESOLVER_RequestHandle * |
90 | GNUNET_RESOLVER_ip_get (const char *hostname, int af, | 91 | GNUNET_RESOLVER_ip_get (const char *hostname, |
92 | int af, | ||
91 | struct GNUNET_TIME_Relative timeout, | 93 | struct GNUNET_TIME_Relative timeout, |
92 | GNUNET_RESOLVER_AddressCallback callback, | 94 | GNUNET_RESOLVER_AddressCallback callback, |
93 | void *callback_cls); | 95 | void *callback_cls); |
@@ -116,8 +118,9 @@ GNUNET_RESOLVER_hostname_resolve (int af, | |||
116 | * @param hostname one of the names for the host, NULL | 118 | * @param hostname one of the names for the host, NULL |
117 | * on the last call to the callback | 119 | * on the last call to the callback |
118 | */ | 120 | */ |
119 | typedef void (*GNUNET_RESOLVER_HostnameCallback) (void *cls, | 121 | typedef void |
120 | const char *hostname); | 122 | (*GNUNET_RESOLVER_HostnameCallback) (void *cls, |
123 | const char *hostname); | ||
121 | 124 | ||
122 | /** | 125 | /** |
123 | * Get local fully qualified domain name | 126 | * Get local fully qualified domain name |
@@ -140,7 +143,8 @@ GNUNET_RESOLVER_local_fqdn_get (void); | |||
140 | * @return handle that can be used to cancel the request, NULL on error | 143 | * @return handle that can be used to cancel the request, NULL on error |
141 | */ | 144 | */ |
142 | struct GNUNET_RESOLVER_RequestHandle * | 145 | struct GNUNET_RESOLVER_RequestHandle * |
143 | GNUNET_RESOLVER_hostname_get (const struct sockaddr *sa, socklen_t salen, | 146 | GNUNET_RESOLVER_hostname_get (const struct sockaddr *sa, |
147 | socklen_t salen, | ||
144 | int do_resolve, | 148 | int do_resolve, |
145 | struct GNUNET_TIME_Relative timeout, | 149 | struct GNUNET_TIME_Relative timeout, |
146 | GNUNET_RESOLVER_HostnameCallback callback, | 150 | GNUNET_RESOLVER_HostnameCallback callback, |