-remove trailing whitespace
[oweals/gnunet.git] / src / include / gnunet_dnsstub_lib.h
index 3c4206f991a43406229c854f292fa3c636e759f4..73db0a49b11b4e2368daf8f67a1b255abcd9bc0b 100644 (file)
 
 /**
  * Opaque handle to the stub resolver.
- */ 
+ */
 struct GNUNET_DNSSTUB_Context;
 
 /**
  * Opaque handle to a socket doing UDP requests.
- */ 
+ */
 struct GNUNET_DNSSTUB_RequestSocket;
 
 
@@ -113,4 +113,12 @@ GNUNET_DNSSTUB_resolve2 (struct GNUNET_DNSSTUB_Context *ctx,
                         void *rc_cls);
 
 
+/**
+ * Cancel DNS resolution.
+ *
+ * @param rs resolution to cancel
+ */
+void
+GNUNET_DNSSTUB_resolve_cancel (struct GNUNET_DNSSTUB_RequestSocket *rs);
+
 #endif