[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r18079 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r18079 - gnunet/src/include |
Date: |
Wed, 9 Nov 2011 17:38:01 +0100 |
Author: wachs
Date: 2011-11-09 17:38:01 +0100 (Wed, 09 Nov 2011)
New Revision: 18079
Modified:
gnunet/src/include/gnunet_ats_service.h
gnunet/src/include/gnunet_protocols.h
Log:
cancel suggests
Modified: gnunet/src/include/gnunet_ats_service.h
===================================================================
--- gnunet/src/include/gnunet_ats_service.h 2011-11-09 16:37:44 UTC (rev
18078)
+++ gnunet/src/include/gnunet_ats_service.h 2011-11-09 16:38:01 UTC (rev
18079)
@@ -497,6 +497,16 @@
/**
+ * We want to cancel ATS suggesting addresses for a peer.
+ *
+ * @param sh handle
+ * @param peer identity of the peer
+ */
+void
+GNUNET_ATS_suggest_address_cancel (struct GNUNET_ATS_SchedulingHandle *sh,
+ const struct GNUNET_PeerIdentity *peer);
+
+/**
* We have updated performance statistics for a given address. Note
* that this function can be called for addresses that are currently
* in use as well as addresses that are valid but not actively in use.
Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h 2011-11-09 16:37:44 UTC (rev
18078)
+++ gnunet/src/include/gnunet_protocols.h 2011-11-09 16:38:01 UTC (rev
18079)
@@ -907,60 +907,68 @@
#define GNUNET_MESSAGE_TYPE_ATS_REQUEST_ADDRESS 341
/**
+ * Type of the 'struct RequestAddressMessage' sent by clients to ATS
+ * to request an address to help connect.
+ */
+#define GNUNET_MESSAGE_TYPE_ATS_REQUEST_ADDRESS_CANCEL 342
+
+/**
* Type of the 'struct AddressUpdateMessage' sent by clients to ATS
* to inform ATS about performance changes.
*/
-#define GNUNET_MESSAGE_TYPE_ATS_ADDRESS_UPDATE 342
+#define GNUNET_MESSAGE_TYPE_ATS_ADDRESS_UPDATE 343
/**
* Type of the 'struct AddressDestroyedMessage' sent by clients to ATS
* to inform ATS about an address being unavailable.
*/
-#define GNUNET_MESSAGE_TYPE_ATS_ADDRESS_DESTROYED 343
+#define GNUNET_MESSAGE_TYPE_ATS_ADDRESS_DESTROYED 344
/**
* Type of the 'struct AddressSuggestionMessage' sent by ATS to clients
* to suggest switching to a different address.
*/
-#define GNUNET_MESSAGE_TYPE_ATS_ADDRESS_SUGGESTION 344
+#define GNUNET_MESSAGE_TYPE_ATS_ADDRESS_SUGGESTION 345
/**
* Type of the 'struct PeerInformationMessage' sent by ATS to clients
* to inform about QoS for a particular connection.
*/
-#define GNUNET_MESSAGE_TYPE_ATS_PEER_INFORMATION 345
+#define GNUNET_MESSAGE_TYPE_ATS_PEER_INFORMATION 346
/**
* Type of the 'struct ReservationRequestMessage' sent by clients to ATS
* to ask for inbound bandwidth reservations.
*/
-#define GNUNET_MESSAGE_TYPE_ATS_RESERVATION_REQUEST 346
+#define GNUNET_MESSAGE_TYPE_ATS_RESERVATION_REQUEST 347
/**
* Type of the 'struct ReservationResultMessage' sent by ATS to clients
* in response to a reservation request.
*/
-#define GNUNET_MESSAGE_TYPE_ATS_RESERVATION_RESULT 347
+#define GNUNET_MESSAGE_TYPE_ATS_RESERVATION_RESULT 348
/**
* Type of the 'struct ChangePreferenceMessage' sent by clients to ATS
* to ask for allocation preference changes.
*/
-#define GNUNET_MESSAGE_TYPE_ATS_PREFERENCE_CHANGE 348
+#define GNUNET_MESSAGE_TYPE_ATS_PREFERENCE_CHANGE 349
/**
* Type of the 'struct SessionReleaseMessage' sent by ATS to client
* to confirm that a session ID was destroyed.
*/
-#define GNUNET_MESSAGE_TYPE_ATS_SESSION_RELEASE 349
+#define GNUNET_MESSAGE_TYPE_ATS_SESSION_RELEASE 350
/**
* Type of the 'struct AddressUseMessage' sent by ATS to client
* to confirm that an address is used or not used anymore
*/
-#define GNUNET_MESSAGE_TYPE_ATS_ADDRESS_IN_USE 350
+#define GNUNET_MESSAGE_TYPE_ATS_ADDRESS_IN_USE 351
+
+
/*******************************************************************************
* TRANSPORT message types
******************************************************************************/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r18079 - gnunet/src/include,
gnunet <=