diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-08 14:54:43 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-08 14:54:43 +0000 |
commit | 876d49149c192e9531581989e988c1a5637e1389 (patch) | |
tree | 3e6288c38cb26c24eadb5edef834489bace03ee5 /src/ats/gnunet-service-ats_addresses.c | |
parent | ddf009c6d6b00878994e53af4cdc65ce6a2a61fa (diff) | |
download | gnunet-876d49149c192e9531581989e988c1a5637e1389.tar.gz gnunet-876d49149c192e9531581989e988c1a5637e1389.zip |
dummy for address in use
first I have to find the bugs in scheduling api, then I can add the logic here
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.c')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 22304aa6d..d5c0b0915 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c | |||
@@ -380,6 +380,18 @@ find_address_it (void *cls, const GNUNET_HashCode * key, void *value) | |||
380 | 380 | ||
381 | 381 | ||
382 | void | 382 | void |
383 | GAS_addresses_in_use (const struct GNUNET_PeerIdentity *peer, | ||
384 | const char *plugin_name, const void *plugin_addr, | ||
385 | size_t plugin_addr_len, uint32_t session_id, | ||
386 | int in_use) | ||
387 | { | ||
388 | |||
389 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received `%s' message for peer `%s': %i\n", | ||
390 | "ADDRESS_IN_USE", | ||
391 | GNUNET_i2s (peer), in_use); | ||
392 | } | ||
393 | |||
394 | void | ||
383 | GAS_addresses_request_address (const struct GNUNET_PeerIdentity *peer) | 395 | GAS_addresses_request_address (const struct GNUNET_PeerIdentity *peer) |
384 | { | 396 | { |
385 | struct ATS_Address *aa; | 397 | struct ATS_Address *aa; |