diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-18 12:49:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-18 12:49:23 +0000 |
commit | 2128c61720c9019302a1add71796c69d2ee36fc4 (patch) | |
tree | b665fa4994da1132b6e5d85312bfacab9460d8a9 /src/include/gnunet_ats_service.h | |
parent | 9cd0d5068f3341fe8451a61872894f28a5ac9047 (diff) | |
download | gnunet-2128c61720c9019302a1add71796c69d2ee36fc4.tar.gz gnunet-2128c61720c9019302a1add71796c69d2ee36fc4.zip |
add 'strength' argument to address suggestion request for ATS
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r-- | src/include/gnunet_ats_service.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index 4264f22a4..32e98abd6 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -302,12 +302,13 @@ GNUNET_ATS_connectivity_done (struct GNUNET_ATS_ConnectivityHandle *ch); | |||
302 | * | 302 | * |
303 | * @param ch handle | 303 | * @param ch handle |
304 | * @param peer identity of the peer we need an address for | 304 | * @param peer identity of the peer we need an address for |
305 | * TODO: add argument to allow client to express 'strength's of request | 305 | * @param strength how urgent is the need for such a suggestion |
306 | * @return suggestion handle, NULL if request is already pending | 306 | * @return suggestion handle, NULL if request is already pending |
307 | */ | 307 | */ |
308 | struct GNUNET_ATS_ConnectivitySuggestHandle * | 308 | struct GNUNET_ATS_ConnectivitySuggestHandle * |
309 | GNUNET_ATS_connectivity_suggest (struct GNUNET_ATS_ConnectivityHandle *ch, | 309 | GNUNET_ATS_connectivity_suggest (struct GNUNET_ATS_ConnectivityHandle *ch, |
310 | const struct GNUNET_PeerIdentity *peer); | 310 | const struct GNUNET_PeerIdentity *peer, |
311 | uint32_t strength); | ||
311 | 312 | ||
312 | 313 | ||
313 | /** | 314 | /** |