* @param cls closure
* @param peer peer identity this notification is about
* @param atsi performance data for the connection
+ * @param atsi_count number of records in 'atsi'
*/
typedef void (*GNUNET_CORE_ConnectEventHandler) (void *cls,
const struct
GNUNET_PeerIdentity * peer,
const struct
- GNUNET_TRANSPORT_ATS_Information
- * atsi);
+ GNUNET_ATS_Information * atsi,
+ unsigned int atsi_count);
/**
* for loopback messages where we are both sender and receiver)
* @param message the actual message
* @param atsi performance data for the connection
+ * @param atsi_count number of records in 'atsi'
* @return GNUNET_OK to keep the connection open,
* GNUNET_SYSERR to close it (signal serious error)
*/
other,
const struct GNUNET_MessageHeader *
message,
- const struct
- GNUNET_TRANSPORT_ATS_Information *
- atsi);
+ const struct GNUNET_ATS_Information
+ * atsi, unsigned int atsi_count);
/**
*/
typedef void (*GNUNET_CORE_StartupCallback) (void *cls,
struct GNUNET_CORE_Handle * server,
- const struct GNUNET_PeerIdentity *my_identity);
+ const struct GNUNET_PeerIdentity *
+ my_identity);
/**