diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-10-08 09:43:17 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-10-08 09:43:17 +0000 |
commit | 30b0483d7a219c24497c34f5ba21ed6d9c675819 (patch) | |
tree | 3385a6a33550c7f2f6999671c961a1c929e8627c /src/ats/gnunet-service-ats_addresses.h | |
parent | 0b2fd8bc93e74fb4094e0e94ad7344da99b81874 (diff) | |
download | gnunet-30b0483d7a219c24497c34f5ba21ed6d9c675819.tar.gz gnunet-30b0483d7a219c24497c34f5ba21ed6d9c675819.zip |
improved documentation
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.h')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h index 71dfde41f..38ccd95c3 100644 --- a/src/ats/gnunet-service-ats_addresses.h +++ b/src/ats/gnunet-service-ats_addresses.h | |||
@@ -734,13 +734,21 @@ GAS_addresses_change_preference (struct GAS_Addresses_Handle *handle, | |||
734 | enum GNUNET_ATS_PreferenceKind kind, float score_abs); | 734 | enum GNUNET_ATS_PreferenceKind kind, float score_abs); |
735 | 735 | ||
736 | /** | 736 | /** |
737 | * Change the preference for a peer | 737 | * Application feedback on how good preference requirements are fulfilled |
738 | * for a specific preference in the given time scope [now - scope .. now] | ||
739 | * | ||
740 | * An application notifies ATS if (and only if) it has feedback information | ||
741 | * for a specific property. This value is valid until the feedback score is | ||
742 | * updated by the application. | ||
743 | * | ||
744 | * If the application has no feedback for this preference kind the application | ||
745 | * will not explicitly call. | ||
738 | * | 746 | * |
739 | * @param handle the address handle | 747 | * @param handle the address handle |
740 | * @param application the client sending this request | 748 | * @param application the application sending this request |
741 | * @param peer the peer id | 749 | * @param peer the peer id |
742 | * @param scope the time interval this valid for: [now - scope .. now] | 750 | * @param scope the time interval this valid for: [now - scope .. now] |
743 | * @param kind the preference kind to change | 751 | * @param kind the preference kind this feedback is intended for |
744 | * @param score_abs the new preference score | 752 | * @param score_abs the new preference score |
745 | */ | 753 | */ |
746 | void | 754 | void |