aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_service.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-05-21 08:02:38 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-05-21 08:02:38 +0000
commitcb8d8079b402d69f1fa92ccdb5242e117493e174 (patch)
treea9786560574bf0fd9e6cec9b0448dff14868f01b /src/include/gnunet_ats_service.h
parent3a33753786eca144a1dd2c3c4884b78774f29e3b (diff)
downloadgnunet-cb8d8079b402d69f1fa92ccdb5242e117493e174.tar.gz
gnunet-cb8d8079b402d69f1fa92ccdb5242e117493e174.zip
performance API indicates disconnect
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r--src/include/gnunet_ats_service.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index 0268391cd..eeb9eec38 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -756,9 +756,9 @@ struct GNUNET_ATS_PerformanceHandle;
756 * Signature of a function that is called with QoS information about an address. 756 * Signature of a function that is called with QoS information about an address.
757 * 757 *
758 * @param cls closure 758 * @param cls closure
759 * @param address the address 759 * @param address the address, NULL if ATS service was disconnected
760 * @param address_active is this address actively used to maintain a connection 760 * @param address_active is this address actively used to maintain a connection
761 * to a peer 761 to a peer
762 * @param bandwidth_out assigned outbound bandwidth for the connection 762 * @param bandwidth_out assigned outbound bandwidth for the connection
763 * @param bandwidth_in assigned inbound bandwidth for the connection 763 * @param bandwidth_in assigned inbound bandwidth for the connection
764 * @param ats performance data for the address (as far as known) 764 * @param ats performance data for the address (as far as known)
@@ -766,10 +766,12 @@ struct GNUNET_ATS_PerformanceHandle;
766 */ 766 */
767typedef void 767typedef void
768(*GNUNET_ATS_AddressInformationCallback) (void *cls, 768(*GNUNET_ATS_AddressInformationCallback) (void *cls,
769 const struct GNUNET_HELLO_Address *address, int address_active, 769 const struct GNUNET_HELLO_Address *address,
770 int address_active,
770 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, 771 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
771 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, 772 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
772 const struct GNUNET_ATS_Information *ats, uint32_t ats_count); 773 const struct GNUNET_ATS_Information *ats,
774 uint32_t ats_count);
773 775
774/** 776/**
775 * Handle for an address listing operation 777 * Handle for an address listing operation