M:N binding of plans to pending requests. More...
Data Fields | |
struct GSF_PendingRequestPlanBijection * | next_PR |
This is a doubly-linked list. More... | |
struct GSF_PendingRequestPlanBijection * | prev_PR |
This is a doubly-linked list. More... | |
struct GSF_PendingRequestPlanBijection * | next_PE |
This is a doubly-linked list. More... | |
struct GSF_PendingRequestPlanBijection * | prev_PE |
This is a doubly-linked list. More... | |
struct GSF_RequestPlan * | rp |
Associated request plan (tells us one of the peers that we plan to forward the request to). More... | |
struct GSF_PendingRequest * | pr |
Associated pending request (identifies request details and one of the origins of the request). More... | |
M:N binding of plans to pending requests.
Each pending request can be in a number of plans, and each plan can have a number of pending requests. Objects of this type indicate a mapping of a plan to a particular pending request.
The corresponding head and tail of the "PE" MDLL are stored in a struct GSF_RequestPlan
. (We need to be able to lookup all pending requests corresponding to a given plan entry.)
Similarly head and tail of the "PR" MDLL are stored with the struct GSF_PendingRequest
. (We need to be able to lookup all plan entries corresponding to a given pending request.)
Definition at line 66 of file gnunet-service-fs_pe.c.
struct GSF_PendingRequestPlanBijection* GSF_PendingRequestPlanBijection::next_PR |
This is a doubly-linked list.
Definition at line 71 of file gnunet-service-fs_pe.c.
Referenced by GSF_request_plan_reference_get_last_transmission_().
struct GSF_PendingRequestPlanBijection* GSF_PendingRequestPlanBijection::prev_PR |
This is a doubly-linked list.
Definition at line 76 of file gnunet-service-fs_pe.c.
struct GSF_PendingRequestPlanBijection* GSF_PendingRequestPlanBijection::next_PE |
This is a doubly-linked list.
Definition at line 81 of file gnunet-service-fs_pe.c.
Referenced by get_latest().
struct GSF_PendingRequestPlanBijection* GSF_PendingRequestPlanBijection::prev_PE |
This is a doubly-linked list.
Definition at line 86 of file gnunet-service-fs_pe.c.
struct GSF_RequestPlan* GSF_PendingRequestPlanBijection::rp |
Associated request plan (tells us one of the peers that we plan to forward the request to).
Definition at line 92 of file gnunet-service-fs_pe.c.
Referenced by GSF_plan_add_(), GSF_plan_notify_request_done_(), GSF_request_plan_reference_get_last_transmission_(), and merge_pr().
struct GSF_PendingRequest* GSF_PendingRequestPlanBijection::pr |
Associated pending request (identifies request details and one of the origins of the request).
Definition at line 98 of file gnunet-service-fs_pe.c.
Referenced by get_latest(), GSF_plan_add_(), GSF_plan_notify_peer_disconnect_(), GSF_plan_notify_request_done_(), and merge_pr().