Linked list of pending reservations. More...
Data Fields | |
struct GNUNET_ATS_ReservationContext * | next |
Kept in a DLL. More... | |
struct GNUNET_ATS_ReservationContext * | prev |
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... | |
Linked list of pending reservations.
Definition at line 38 of file ats_api_performance.c.
struct GNUNET_ATS_ReservationContext* GNUNET_ATS_ReservationContext::next |
Kept in a DLL.
Definition at line 43 of file ats_api_performance.c.
struct GNUNET_ATS_ReservationContext* GNUNET_ATS_ReservationContext::prev |
Kept in a DLL.
Definition at line 48 of file ats_api_performance.c.
struct GNUNET_PeerIdentity GNUNET_ATS_ReservationContext::peer |
Target peer.
Definition at line 48 of file ats_api_performance.c.
Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), gnunet_testing.StatisticsCondition::evaluate(), gnunet_testing.EqualStatisticsCondition::evaluate(), GNUNET_ATS_reserve_bandwidth(), and handle_reservation_result().
int32_t GNUNET_ATS_ReservationContext::size |
Desired reservation.
Definition at line 58 of file ats_api_performance.c.
Referenced by GNUNET_ATS_reserve_bandwidth().
GNUNET_ATS_ReservationCallback GNUNET_ATS_ReservationContext::rcb |
Function to call on result.
Definition at line 63 of file ats_api_performance.c.
Referenced by do_reconnect(), GNUNET_ATS_performance_done(), GNUNET_ATS_reserve_bandwidth(), GNUNET_ATS_reserve_bandwidth_cancel(), and handle_reservation_result().
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().
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().