/**
* Namespace to query, only set if the type is SBLOCK.
+ * Allocated after struct only if needed. Do not free!
*/
- struct GNUNET_HashCode namespace;
+ const struct GNUNET_HashCode *namespace;
/**
* Identity of a peer hosting the content, only set if
* 'has_target' is GNUNET_YES.
+ * Allocated after struct only if needed. Do not free!
*/
- struct GNUNET_PeerIdentity target;
+ const struct GNUNET_PeerIdentity *target;
/**
* Fields for the plan module to track a DLL with the request.
*/
unsigned int results_found;
- /**
- * Is the 'target' value set to a valid peer identity?
- */
- int has_target;
-
/**
* Has this request been started yet (local/p2p operations)? Or are
* we still constructing it?