diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-26 10:50:06 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-26 10:50:06 +0000 |
commit | fcd8cd22ee2c843b86cc945062ebbeb49f6030a2 (patch) | |
tree | 21e575a8a6e02ff7edb11c187a42d7b8c5b4f7a9 /src/ats/gnunet-service-ats_performance.c | |
parent | f22d1f58fde071d607853f50e9c0a7a2a3166e4e (diff) | |
download | gnunet-fcd8cd22ee2c843b86cc945062ebbeb49f6030a2.tar.gz gnunet-fcd8cd22ee2c843b86cc945062ebbeb49f6030a2.zip |
changes
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 585de6669..3739ad638 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -505,10 +505,24 @@ GAS_handle_request_address_list (void *cls, struct GNUNET_SERVER_Client *client, | |||
505 | 505 | ||
506 | void | 506 | void |
507 | GAS_handle_performance_update (struct GNUNET_PeerIdentity *peer, | 507 | GAS_handle_performance_update (struct GNUNET_PeerIdentity *peer, |
508 | const char *plugin_name, | ||
509 | const void *plugin_addr, | ||
510 | size_t plugin_addr_len, | ||
511 | const int active, | ||
508 | struct GNUNET_ATS_Information *ats, | 512 | struct GNUNET_ATS_Information *ats, |
509 | uint32_t ats_count) | 513 | uint32_t ats_count, |
514 | struct GNUNET_BANDWIDTH_Value32NBO | ||
515 | bandwidth_out, | ||
516 | struct GNUNET_BANDWIDTH_Value32NBO | ||
517 | bandwidth_in) | ||
510 | { | 518 | { |
511 | /* Notify here */ | 519 | /* Notify here */ |
520 | GAS_performance_notify_all_clients (peer, | ||
521 | plugin_name, | ||
522 | plugin_addr, plugin_addr_len, | ||
523 | active, | ||
524 | ats, ats_count, | ||
525 | bandwidth_out, bandwidth_in); | ||
512 | 526 | ||
513 | #if 0 | 527 | #if 0 |
514 | struct PerformanceClient *cur; | 528 | struct PerformanceClient *cur; |