diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-24 23:45:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-24 23:45:27 +0000 |
commit | c345383f56aa7d7da19fcd129ab0974c16ed92bc (patch) | |
tree | 7de83a21b8562653602430736b7ecf3cdb09eba0 /src/fs/gnunet-service-fs_pr.h | |
parent | 5a9231ed9630c600cc2da70354692d74fe66329d (diff) | |
download | gnunet-c345383f56aa7d7da19fcd129ab0974c16ed92bc.tar.gz gnunet-c345383f56aa7d7da19fcd129ab0974c16ed92bc.zip |
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.h | 12 |
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 ab5ce0fab..371aa660b 100644 --- a/src/fs/gnunet-service-fs_pr.h +++ b/src/fs/gnunet-service-fs_pr.h | |||
@@ -93,8 +93,7 @@ struct GSF_PendingRequestData | |||
93 | const struct GNUNET_HashCode *namespace; | 93 | const struct GNUNET_HashCode *namespace; |
94 | 94 | ||
95 | /** | 95 | /** |
96 | * Identity of a peer hosting the content, only set if | 96 | * Identity of a peer hosting the content, otherwise NULl. |
97 | * 'has_target' is GNUNET_YES. | ||
98 | * Allocated after struct only if needed. Do not free! | 97 | * Allocated after struct only if needed. Do not free! |
99 | */ | 98 | */ |
100 | const struct GNUNET_PeerIdentity *target; | 99 | const struct GNUNET_PeerIdentity *target; |
@@ -360,6 +359,15 @@ GSF_dht_lookup_ (struct GSF_PendingRequest *pr); | |||
360 | 359 | ||
361 | 360 | ||
362 | /** | 361 | /** |
362 | * Consider downloading via stream (if possible) | ||
363 | * | ||
364 | * @param pr the pending request to process | ||
365 | */ | ||
366 | void | ||
367 | GSF_stream_lookup_ (struct GSF_PendingRequest *pr); | ||
368 | |||
369 | |||
370 | /** | ||
363 | * Function to be called after we're done processing | 371 | * Function to be called after we're done processing |
364 | * replies from the local lookup. | 372 | * replies from the local lookup. |
365 | * | 373 | * |