diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/include/gnunet_resolver_service.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/include/gnunet_resolver_service.h')
-rw-r--r-- | src/include/gnunet_resolver_service.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/include/gnunet_resolver_service.h b/src/include/gnunet_resolver_service.h index 1536a93ca..956e4d67e 100644 --- a/src/include/gnunet_resolver_service.h +++ b/src/include/gnunet_resolver_service.h | |||
@@ -70,14 +70,14 @@ struct GNUNET_RESOLVER_RequestHandle; | |||
70 | * @param cfg configuration to use | 70 | * @param cfg configuration to use |
71 | */ | 71 | */ |
72 | void | 72 | void |
73 | GNUNET_RESOLVER_connect(const struct GNUNET_CONFIGURATION_Handle *cfg); | 73 | GNUNET_RESOLVER_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); |
74 | 74 | ||
75 | 75 | ||
76 | /** | 76 | /** |
77 | * Destroy the connection to the resolver service. | 77 | * Destroy the connection to the resolver service. |
78 | */ | 78 | */ |
79 | void | 79 | void |
80 | GNUNET_RESOLVER_disconnect(void); | 80 | GNUNET_RESOLVER_disconnect (void); |
81 | 81 | ||
82 | 82 | ||
83 | /** | 83 | /** |
@@ -91,11 +91,11 @@ GNUNET_RESOLVER_disconnect(void); | |||
91 | * @return handle that can be used to cancel the request, NULL on error | 91 | * @return handle that can be used to cancel the request, NULL on error |
92 | */ | 92 | */ |
93 | struct GNUNET_RESOLVER_RequestHandle * | 93 | struct GNUNET_RESOLVER_RequestHandle * |
94 | GNUNET_RESOLVER_ip_get(const char *hostname, | 94 | GNUNET_RESOLVER_ip_get (const char *hostname, |
95 | int af, | 95 | int af, |
96 | struct GNUNET_TIME_Relative timeout, | 96 | struct GNUNET_TIME_Relative timeout, |
97 | GNUNET_RESOLVER_AddressCallback callback, | 97 | GNUNET_RESOLVER_AddressCallback callback, |
98 | void *callback_cls); | 98 | void *callback_cls); |
99 | 99 | ||
100 | 100 | ||
101 | /** | 101 | /** |
@@ -108,10 +108,10 @@ GNUNET_RESOLVER_ip_get(const char *hostname, | |||
108 | * @return handle that can be used to cancel the request, NULL on error | 108 | * @return handle that can be used to cancel the request, NULL on error |
109 | */ | 109 | */ |
110 | struct GNUNET_RESOLVER_RequestHandle * | 110 | struct GNUNET_RESOLVER_RequestHandle * |
111 | GNUNET_RESOLVER_hostname_resolve(int af, | 111 | GNUNET_RESOLVER_hostname_resolve (int af, |
112 | struct GNUNET_TIME_Relative timeout, | 112 | struct GNUNET_TIME_Relative timeout, |
113 | GNUNET_RESOLVER_AddressCallback callback, | 113 | GNUNET_RESOLVER_AddressCallback callback, |
114 | void *cls); | 114 | void *cls); |
115 | 115 | ||
116 | 116 | ||
117 | /** | 117 | /** |
@@ -131,7 +131,7 @@ typedef void | |||
131 | * @return local hostname, caller must free | 131 | * @return local hostname, caller must free |
132 | */ | 132 | */ |
133 | char * | 133 | char * |
134 | GNUNET_RESOLVER_local_fqdn_get(void); | 134 | GNUNET_RESOLVER_local_fqdn_get (void); |
135 | 135 | ||
136 | 136 | ||
137 | /** | 137 | /** |
@@ -146,12 +146,12 @@ GNUNET_RESOLVER_local_fqdn_get(void); | |||
146 | * @return handle that can be used to cancel the request, NULL on error | 146 | * @return handle that can be used to cancel the request, NULL on error |
147 | */ | 147 | */ |
148 | struct GNUNET_RESOLVER_RequestHandle * | 148 | struct GNUNET_RESOLVER_RequestHandle * |
149 | GNUNET_RESOLVER_hostname_get(const struct sockaddr *sa, | 149 | GNUNET_RESOLVER_hostname_get (const struct sockaddr *sa, |
150 | socklen_t salen, | 150 | socklen_t salen, |
151 | int do_resolve, | 151 | int do_resolve, |
152 | struct GNUNET_TIME_Relative timeout, | 152 | struct GNUNET_TIME_Relative timeout, |
153 | GNUNET_RESOLVER_HostnameCallback callback, | 153 | GNUNET_RESOLVER_HostnameCallback callback, |
154 | void *cls); | 154 | void *cls); |
155 | 155 | ||
156 | 156 | ||
157 | /** | 157 | /** |
@@ -163,7 +163,7 @@ GNUNET_RESOLVER_hostname_get(const struct sockaddr *sa, | |||
163 | * @param rh handle of request to cancel | 163 | * @param rh handle of request to cancel |
164 | */ | 164 | */ |
165 | void | 165 | void |
166 | GNUNET_RESOLVER_request_cancel(struct GNUNET_RESOLVER_RequestHandle *rh); | 166 | GNUNET_RESOLVER_request_cancel (struct GNUNET_RESOLVER_RequestHandle *rh); |
167 | 167 | ||
168 | 168 | ||
169 | #if 0 /* keep Emacsens' auto-indent happy */ | 169 | #if 0 /* keep Emacsens' auto-indent happy */ |