diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-02-08 00:10:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-02-08 00:10:36 +0000 |
commit | 1a11ec73bfe097463b60b41ceed503e3d2924a44 (patch) | |
tree | 7bf27c684adefa0af13fae69ad1c547bc568085b /src/fs/gnunet-service-fs_cp.c | |
parent | 86d7f49fc64f0c766d4bec6b3f34879f108fc8a9 (diff) | |
download | gnunet-1a11ec73bfe097463b60b41ceed503e3d2924a44.tar.gz gnunet-1a11ec73bfe097463b60b41ceed503e3d2924a44.zip |
stuff
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index 0bacb3ec3..2361cd4fc 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -427,6 +427,28 @@ GSF_handle_p2p_migration_stop_ (void *cls, | |||
427 | 427 | ||
428 | 428 | ||
429 | /** | 429 | /** |
430 | * Handle P2P "QUERY" message. | ||
431 | * | ||
432 | * @param other the other peer involved (sender or receiver, NULL | ||
433 | * for loopback messages where we are both sender and receiver) | ||
434 | * @param message the actual message | ||
435 | * @return pending request handle, NULL on error | ||
436 | */ | ||
437 | struct GSF_PendingRequest * | ||
438 | GSF_handle_p2p_query_ (const struct GNUNET_PeerIdentity *other, | ||
439 | const struct GNUNET_MessageHeader *message) | ||
440 | { | ||
441 | // FIXME! | ||
442 | // parse request | ||
443 | // setup pending request | ||
444 | // track pending request to cancel it on peer disconnect (!) | ||
445 | // return it! | ||
446 | // (actual planning & execution up to caller!) | ||
447 | return NULL; | ||
448 | } | ||
449 | |||
450 | |||
451 | /** | ||
430 | * Function called if there has been a timeout trying to satisfy | 452 | * Function called if there has been a timeout trying to satisfy |
431 | * a transmission request. | 453 | * a transmission request. |
432 | * | 454 | * |