GNUnet  0.11.x
Data Fields
GNUNET_ATS_ReservationContext Struct Reference

Linked list of pending reservations. More...

Collaboration diagram for GNUNET_ATS_ReservationContext:
[legend]

Data Fields

struct GNUNET_ATS_ReservationContextnext
 Kept in a DLL. More...
 
struct GNUNET_ATS_ReservationContextprev
 Kept in a DLL. More...
 
struct GNUNET_PeerIdentity peer
 Target peer. More...
 
int32_t size
 Desired reservation. More...
 
GNUNET_ATS_ReservationCallback rcb
 Function to call on result. More...
 
void * rcb_cls
 Closure for rcb. More...
 
int undo
 Do we need to undo this reservation if it succeeded? Set to GNUNET_YES if a reservation is cancelled. More...
 

Detailed Description

Linked list of pending reservations.

Definition at line 38 of file ats_api_performance.c.

Field Documentation

◆ next

struct GNUNET_ATS_ReservationContext* GNUNET_ATS_ReservationContext::next

Kept in a DLL.

Definition at line 43 of file ats_api_performance.c.

Referenced by handle_address_list().

◆ prev

struct GNUNET_ATS_ReservationContext* GNUNET_ATS_ReservationContext::prev

Kept in a DLL.

Definition at line 48 of file ats_api_performance.c.

◆ peer

struct GNUNET_PeerIdentity GNUNET_ATS_ReservationContext::peer

◆ size

int32_t GNUNET_ATS_ReservationContext::size

Desired reservation.

Definition at line 58 of file ats_api_performance.c.

Referenced by GNUNET_ATS_reserve_bandwidth().

◆ rcb

GNUNET_ATS_ReservationCallback GNUNET_ATS_ReservationContext::rcb

◆ rcb_cls

void* GNUNET_ATS_ReservationContext::rcb_cls

Closure for rcb.

Definition at line 68 of file ats_api_performance.c.

Referenced by do_reconnect(), GNUNET_ATS_reserve_bandwidth(), and handle_reservation_result().

◆ undo

int GNUNET_ATS_ReservationContext::undo

Do we need to undo this reservation if it succeeded? Set to GNUNET_YES if a reservation is cancelled.

(at that point, 'info' is also set to NULL; however, info will ALSO be NULL for the reservation context that is created to undo the original request, so 'info' being NULL cannot be used to check if undo is required).

Definition at line 78 of file ats_api_performance.c.

Referenced by GNUNET_ATS_reserve_bandwidth(), and handle_reservation_result().


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