aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gns_api.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-23 15:59:56 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-23 15:59:56 +0000
commitc83780d7be3f1a744f72437220b351ce2ce0d68e (patch)
tree6b7ead4481e941526f6996bc222b848714fc36b8 /src/gns/gns_api.c
parent8c5d25dad5b1b6f36c35d7d8956fa323a1c99951 (diff)
downloadgnunet-c83780d7be3f1a744f72437220b351ce2ce0d68e.tar.gz
gnunet-c83780d7be3f1a744f72437220b351ce2ce0d68e.zip
-doxygen
Diffstat (limited to 'src/gns/gns_api.c')
-rw-r--r--src/gns/gns_api.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c
index b0d2f3eac..09e5426f9 100644
--- a/src/gns/gns_api.c
+++ b/src/gns/gns_api.c
@@ -605,18 +605,18 @@ GNUNET_GNS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg)
605/** 605/**
606 * Shutdown connection with the GNS service. 606 * Shutdown connection with the GNS service.
607 * 607 *
608 * @param h handle of the GNS connection to stop 608 * @param handle handle of the GNS connection to stop
609 */ 609 */
610void 610void
611GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *h) 611GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *handle)
612{ 612{
613 GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); 613 GNUNET_CLIENT_disconnect (handle->client, GNUNET_NO);
614 if (GNUNET_SCHEDULER_NO_TASK != h->reconnect_task) 614 if (GNUNET_SCHEDULER_NO_TASK != handle->reconnect_task)
615 { 615 {
616 GNUNET_SCHEDULER_cancel (h->reconnect_task); 616 GNUNET_SCHEDULER_cancel (handle->reconnect_task);
617 h->reconnect_task = GNUNET_SCHEDULER_NO_TASK; 617 handle->reconnect_task = GNUNET_SCHEDULER_NO_TASK;
618 } 618 }
619 GNUNET_free(h); 619 GNUNET_free(handle);
620 /* disco from GNS */ 620 /* disco from GNS */
621} 621}
622 622
@@ -639,9 +639,10 @@ get_request_id (struct GNUNET_GNS_Handle *h)
639 * 639 *
640 * @param handle handle to the GNS service 640 * @param handle handle to the GNS service
641 * @param name the name to look up 641 * @param name the name to look up
642 * @param iter function to call on each result 642 * @param type the record type to look up
643 * @param iter_cls closure for iter 643 * @param proc processor to call on result
644 * @return handle to stop the async get 644 * @param proc_cls closure for processor
645 * @return handle to the get
645 */ 646 */
646struct GNUNET_GNS_QueueEntry * 647struct GNUNET_GNS_QueueEntry *
647GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, 648GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle,