comments
authorChristian Grothoff <christian@grothoff.org>
Fri, 14 Oct 2011 08:55:32 +0000 (08:55 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 14 Oct 2011 08:55:32 +0000 (08:55 +0000)
src/ats/gnunet-service-ats_addresses.h
src/ats/gnunet-service-ats_performance.h
src/ats/gnunet-service-ats_scheduling.c
src/ats/gnunet-service-ats_scheduling.h

index 4e27b96d2b3b94eb09b5fe9c250b9135beb03ed0..f8fada2aa0c483076fb1d1003b5e59d895137e97 100644 (file)
@@ -60,8 +60,14 @@ GAS_address_destroyed (const struct GNUNET_PeerIdentity *peer,
                       uint32_t session_id);
 
 
+// FIXME: this function should likely end up in the LP-subsystem and
+// not with 'addresses' in the future...
+// Note: this call should trigger an address suggestion
+// (GAS_scheduling_transmit_address_suggestion)
 void
 GAS_addresses_request_address (const struct GNUNET_PeerIdentity *peer);
 
 
+/* FIXME: add performance request API */
+
 #endif
index 24f65ed924a644b17e52eda517a0f174fbf3f163..79ffeb5b39e73735e227bad8c3ddb4bc4d0f8e1e 100644 (file)
@@ -91,5 +91,7 @@ void
 GAS_performance_done (void);
 
 
+/* FIXME: add API to broadcast performance updates! */
+
 #endif
 /* end of gnunet-service-ats_performance.h */
index f97578384d5ff8adbf0f2fc282603fa3c2b848a2..76c192107f0077b8fc602454a80e88b9ebf7ae4f 100644 (file)
@@ -148,15 +148,15 @@ GAS_scheduling_remove_client (struct GNUNET_SERVER_Client *client)
  * @param bandwidth_in assigned inbound bandwidth
  */
 void
-GAS_scheduling_transmit_address_update (const struct GNUNET_PeerIdentity *peer,
-                                       const char *plugin_name,
-                                       const void *plugin_addr, size_t plugin_addr_len,
-                                       struct GNUNET_SERVER_Client *session_client,
-                                       uint32_t session_id,
-                                       const struct GNUNET_TRANSPORT_ATS_Information *atsi,
-                                       uint32_t atsi_count,                            
-                                       struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
-                                       struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in)
+GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *peer,
+                                           const char *plugin_name,
+                                           const void *plugin_addr, size_t plugin_addr_len,
+                                           struct GNUNET_SERVER_Client *session_client,
+                                           uint32_t session_id,
+                                           const struct GNUNET_TRANSPORT_ATS_Information *atsi,
+                                           uint32_t atsi_count,                                
+                                           struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
+                                           struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in)
 {
   struct SchedulingClient *sc;
   struct AddressSuggestionMessage *msg;
index d2506de6a35965f705b58b1f34d64d1bf0c07acb..8d6fa977d28973ad1edf0fbe6fb5dee9797699c2 100644 (file)
@@ -65,15 +65,15 @@ GAS_scheduling_remove_client (struct GNUNET_SERVER_Client *client);
  * @param bandwidth_in assigned inbound bandwidth
  */
 void
-GAS_scheduling_transmit_address_update (const struct GNUNET_PeerIdentity *peer,
-                                       const char *plugin_name,
-                                       const void *plugin_addr, size_t plugin_addr_len,
-                                       struct GNUNET_SERVER_Client *session_client,
-                                       uint32_t session_id,
-                                       const struct GNUNET_TRANSPORT_ATS_Information *atsi,
-                                       uint32_t atsi_count,                            
-                                       struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
-                                       struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in);
+GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *peer,
+                                           const char *plugin_name,
+                                           const void *plugin_addr, size_t plugin_addr_len,
+                                           struct GNUNET_SERVER_Client *session_client,
+                                           uint32_t session_id,
+                                           const struct GNUNET_TRANSPORT_ATS_Information *atsi,
+                                           uint32_t atsi_count,                                
+                                           struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out,
+                                           struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in);
 
 
 /**