diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-14 23:05:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-14 23:05:42 +0000 |
commit | ca173048a26a418866163d14c9159b9ad712644b (patch) | |
tree | 7ec72935229086d494257d144dcb373b5ea858cd /src/gns/gns_api.c | |
parent | 17d1146c625092753e1b29b7ce6f0dfb603fbd09 (diff) | |
download | gnunet-ca173048a26a418866163d14c9159b9ad712644b.tar.gz gnunet-ca173048a26a418866163d14c9159b9ad712644b.zip |
-doxygen
Diffstat (limited to 'src/gns/gns_api.c')
-rw-r--r-- | src/gns/gns_api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c index 6472018f8..63d42ffee 100644 --- a/src/gns/gns_api.c +++ b/src/gns/gns_api.c | |||
@@ -506,14 +506,14 @@ GNUNET_GNS_lookup_cancel (struct GNUNET_GNS_LookupRequest *lr) | |||
506 | 506 | ||
507 | 507 | ||
508 | /** | 508 | /** |
509 | * Perform an asynchronous Lookup operation on the GNS. | 509 | * Perform an asynchronous lookup operation on the GNS. |
510 | * | 510 | * |
511 | * @param handle handle to the GNS service | 511 | * @param handle handle to the GNS service |
512 | * @param name the name to look up | 512 | * @param name the name to look up |
513 | * @param zone the zone to start the resolution in | 513 | * @param zone the zone to start the resolution in |
514 | * @param type the record type to look up | 514 | * @param type the record type to look up |
515 | * @param only_cached GNUNET_YES to only check locally not DHT for performance | 515 | * @param only_cached #GNUNET_YES to only check locally (not in the DHT) |
516 | * @param shorten_key the private key of the shorten zone (can be NULL) | 516 | * @param shorten_zone_key the private key of the shorten zone (can be NULL) |
517 | * @param proc processor to call on result | 517 | * @param proc processor to call on result |
518 | * @param proc_cls closure for processor | 518 | * @param proc_cls closure for processor |
519 | * @return handle to the get request | 519 | * @return handle to the get request |
@@ -524,7 +524,7 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, | |||
524 | const struct GNUNET_CRYPTO_EccPublicKey *zone, | 524 | const struct GNUNET_CRYPTO_EccPublicKey *zone, |
525 | int type, | 525 | int type, |
526 | int only_cached, | 526 | int only_cached, |
527 | const struct GNUNET_CRYPTO_EccPrivateKey *shorten_key, | 527 | const struct GNUNET_CRYPTO_EccPrivateKey *shorten_zone_key, |
528 | GNUNET_GNS_LookupResultProcessor proc, | 528 | GNUNET_GNS_LookupResultProcessor proc, |
529 | void *proc_cls) | 529 | void *proc_cls) |
530 | { | 530 | { |
@@ -568,10 +568,10 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, | |||
568 | lookup_msg->only_cached = htonl (only_cached); | 568 | lookup_msg->only_cached = htonl (only_cached); |
569 | lookup_msg->zone = *zone; | 569 | lookup_msg->zone = *zone; |
570 | lookup_msg->type = htonl (type); | 570 | lookup_msg->type = htonl (type); |
571 | if (NULL != shorten_key) | 571 | if (NULL != shorten_zone_key) |
572 | { | 572 | { |
573 | lookup_msg->have_key = htonl (GNUNET_YES); | 573 | lookup_msg->have_key = htonl (GNUNET_YES); |
574 | lookup_msg->shorten_key = *shorten_key; | 574 | lookup_msg->shorten_key = *shorten_zone_key; |
575 | } | 575 | } |
576 | memcpy (&lookup_msg[1], name, strlen (name) + 1); | 576 | memcpy (&lookup_msg[1], name, strlen (name) + 1); |
577 | GNUNET_CONTAINER_DLL_insert_tail (handle->pending_head, | 577 | GNUNET_CONTAINER_DLL_insert_tail (handle->pending_head, |