/**
* Opaque handle to the stub resolver.
- */
+ */
struct GNUNET_DNSSTUB_Context;
/**
* Opaque handle to a socket doing UDP requests.
- */
+ */
struct GNUNET_DNSSTUB_RequestSocket;
* Perform DNS resolution using given address.
*
* @param ctx stub resolver to use
- * @param af address family to use
+ * @param sa the socket address
+ * @param sa_len the socket length
* @param request DNS request to transmit
* @param request_len number of bytes in msg
* @param rc function to call with result
void *rc_cls);
+/**
+ * Cancel DNS resolution.
+ *
+ * @param rs resolution to cancel
+ */
+void
+GNUNET_DNSSTUB_resolve_cancel (struct GNUNET_DNSSTUB_RequestSocket *rs);
+
#endif