struct GNUNET_HashCode query;
/**
- * Namespace to query, only set if the type is SBLOCK.
- * Allocated after struct only if needed. Do not free!
- */
- const struct GNUNET_HashCode *namespace;
-
- /**
- * Identity of a peer hosting the content, only set if
- * 'has_target' is GNUNET_YES.
+ * Identity of a peer hosting the content, otherwise NULl.
* Allocated after struct only if needed. Do not free!
*/
const struct GNUNET_PeerIdentity *target;
/**
* Fields for the plan module to track a DLL with the request.
*/
- struct GSF_RequestPlanReference *rpr_head;
+ struct GSF_PendingRequestPlanBijection *pr_head;
/**
* Fields for the plan module to track a DLL with the request.
*/
- struct GSF_RequestPlanReference *rpr_tail;
+ struct GSF_PendingRequestPlanBijection *pr_tail;
/**
* Current TTL for the request.
* @param options request options
* @param type type of the block that is being requested
* @param query key for the lookup
- * @param namespace namespace to lookup, NULL for no namespace
* @param target preferred target for the request, NULL for none
* @param bf_data raw data for bloom filter for known replies, can be NULL
* @param bf_size number of bytes in bf_data
GSF_pending_request_create_ (enum GSF_PendingRequestOptions options,
enum GNUNET_BLOCK_Type type,
const struct GNUNET_HashCode * query,
- const struct GNUNET_HashCode * namespace,
const struct GNUNET_PeerIdentity *target,
const char *bf_data, size_t bf_size,
uint32_t mingle, uint32_t anonymity_level,
GSF_dht_lookup_ (struct GSF_PendingRequest *pr);
+/**
+ * Consider downloading via mesh (if possible)
+ *
+ * @param pr the pending request to process
+ */
+void
+GSF_mesh_lookup_ (struct GSF_PendingRequest *pr);
+
+
/**
* Function to be called after we're done processing
* replies from the local lookup.