/*
This file is part of GNUnet
- (C) 2012 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2012 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
/**
* Opaque handle to the stub resolver.
- */
+ */
struct GNUNET_DNSSTUB_Context;
/**
* Opaque handle to a socket doing UDP requests.
- */
+ */
struct GNUNET_DNSSTUB_RequestSocket;
void *rc_cls);
+/**
+ * Cancel DNS resolution.
+ *
+ * @param rs resolution to cancel
+ */
+void
+GNUNET_DNSSTUB_resolve_cancel (struct GNUNET_DNSSTUB_RequestSocket *rs);
+
#endif