diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.h')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h index 1d218ba57..7fde42d96 100644 --- a/src/ats/gnunet-service-ats_addresses.h +++ b/src/ats/gnunet-service-ats_addresses.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #define GNUNET_SERVICE_ATS_ADDRESSES_H | 28 | #define GNUNET_SERVICE_ATS_ADDRESSES_H |
29 | 29 | ||
30 | #include "gnunet_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
31 | #include "gnunet_ats_service.h" | 31 | #include "gnunet_ats_service.h" |
32 | #include "ats.h" | 32 | #include "ats.h" |
33 | 33 | ||
34 | /** | 34 | /** |
@@ -48,18 +48,16 @@ GAS_addresses_done (void); | |||
48 | 48 | ||
49 | void | 49 | void |
50 | GAS_addresses_update (const struct GNUNET_PeerIdentity *peer, | 50 | GAS_addresses_update (const struct GNUNET_PeerIdentity *peer, |
51 | const char *plugin_name, | 51 | const char *plugin_name, const void *plugin_addr, |
52 | const void *plugin_addr, size_t plugin_addr_len, | 52 | size_t plugin_addr_len, uint32_t session_id, |
53 | uint32_t session_id, | 53 | const struct GNUNET_ATS_Information *atsi, |
54 | const struct GNUNET_ATS_Information *atsi, | 54 | uint32_t atsi_count); |
55 | uint32_t atsi_count); | ||
56 | 55 | ||
57 | 56 | ||
58 | void | 57 | void |
59 | GAS_addresses_destroy (const struct GNUNET_PeerIdentity *peer, | 58 | GAS_addresses_destroy (const struct GNUNET_PeerIdentity *peer, |
60 | const char *plugin_name, | 59 | const char *plugin_name, const void *plugin_addr, |
61 | const void *plugin_addr, size_t plugin_addr_len, | 60 | size_t plugin_addr_len, uint32_t session_id); |
62 | uint32_t session_id); | ||
63 | 61 | ||
64 | 62 | ||
65 | void | 63 | void |
@@ -78,8 +76,8 @@ GAS_addresses_request_address (const struct GNUNET_PeerIdentity *peer); | |||
78 | // not with 'addresses' in the future... | 76 | // not with 'addresses' in the future... |
79 | void | 77 | void |
80 | GAS_addresses_change_preference (const struct GNUNET_PeerIdentity *peer, | 78 | GAS_addresses_change_preference (const struct GNUNET_PeerIdentity *peer, |
81 | enum GNUNET_ATS_PreferenceKind kind, | 79 | enum GNUNET_ATS_PreferenceKind kind, |
82 | float score); | 80 | float score); |
83 | 81 | ||
84 | 82 | ||
85 | /* FIXME: add performance request API */ | 83 | /* FIXME: add performance request API */ |