-/**
- * Handle to a lookup request
- */
-struct GNUNET_GNS_ReverseLookupRequest
-{
-
- /**
- * DLL
- */
- struct GNUNET_GNS_ReverseLookupRequest *next;
-
- /**
- * DLL
- */
- struct GNUNET_GNS_ReverseLookupRequest *prev;
-
- /**
- * handle to gns
- */
- struct GNUNET_GNS_Handle *gns_handle;
-
- /**
- * processor to call on lookup result
- */
- GNUNET_GNS_ReverseLookupResultProcessor lookup_proc;
-
- /**
- * @e lookup_proc closure
- */
- void *proc_cls;
-
- /**
- * Envelope with the message for this queue entry.
- */
- struct GNUNET_MQ_Envelope *env;
-
- /**
- * request id
- */
- uint32_t r_id;
-
-};
-
-
-/**
- * Connection to the GNS service.
- */
-struct GNUNET_GNS_Handle
-{
-
- /**
- * Configuration to use.
- */
- const struct GNUNET_CONFIGURATION_Handle *cfg;
-
- /**
- * Connection to service (if available).
- */
- struct GNUNET_MQ_Handle *mq;
-
- /**
- * Head of linked list of active lookup requests.
- */
- struct GNUNET_GNS_LookupRequest *lookup_head;
-
- /**
- * Tail of linked list of active lookup requests.
- */
- struct GNUNET_GNS_LookupRequest *lookup_tail;
-
- /**
- * Head of linked list of active reverse lookup requests.
- */
- struct GNUNET_GNS_ReverseLookupRequest *rev_lookup_head;
-
- /**
- * Tail of linked list of active reverse lookup requests.
- */
- struct GNUNET_GNS_ReverseLookupRequest *rev_lookup_tail;
- /**
- * Reconnect task
- */
- struct GNUNET_SCHEDULER_Task *reconnect_task;
-
- /**
- * How long do we wait until we try to reconnect?
- */
- struct GNUNET_TIME_Relative reconnect_backoff;
-
- /**
- * Request Id generator. Incremented by one for each request.
- */
- uint32_t r_id_gen;
-
-};
-