aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_gns_service.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-06-29 14:36:19 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-06-29 14:36:19 +0000
commite6d0c3119a3348eeb539a7e52113e12a7bb37a5f (patch)
tree87d6b6489ac64fc94b801391e5d6c8151f99a1f6 /src/include/gnunet_gns_service.h
parent33891883bf2fdd6430de2c5beded9aa5be151179 (diff)
downloadgnunet-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.h16
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,
197struct GNUNET_GNS_QueueEntry * 199struct GNUNET_GNS_QueueEntry *
198GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, 200GNUNET_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 */
214struct GNUNET_GNS_QueueEntry * 220struct GNUNET_GNS_QueueEntry *
215GNUNET_GNS_shorten_zone (struct GNUNET_GNS_Handle *handle, 221GNUNET_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