diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-29 14:36:19 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-29 14:36:19 +0000 |
commit | e6d0c3119a3348eeb539a7e52113e12a7bb37a5f (patch) | |
tree | 87d6b6489ac64fc94b801391e5d6c8151f99a1f6 /src/include/gnunet_gns_service.h | |
parent | 33891883bf2fdd6430de2c5beded9aa5be151179 (diff) | |
download | gnunet-e6d0c3119a3348eeb539a7e52113e12a7bb37a5f.tar.gz gnunet-e6d0c3119a3348eeb539a7e52113e12a7bb37a5f.zip |
-fix 2447
Diffstat (limited to 'src/include/gnunet_gns_service.h')
-rw-r--r-- | src/include/gnunet_gns_service.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index c2d642aed..5921d9370 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h | |||
@@ -190,6 +190,8 @@ typedef void (*GNUNET_GNS_ShortenResultProcessor) (void *cls, | |||
190 | * | 190 | * |
191 | * @param handle handle to the GNS service | 191 | * @param handle handle to the GNS service |
192 | * @param name the name to look up | 192 | * @param name the name to look up |
193 | * @param private_zone the public zone of the private zone | ||
194 | * @param shorten_zone the public zone of the shorten zone | ||
193 | * @param proc function to call on result | 195 | * @param proc function to call on result |
194 | * @param proc_cls closure for processor | 196 | * @param proc_cls closure for processor |
195 | * @return handle to the operation | 197 | * @return handle to the operation |
@@ -197,6 +199,8 @@ typedef void (*GNUNET_GNS_ShortenResultProcessor) (void *cls, | |||
197 | struct GNUNET_GNS_QueueEntry * | 199 | struct GNUNET_GNS_QueueEntry * |
198 | GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, | 200 | GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, |
199 | const char * name, | 201 | const char * name, |
202 | struct GNUNET_CRYPTO_ShortHashCode *private_zone, | ||
203 | struct GNUNET_CRYPTO_ShortHashCode *shorten_zone, | ||
200 | GNUNET_GNS_ShortenResultProcessor proc, | 204 | GNUNET_GNS_ShortenResultProcessor proc, |
201 | void *proc_cls); | 205 | void *proc_cls); |
202 | 206 | ||
@@ -206,6 +210,8 @@ GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, | |||
206 | * | 210 | * |
207 | * @param handle handle to the GNS service | 211 | * @param handle handle to the GNS service |
208 | * @param name the name to look up | 212 | * @param name the name to look up |
213 | * @param private_zone the public zone of the private zone | ||
214 | * @param shorten_zone the public zone of the shorten zone | ||
209 | * @param zone the zone to start the resolution in | 215 | * @param zone the zone to start the resolution in |
210 | * @param proc function to call on result | 216 | * @param proc function to call on result |
211 | * @param proc_cls closure for processor | 217 | * @param proc_cls closure for processor |
@@ -213,10 +219,12 @@ GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, | |||
213 | */ | 219 | */ |
214 | struct GNUNET_GNS_QueueEntry * | 220 | struct GNUNET_GNS_QueueEntry * |
215 | GNUNET_GNS_shorten_zone (struct GNUNET_GNS_Handle *handle, | 221 | GNUNET_GNS_shorten_zone (struct GNUNET_GNS_Handle *handle, |
216 | const char * name, | 222 | const char * name, |
217 | struct GNUNET_CRYPTO_ShortHashCode *zone, | 223 | struct GNUNET_CRYPTO_ShortHashCode *private_zone, |
218 | GNUNET_GNS_ShortenResultProcessor proc, | 224 | struct GNUNET_CRYPTO_ShortHashCode *shorten_zone, |
219 | void *proc_cls); | 225 | struct GNUNET_CRYPTO_ShortHashCode *zone, |
226 | GNUNET_GNS_ShortenResultProcessor proc, | ||
227 | void *proc_cls); | ||
220 | 228 | ||
221 | /* *************** Standard API: get authority ******************* */ | 229 | /* *************** Standard API: get authority ******************* */ |
222 | 230 | ||