diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-28 19:31:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-28 19:31:54 +0000 |
commit | da330bcf6e3b8b10843ed88611e6ff752d65bd99 (patch) | |
tree | 75634aecde8a017f9aa094ffcb8915123477835d /src/fs/gnunet-service-fs_pe.c | |
parent | 5c485543eae231ed44e84611aa029e548e54acba (diff) | |
download | gnunet-da330bcf6e3b8b10843ed88611e6ff752d65bd99.tar.gz gnunet-da330bcf6e3b8b10843ed88611e6ff752d65bd99.zip |
-doxygen
Diffstat (limited to 'src/fs/gnunet-service-fs_pe.c')
-rw-r--r-- | src/fs/gnunet-service-fs_pe.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c index a17715dcf..07b6b4d65 100644 --- a/src/fs/gnunet-service-fs_pe.c +++ b/src/fs/gnunet-service-fs_pe.c | |||
@@ -54,7 +54,7 @@ struct PeerPlan; | |||
54 | * a particular pending request. | 54 | * a particular pending request. |
55 | * | 55 | * |
56 | * The corresponding head and tail of the "PE" MDLL | 56 | * The corresponding head and tail of the "PE" MDLL |
57 | * are stored in a 'struct GSF_RequestPlan'. (We need | 57 | * are stored in a `struct GSF_RequestPlan`. (We need |
58 | * to be able to lookup all pending requests corresponding | 58 | * to be able to lookup all pending requests corresponding |
59 | * to a given plan entry.) | 59 | * to a given plan entry.) |
60 | * | 60 | * |
@@ -238,7 +238,7 @@ get_rp_key (struct GSF_RequestPlan *rp) | |||
238 | /** | 238 | /** |
239 | * Figure out when and how to transmit to the given peer. | 239 | * Figure out when and how to transmit to the given peer. |
240 | * | 240 | * |
241 | * @param cls the 'struct GSF_ConnectedPeer' for transmission | 241 | * @param cls the `struct GSF_ConnectedPeer` for transmission |
242 | * @param tc scheduler context | 242 | * @param tc scheduler context |
243 | */ | 243 | */ |
244 | static void | 244 | static void |
@@ -376,7 +376,7 @@ get_latest (const struct GSF_RequestPlan *rp) | |||
376 | * Function called to get a message for transmission. | 376 | * Function called to get a message for transmission. |
377 | * | 377 | * |
378 | * @param cls closure | 378 | * @param cls closure |
379 | * @param buf_size number of bytes available in buf | 379 | * @param buf_size number of bytes available in @a buf |
380 | * @param buf where to copy the message, NULL on error (peer disconnect) | 380 | * @param buf where to copy the message, NULL on error (peer disconnect) |
381 | * @return number of bytes copied to 'buf', can be 0 (without indicating an error) | 381 | * @return number of bytes copied to 'buf', can be 0 (without indicating an error) |
382 | */ | 382 | */ |
@@ -525,8 +525,8 @@ struct MergeContext | |||
525 | * @param cls closure | 525 | * @param cls closure |
526 | * @param query the query | 526 | * @param query the query |
527 | * @param element request plan stored at the node | 527 | * @param element request plan stored at the node |
528 | * @return GNUNET_YES if we should continue to iterate, | 528 | * @return #GNUNET_YES if we should continue to iterate, |
529 | * GNUNET_NO if not (merge success) | 529 | * #GNUNET_NO if not (merge success) |
530 | */ | 530 | */ |
531 | static int | 531 | static int |
532 | merge_pr (void *cls, const struct GNUNET_HashCode * query, void *element) | 532 | merge_pr (void *cls, const struct GNUNET_HashCode * query, void *element) |
@@ -707,17 +707,17 @@ GSF_plan_notify_peer_disconnect_ (const struct GSF_ConnectedPeer *cp) | |||
707 | 707 | ||
708 | /** | 708 | /** |
709 | * Get the last transmission attempt time for the request plan list | 709 | * Get the last transmission attempt time for the request plan list |
710 | * referenced by 'pr_head', that was sent to 'sender' | 710 | * referenced by @a pr_head, that was sent to @a sender |
711 | * | 711 | * |
712 | * @param pr_head request plan reference list to check. | 712 | * @param pr_head request plan reference list to check. |
713 | * @param sender the peer that we've sent the request to. | 713 | * @param sender the peer that we've sent the request to. |
714 | * @param result the timestamp to fill, set to "FOREVER" if never transmitted | 714 | * @param result the timestamp to fill, set to #GNUNET_TIME_UNIT_FOREVER_ABS if never transmitted |
715 | * @return GNUNET_YES if 'result' was changed, GNUNET_NO otherwise. | 715 | * @return #GNUNET_YES if @a result was changed, #GNUNET_NO otherwise. |
716 | */ | 716 | */ |
717 | int | 717 | int |
718 | GSF_request_plan_reference_get_last_transmission_ ( | 718 | GSF_request_plan_reference_get_last_transmission_ (struct GSF_PendingRequestPlanBijection *pr_head, |
719 | struct GSF_PendingRequestPlanBijection *pr_head, struct GSF_ConnectedPeer *sender, | 719 | struct GSF_ConnectedPeer *sender, |
720 | struct GNUNET_TIME_Absolute *result) | 720 | struct GNUNET_TIME_Absolute *result) |
721 | { | 721 | { |
722 | struct GSF_PendingRequestPlanBijection *bi; | 722 | struct GSF_PendingRequestPlanBijection *bi; |
723 | 723 | ||