-more api
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 11 Jul 2012 20:24:10 +0000 (20:24 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 11 Jul 2012 20:24:10 +0000 (20:24 +0000)
src/gns/gns_api.c
src/include/gnunet_gns_service.h

index 79bd096c5d182d9ef97cb72577882f852874cc08..0ab7ed7318b557bffeeb635c8abf86599b0e2937 100644 (file)
@@ -738,7 +738,7 @@ GNUNET_GNS_cancel_lookup_request (struct GNUNET_GNS_LookupRequest *lr)
 /**
  * Cancel pending shorten request
  *
- * @param lr the lookup request to cancel
+ * @param sr the lookup request to cancel
  */
 void
 GNUNET_GNS_cancel_shorten_request (struct GNUNET_GNS_ShortenRequest *sr)
@@ -762,7 +762,7 @@ GNUNET_GNS_cancel_shorten_request (struct GNUNET_GNS_ShortenRequest *sr)
 /**
  * Cancel pending get auth  request
  *
- * @param lr the lookup request to cancel
+ * @param gar the lookup request to cancel
  */
 void
 GNUNET_GNS_cancel_get_auth_request (struct GNUNET_GNS_GetAuthRequest *gar)
index a138e96f9d8475285f9122ca9e97939304bda09b..91df6373d3bf69e88e9b3ab8f743b9d3ae32d802 100644 (file)
@@ -195,6 +195,15 @@ GNUNET_GNS_lookup_zone (struct GNUNET_GNS_Handle *handle,
                          GNUNET_GNS_LookupResultProcessor proc,
                          void *proc_cls);
 
+
+/**
+ * Cancel pending lookup request
+ *
+ * @param lr the lookup request to cancel
+ */
+void
+GNUNET_GNS_cancel_lookup_request (struct GNUNET_GNS_LookupRequest *lr);
+
 /* *************** Standard API: shorten ******************* */
 
 
@@ -250,6 +259,15 @@ GNUNET_GNS_shorten_zone (struct GNUNET_GNS_Handle *handle,
                          GNUNET_GNS_ShortenResultProcessor proc,
                          void *proc_cls);
 
+
+/**
+ * Cancel pending shorten request
+ *
+ * @param sr the lookup request to cancel
+ */
+void
+GNUNET_GNS_cancel_shorten_request (struct GNUNET_GNS_ShortenRequest *sr);
+
 /* *************** Standard API: get authority ******************* */
 
 
@@ -279,6 +297,15 @@ GNUNET_GNS_get_authority (struct GNUNET_GNS_Handle *handle,
                     GNUNET_GNS_GetAuthResultProcessor proc,
                     void *proc_cls);
 
+
+/**
+ * Cancel pending get auth request
+ *
+ * @param gar the lookup request to cancel
+ */
+void
+GNUNET_GNS_cancel_get_auth_request (struct GNUNET_GNS_GetAuthRequest *gar)
+
 #if 0                           /* keep Emacsens' auto-indent happy */
 {
 #endif