GNUnet  0.11.x
Data Fields
PeerRelative Struct Reference

Relative preferences for a peer. More...

Data Fields

double f_rel [GNUNET_ATS_PREFERENCE_END]
 Array of relative preference values, to be indexed by an enum GNUNET_ATS_PreferenceKind. More...
 
unsigned int num_clients
 Number of clients that are expressing a preference for this peer. More...
 

Detailed Description

Relative preferences for a peer.

Definition at line 60 of file gnunet-service-ats_preferences.c.

Field Documentation

◆ f_rel

double PeerRelative::f_rel[GNUNET_ATS_PREFERENCE_END]

Array of relative preference values, to be indexed by an enum GNUNET_ATS_PreferenceKind.

Definition at line 66 of file gnunet-service-ats_preferences.c.

Referenced by GAS_preference_get_by_peer(), GAS_preference_init(), update_preference(), and update_relative_values_for_peer().

◆ num_clients

unsigned int PeerRelative::num_clients

Number of clients that are expressing a preference for this peer.

When this counter reaches zero, this entry is freed.

Definition at line 73 of file gnunet-service-ats_preferences.c.

Referenced by free_preference(), and update_preference().


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