diff options
Diffstat (limited to 'src/gns/gns_api.c')
-rw-r--r-- | src/gns/gns_api.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c index 5733e1cf3..b0d2f3eac 100644 --- a/src/gns/gns_api.c +++ b/src/gns/gns_api.c | |||
@@ -342,9 +342,8 @@ transmit_pending (void *cls, size_t size, void *buf) | |||
342 | * Process a given reply that might match the given | 342 | * Process a given reply that might match the given |
343 | * request. | 343 | * request. |
344 | * | 344 | * |
345 | * @param cls the 'struct GNUNET_GNS_ClientResultMessage' | 345 | * @param qe a queue entry |
346 | * @param key query of the request | 346 | * @param msg the shorten msg received |
347 | * @param value the 'struct GNUNET_GNS_LookupHandle' of a request matching the same key | ||
348 | */ | 347 | */ |
349 | static void | 348 | static void |
350 | process_shorten_reply (struct GNUNET_GNS_QueueEntry *qe, | 349 | process_shorten_reply (struct GNUNET_GNS_QueueEntry *qe, |
@@ -418,11 +417,8 @@ process_get_auth_reply (struct GNUNET_GNS_QueueEntry *qe, | |||
418 | /** | 417 | /** |
419 | * Process a given reply to the lookup request | 418 | * Process a given reply to the lookup request |
420 | * | 419 | * |
421 | * @param cls the 'struct GNUNET_GNS_ClientResultMessage' | 420 | * @param qe a queue entry |
422 | * @param key query of the request | 421 | * @param msg the lookup message received |
423 | * @param value the 'struct GNUNET_GNS_LookupHandle' of a request matching the same key | ||
424 | * @return GNUNET_YES to continue to iterate over all results, | ||
425 | * GNUNET_NO if the reply is malformed | ||
426 | */ | 422 | */ |
427 | static void | 423 | static void |
428 | process_lookup_reply (struct GNUNET_GNS_QueueEntry *qe, | 424 | process_lookup_reply (struct GNUNET_GNS_QueueEntry *qe, |
@@ -587,7 +583,6 @@ process_message (void *cls, const struct GNUNET_MessageHeader *msg) | |||
587 | * Initialize the connection with the GNS service. | 583 | * Initialize the connection with the GNS service. |
588 | * | 584 | * |
589 | * @param cfg configuration to use | 585 | * @param cfg configuration to use |
590 | * @param ht_len size of the internal hash table to use for parallel requests | ||
591 | * @return handle to the GNS service, or NULL on error | 586 | * @return handle to the GNS service, or NULL on error |
592 | */ | 587 | */ |
593 | struct GNUNET_GNS_Handle * | 588 | struct GNUNET_GNS_Handle * |
@@ -610,7 +605,7 @@ GNUNET_GNS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
610 | /** | 605 | /** |
611 | * Shutdown connection with the GNS service. | 606 | * Shutdown connection with the GNS service. |
612 | * | 607 | * |
613 | * @param handle handle of the GNS connection to stop | 608 | * @param h handle of the GNS connection to stop |
614 | */ | 609 | */ |
615 | void | 610 | void |
616 | GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *h) | 611 | GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *h) |