GNUnet  0.11.x
Data Fields
PreferenceClient Struct Reference

Preference client, as in a client that expressed preferences for peers. More...

Collaboration diagram for PreferenceClient:
[legend]

Data Fields

struct PreferenceClientnext
 Next in client list. More...
 
struct PreferenceClientprev
 Previous in client peer list. More...
 
struct GNUNET_SERVICE_Clientclient
 Client handle. More...
 
struct GNUNET_CONTAINER_MultiPeerMappeer2pref
 Mapping peer identities to struct PreferencePeer entry for the respective peer. More...
 
double f_abs_sum [GNUNET_ATS_PREFERENCE_END]
 Array of sums of absolute preferences for all peers as expressed by this client. More...
 

Detailed Description

Preference client, as in a client that expressed preferences for peers.

This is the information we keep track of for each such client.

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

Field Documentation

◆ next

struct PreferenceClient* PreferenceClient::next

◆ prev

struct PreferenceClient* PreferenceClient::prev

Previous in client peer list.

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

◆ client

struct GNUNET_SERVICE_Client* PreferenceClient::client

Client handle.

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

Referenced by GAS_preference_client_disconnect(), and update_preference().

◆ peer2pref

struct GNUNET_CONTAINER_MultiPeerMap* PreferenceClient::peer2pref

◆ f_abs_sum

double PreferenceClient::f_abs_sum[GNUNET_ATS_PREFERENCE_END]

Array of sums of absolute preferences for all peers as expressed by this client.

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

Referenced by recalculate_relative_preferences(), update_abs_sum(), update_preference(), and update_rel_sum().


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