#include "gnunet_ats_service.h"
#include "gnunet_transport_service.h"
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_EXTRA_LOGGING
-#define VERBOSE_ARM GNUNET_NO
+#define VERBOSE_ARM GNUNET_EXTRA_LOGGING
#define START_ARM GNUNET_YES
#define VALID GNUNET_TIME_absolute_get_forever ()
-static struct GNUNET_ATS_Handle *ats;
+static struct GNUNET_ATS_SchedulingHandle *ats;
static struct GNUNET_ATS_SuggestionContext *asc;
/**
* Performance information associated with this address (array).
*/
- struct GNUNET_TRANSPORT_ATS_Information *ats;
+ struct GNUNET_ATS_Information *ats;
/**
* Name of the plugin
const char *plugin_name, const void *plugin_addr,
size_t plugin_addr_len, struct Session *session,
struct GNUNET_BANDWIDTH_Value32NBO bandwidth,
- const struct GNUNET_TRANSPORT_ATS_Information *ats,
- uint32_t ats_count)
+ const struct GNUNET_ATS_Information *ats, uint32_t ats_count)
{
struct ExpectedValues *ex = cls;
ar->session = NULL;
ar->plugin_addr = "address1";
ar->plugin_addr_len = strlen (ar->plugin_addr) + 1;
- ar->ats = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_ATS_Information));
+ ar->ats = GNUNET_malloc (sizeof (struct GNUNET_ATS_Information));
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Initial ATS information\n");
ar->ats_count = 1;