aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_pr.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-11-24 23:45:27 +0000
committerChristian Grothoff <christian@grothoff.org>2012-11-24 23:45:27 +0000
commitc345383f56aa7d7da19fcd129ab0974c16ed92bc (patch)
tree7de83a21b8562653602430736b7ecf3cdb09eba0 /src/fs/gnunet-service-fs_pr.h
parent5a9231ed9630c600cc2da70354692d74fe66329d (diff)
actually using stream for dblock/iblock transfer if possible
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.h')
-rw-r--r--src/fs/gnunet-service-fs_pr.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/fs/gnunet-service-fs_pr.h b/src/fs/gnunet-service-fs_pr.h
index ab5ce0fab9..371aa660ba 100644
--- a/src/fs/gnunet-service-fs_pr.h
+++ b/src/fs/gnunet-service-fs_pr.h
@@ -93,8 +93,7 @@ struct GSF_PendingRequestData
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;
@@ -360,6 +359,15 @@ GSF_dht_lookup_ (struct GSF_PendingRequest *pr);
/**
+ * Consider downloading via stream (if possible)
+ *
+ * @param pr the pending request to process
+ */
+void
+GSF_stream_lookup_ (struct GSF_PendingRequest *pr);
+
+
+/**
* Function to be called after we're done processing
* replies from the local lookup.
*