diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-05 14:01:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-05 14:01:56 +0000 |
commit | 823f07128f2fc2c672ad064b63a3f65059d0b5ae (patch) | |
tree | 9bd51dcc0748283de1a1d4f11221cc3383ca873e /src/ats | |
parent | 5c7e09ae41cc0b52640d8a5f6e2dd58a9c4b232d (diff) | |
download | gnunet-823f07128f2fc2c672ad064b63a3f65059d0b5ae.tar.gz gnunet-823f07128f2fc2c672ad064b63a3f65059d0b5ae.zip |
more doxygen documentation
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/gnunet-service-ats-solver_proportional.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats-solver_proportional.c b/src/ats/gnunet-service-ats-solver_proportional.c index 4fe5b3559..a48714855 100644 --- a/src/ats/gnunet-service-ats-solver_proportional.c +++ b/src/ats/gnunet-service-ats-solver_proportional.c | |||
@@ -1106,6 +1106,15 @@ GAS_proportional_address_add (void *solver, | |||
1106 | uint32_t network); | 1106 | uint32_t network); |
1107 | 1107 | ||
1108 | 1108 | ||
1109 | /** | ||
1110 | * Transport properties for this address have changed | ||
1111 | * | ||
1112 | * @param solver solver handle | ||
1113 | * @param address the address | ||
1114 | * @param type the ATSI type in HBO | ||
1115 | * @param abs_value the absolute value of the property | ||
1116 | * @param rel_value the normalized value | ||
1117 | */ | ||
1109 | void | 1118 | void |
1110 | GAS_proportional_address_property_changed (void *solver, | 1119 | GAS_proportional_address_property_changed (void *solver, |
1111 | struct ATS_Address *address, | 1120 | struct ATS_Address *address, |
@@ -1148,6 +1157,16 @@ GAS_proportional_address_property_changed (void *solver, | |||
1148 | } | 1157 | } |
1149 | 1158 | ||
1150 | 1159 | ||
1160 | /** | ||
1161 | * Transport session for this address has changed | ||
1162 | * | ||
1163 | * NOTE: values in addresses are already updated | ||
1164 | * | ||
1165 | * @param solver solver handle | ||
1166 | * @param address the address | ||
1167 | * @param cur_session the current session | ||
1168 | * @param new_session the new session | ||
1169 | */ | ||
1151 | void | 1170 | void |
1152 | GAS_proportional_address_session_changed (void *solver, | 1171 | GAS_proportional_address_session_changed (void *solver, |
1153 | struct ATS_Address *address, | 1172 | struct ATS_Address *address, |
@@ -1161,6 +1180,16 @@ GAS_proportional_address_session_changed (void *solver, | |||
1161 | } | 1180 | } |
1162 | } | 1181 | } |
1163 | 1182 | ||
1183 | |||
1184 | /** | ||
1185 | * Usage for this address has changed | ||
1186 | * | ||
1187 | * NOTE: values in addresses are already updated | ||
1188 | * | ||
1189 | * @param solver solver handle | ||
1190 | * @param address the address | ||
1191 | * @param in_use usage state | ||
1192 | */ | ||
1164 | void | 1193 | void |
1165 | GAS_proportional_address_inuse_changed (void *solver, | 1194 | GAS_proportional_address_inuse_changed (void *solver, |
1166 | struct ATS_Address *address, | 1195 | struct ATS_Address *address, |
@@ -1171,6 +1200,17 @@ GAS_proportional_address_inuse_changed (void *solver, | |||
1171 | (GNUNET_YES == in_use) ? "USED" : "UNUSED"); | 1200 | (GNUNET_YES == in_use) ? "USED" : "UNUSED"); |
1172 | } | 1201 | } |
1173 | 1202 | ||
1203 | |||
1204 | /** | ||
1205 | * Network scope for this address has changed | ||
1206 | * | ||
1207 | * NOTE: values in addresses are already updated | ||
1208 | * | ||
1209 | * @param solver solver handle | ||
1210 | * @param address the address | ||
1211 | * @param current_network the current network | ||
1212 | * @param new_network the new network | ||
1213 | */ | ||
1174 | void | 1214 | void |
1175 | GAS_proportional_address_change_network (void *solver, | 1215 | GAS_proportional_address_change_network (void *solver, |
1176 | struct ATS_Address *address, | 1216 | struct ATS_Address *address, |