doxy
[oweals/gnunet.git] / src / core / gnunet-service-core_clients.h
index 7e316d90ff6763658e05768b36eabd9106cedfa3..8ece1ce1d7e60087ddb38f9c072f0b762600d0af 100644 (file)
@@ -41,8 +41,8 @@
  */
 void
 GSC_CLIENTS_send_to_client (struct GNUNET_SERVER_Client *client,
-                           const struct GNUNET_MessageHeader *msg,
-                           int can_drop);
+                            const struct GNUNET_MessageHeader *msg,
+                            int can_drop);
 
 
 /**
@@ -58,12 +58,13 @@ GSC_CLIENTS_send_to_client (struct GNUNET_SERVER_Client *client,
  * @param tmap_new updated type map for the neighbour, NULL for disconnect
  */
 void
-GDS_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client,
-                                          const struct GNUNET_PeerIdentity *neighbour,
-                                          const struct GNUNET_TRANSPORT_ATS_Information *atsi,
-                                          unsigned int atsi_count,
-                                          const struct GSC_TypeMap *tmap_old,
-                                          const struct GSC_TypeMap *tmap_new);
+GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client,
+                                           const struct GNUNET_PeerIdentity
+                                           *neighbour,
+                                           const struct GNUNET_ATS_Information
+                                           *atsi, unsigned int atsi_count,
+                                           const struct GSC_TypeMap *tmap_old,
+                                           const struct GSC_TypeMap *tmap_new);
 
 
 /**
@@ -78,19 +79,20 @@ GDS_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client,
  * @param tmap_new updated type map for the neighbour, NULL for disconnect
  */
 void
-GDS_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity *neighbour,
-                                           const struct GNUNET_TRANSPORT_ATS_Information *atsi,
-                                           unsigned int atsi_count,
-                                           const struct GSC_TypeMap *tmap_old,
-                                           const struct GSC_TypeMap *tmap_new);
+GSC_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity
+                                            *neighbour,
+                                            const struct GNUNET_ATS_Information
+                                            *atsi, unsigned int atsi_count,
+                                            const struct GSC_TypeMap *tmap_old,
+                                            const struct GSC_TypeMap *tmap_new);
 
 
 /**
  * Deliver P2P message to interested clients. Caller must have checked
- * that the sending peer actually lists the given message type as one 
+ * that the sending peer actually lists the given message type as one
  * of its types.
  *
- * @param sender peer who sent us the message 
+ * @param sender peer who sent us the message
  * @param atsi performance information about neighbour
  * @param atsi_count number of entries in 'ats' array
  * @param msg the message
@@ -100,11 +102,11 @@ GDS_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity *ne
  */
 void
 GSC_CLIENTS_deliver_message (const struct GNUNET_PeerIdentity *sender,
-                            const struct GNUNET_TRANSPORT_ATS_Information *atsi,
-                            unsigned int atsi_count,
-                            const struct GNUNET_MessageHeader *msg,
-                            uint16_t msize,
-                            int options);
+                             const struct GNUNET_ATS_Information *atsi,
+                             unsigned int atsi_count,
+                             const struct GNUNET_MessageHeader *msg,
+                             uint16_t msize,
+                            uint32_t options);
 
 
 /**