[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35090 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35090 - gnunet/src/include |
Date: |
Tue, 3 Feb 2015 18:40:54 +0100 |
Author: grothoff
Date: 2015-02-03 18:40:54 +0100 (Tue, 03 Feb 2015)
New Revision: 35090
Modified:
gnunet/src/include/gnunet_ats_service.h
gnunet/src/include/gnunet_bandwidth_lib.h
Log:
doxygen, new define
Modified: gnunet/src/include/gnunet_ats_service.h
===================================================================
--- gnunet/src/include/gnunet_ats_service.h 2015-02-03 17:40:44 UTC (rev
35089)
+++ gnunet/src/include/gnunet_ats_service.h 2015-02-03 17:40:54 UTC (rev
35090)
@@ -439,12 +439,14 @@
* and address preferences as determined by ATS.
*
* @param cls closure
- * @param address suggested address (including peer identity of the peer)
+ * @param peer for which we suggest an address, NULL if ATS connection died
+ * @param address suggested address (including peer identity of the peer),
+ * may be NULL to signal disconnect from peer
* @param session session to use, NULL to establish a new outgoing session
* @param bandwidth_out assigned outbound bandwidth for the connection,
- * 0 to disconnect
+ * 0 to signal disconnect
* @param bandwidth_in assigned inbound bandwidth for the connection,
- * 0 to disconnect
+ * 0 to signal disconnect
*/
typedef void
(*GNUNET_ATS_AddressSuggestionCallback) (void *cls,
Modified: gnunet/src/include/gnunet_bandwidth_lib.h
===================================================================
--- gnunet/src/include/gnunet_bandwidth_lib.h 2015-02-03 17:40:44 UTC (rev
35089)
+++ gnunet/src/include/gnunet_bandwidth_lib.h 2015-02-03 17:40:54 UTC (rev
35090)
@@ -135,6 +135,12 @@
/**
+ * Convenience definition to use for 0-bandwidth.
+ */
+#define GNUNET_BANDWIDTH_ZERO GNUNET_BANDWIDTH_value_init (0)
+
+
+/**
* Create a new bandwidth value.
*
* @param bytes_per_second value to create
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35090 - gnunet/src/include,
gnunet <=