diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-19 13:31:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-19 13:31:20 +0000 |
commit | cea1f6d7409c705a6b9a26308bae7b5674e0bd6a (patch) | |
tree | 7f3b1f825dce99d04cd2a50aeecd43e5dde6773f /src/fs/gnunet-service-fs_pr.h | |
parent | f38992e2e7f5a4b8ff33b44c9f5ba69f54987369 (diff) | |
download | gnunet-cea1f6d7409c705a6b9a26308bae7b5674e0bd6a.tar.gz gnunet-cea1f6d7409c705a6b9a26308bae7b5674e0bd6a.zip |
do not loop back
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.h')
-rw-r--r-- | src/fs/gnunet-service-fs_pr.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_pr.h b/src/fs/gnunet-service-fs_pr.h index c8ea5b47f..c8b52398e 100644 --- a/src/fs/gnunet-service-fs_pr.h +++ b/src/fs/gnunet-service-fs_pr.h | |||
@@ -356,6 +356,19 @@ GSF_local_lookup_ (struct GSF_PendingRequest *pr, | |||
356 | 356 | ||
357 | 357 | ||
358 | /** | 358 | /** |
359 | * Is the given target a legitimate peer for forwarding the given request? | ||
360 | * | ||
361 | * @param pr request | ||
362 | * @param target | ||
363 | * @return GNUNET_YES if this request could be forwarded to the given peer | ||
364 | */ | ||
365 | int | ||
366 | GSF_pending_request_test_target_ (struct GSF_PendingRequest *pr, | ||
367 | const struct GNUNET_PeerIdentity *target); | ||
368 | |||
369 | |||
370 | |||
371 | /** | ||
359 | * Setup the subsystem. | 372 | * Setup the subsystem. |
360 | */ | 373 | */ |
361 | void | 374 | void |