/* handle to a resolution process */
struct ResolverHandle;
-/**
- * continuation called when cleanup of resolver finishes
- */
-typedef void (*ResolverCleanupContinuation) (void);
/**
* processor for a record lookup result
/* DLL */
struct ResolverHandle *prev;
+ /* Last record data found */
+ struct GNUNET_NAMESTORE_RecordData rd;
+
+ /* Number of last record data found */
+ unsigned int rd_count;
+
/* The name to resolve */
char name[MAX_DNS_NAME_LENGTH];
/* timeout task for lookup */
GNUNET_SCHEDULER_TaskIdentifier timeout;
- /* Head of the authority list */
- struct AuthorityChain *ahead;
+ /* Authority to shorten */
+ struct AuthorityChain *auth;
/* handle to namestore request */
struct GNUNET_NAMESTORE_QueueEntry* namestore_task;
/**
* Cleanup resolver: Terminate pending lookups
- *
- * @param cont continuation to call when finished
*/
void
-gns_resolver_cleanup(ResolverCleanupContinuation cont);
+gns_resolver_cleanup(void);
/**
* Lookup of a record in a specific zone