26 #ifndef GNUNET_SERVICE_ATS_PREFERENCES_H
27 #define GNUNET_SERVICE_ATS_PREFERENCES_H
38 #define DEFAULT_ABS_PREFERENCE 0.0
43 #define DEFAULT_REL_PREFERENCE 0.0
struct GNUNET_MessageHeader * msg
automatic transport selection messages
void GAS_preference_client_disconnect(struct GNUNET_SERVICE_Client *client)
A performance client disconnected.
void GAS_preference_done(void)
Shutdown preferences subsystem.
void GAS_handle_preference_change(struct GNUNET_SERVICE_Client *client, const struct ChangePreferenceMessage *msg)
Handle 'preference change' messages from clients.
void GAS_preference_init(void)
Initialize preferences subsystem.
const double * GAS_preference_get_by_peer(void *cls, const struct GNUNET_PeerIdentity *id)
Get the normalized preference values for a specific peer.
Automatic transport selection and outbound bandwidth determination.
API to create, modify and access statistics.
Client to ATS: I have a performance preference for a peer.
The identity of the host (wraps the signing key of the peer).
Handle to a client that is connected to a service.