aboutsummaryrefslogtreecommitdiff
path: root/src/ats/test_ats_api_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/test_ats_api_common.h')
-rw-r--r--src/ats/test_ats_api_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ats/test_ats_api_common.h b/src/ats/test_ats_api_common.h
index 3fbd0691b..1f9bd10c1 100644
--- a/src/ats/test_ats_api_common.h
+++ b/src/ats/test_ats_api_common.h
@@ -27,6 +27,7 @@
27#include "platform.h" 27#include "platform.h"
28#include "gnunet_common.h" 28#include "gnunet_common.h"
29#include "gnunet_ats_service.h" 29#include "gnunet_ats_service.h"
30#include "gnunet-service-ats_addresses.h"
30 31
31#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) 32#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
32 33
@@ -72,6 +73,12 @@ int
72compare_ats (const struct GNUNET_ATS_Information *ats_is, uint32_t ats_count_is, 73compare_ats (const struct GNUNET_ATS_Information *ats_is, uint32_t ats_count_is,
73 const struct GNUNET_ATS_Information *ats_should, uint32_t ats_count_should); 74 const struct GNUNET_ATS_Information *ats_should, uint32_t ats_count_should);
74 75
76struct ATS_Address *
77create_address (const struct GNUNET_PeerIdentity *peer,
78 const char *plugin_name,
79 const void *plugin_addr, size_t plugin_addr_len,
80 uint32_t session_id);
81
75/** 82/**
76 * Load quotas for networks from configuration 83 * Load quotas for networks from configuration
77 * 84 *