aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-07 18:29:16 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-07 18:29:16 +0000
commitef0def7ccde140b2b4558761dfd46cbb16c625f4 (patch)
tree599c3a70c592028d912d53bfed7539b9d2758501
parent6e31c04e908b98f6c9cb347eb36ccc47bde590a7 (diff)
-indent, doxygen
-rw-r--r--src/include/gnunet_network_lib.h6
-rw-r--r--src/include/gnunet_resolver_service.h18
2 files changed, 14 insertions, 10 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h
index 042ab235e3..0081f09739 100644
--- a/src/include/gnunet_network_lib.h
+++ b/src/include/gnunet_network_lib.h
@@ -135,7 +135,7 @@ GNUNET_NETWORK_socket_set_blocking (struct GNUNET_NETWORK_Handle *fd,
*
* @param desc socket to bind
* @param address address to be bound
- * @param address_len length of address
+ * @param address_len length of @a address
* @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise
*/
int
@@ -372,8 +372,8 @@ GNUNET_NETWORK_fdset_set (struct GNUNET_NETWORK_FDSet *fds,
* @param h the file handle to add
*/
void
-GNUNET_NETWORK_fdset_handle_set_native_w32_handle (struct GNUNET_NETWORK_FDSet
- *fds, HANDLE h);
+GNUNET_NETWORK_fdset_handle_set_native_w32_handle (struct GNUNET_NETWORK_FDSet *fds
+ HANDLE h);
#endif
diff --git a/src/include/gnunet_resolver_service.h b/src/include/gnunet_resolver_service.h
index 0a51e41cae..b76c3113c2 100644
--- a/src/include/gnunet_resolver_service.h
+++ b/src/include/gnunet_resolver_service.h
@@ -49,9 +49,10 @@ extern "C"
* @param addr one of the addresses of the host, NULL for the last address
* @param addrlen length of @a addr
*/
-typedef void (*GNUNET_RESOLVER_AddressCallback) (void *cls,
- const struct sockaddr *addr,
- socklen_t addrlen);
+typedef void
+(*GNUNET_RESOLVER_AddressCallback) (void *cls,
+ const struct sockaddr *addr,
+ socklen_t addrlen);
/**
@@ -87,7 +88,8 @@ GNUNET_RESOLVER_disconnect (void);
* @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 af,
+GNUNET_RESOLVER_ip_get (const char *hostname,
+ int af,
struct GNUNET_TIME_Relative timeout,
GNUNET_RESOLVER_AddressCallback callback,
void *callback_cls);
@@ -116,8 +118,9 @@ GNUNET_RESOLVER_hostname_resolve (int af,
* @param hostname one of the names for the host, NULL
* on the last call to the callback
*/
-typedef void (*GNUNET_RESOLVER_HostnameCallback) (void *cls,
- const char *hostname);
+typedef void
+(*GNUNET_RESOLVER_HostnameCallback) (void *cls,
+ const char *hostname);
/**
* Get local fully qualified domain name
@@ -140,7 +143,8 @@ GNUNET_RESOLVER_local_fqdn_get (void);
* @return handle that can be used to cancel the request, NULL on error
*/
struct GNUNET_RESOLVER_RequestHandle *
-GNUNET_RESOLVER_hostname_get (const struct sockaddr *sa, socklen_t salen,
+GNUNET_RESOLVER_hostname_get (const struct sockaddr *sa,
+ socklen_t salen,
int do_resolve,
struct GNUNET_TIME_Relative timeout,
GNUNET_RESOLVER_HostnameCallback callback,