GNUnet 0.21.1
GSF_PendingRequestPlanBijection Struct Reference

M:N binding of plans to pending requests. More...

Collaboration diagram for GSF_PendingRequestPlanBijection:
[legend]

Data Fields

struct GSF_PendingRequestPlanBijectionnext_PR
 This is a doubly-linked list. More...
 
struct GSF_PendingRequestPlanBijectionprev_PR
 This is a doubly-linked list. More...
 
struct GSF_PendingRequestPlanBijectionnext_PE
 This is a doubly-linked list. More...
 
struct GSF_PendingRequestPlanBijectionprev_PE
 This is a doubly-linked list. More...
 
struct GSF_RequestPlanrp
 Associated request plan (tells us one of the peers that we plan to forward the request to). More...
 
struct GSF_PendingRequestpr
 Associated pending request (identifies request details and one of the origins of the request). More...
 

Detailed Description

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.

Field Documentation

◆ next_PR

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_().

◆ prev_PR

struct GSF_PendingRequestPlanBijection* GSF_PendingRequestPlanBijection::prev_PR

This is a doubly-linked list.

Definition at line 76 of file gnunet-service-fs_pe.c.

◆ next_PE

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().

◆ prev_PE

struct GSF_PendingRequestPlanBijection* GSF_PendingRequestPlanBijection::prev_PE

This is a doubly-linked list.

Definition at line 86 of file gnunet-service-fs_pe.c.

◆ rp

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().

◆ 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().


The documentation for this struct was generated from the following file: