aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.h')
-rw-r--r--src/transport/gnunet-service-transport_validation.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/transport/gnunet-service-transport_validation.h b/src/transport/gnunet-service-transport_validation.h
index a3692e3cf..f5282d4e9 100644
--- a/src/transport/gnunet-service-transport_validation.h
+++ b/src/transport/gnunet-service-transport_validation.h
@@ -59,16 +59,15 @@ GST_validation_stop (void);
59 */ 59 */
60void 60void
61GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender, 61GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender,
62 const struct GNUNET_HELLO_Address *address, 62 const struct GNUNET_HELLO_Address *address,
63 struct Session *session, 63 struct Session *session, int in_use);
64 int in_use);
65 64
66 65
67/** 66/**
68 * Query validation about the latest observed latency on a given 67 * Query validation about the latest observed latency on a given
69 * address. 68 * address.
70 * 69 *
71 * @param sender peer 70 * @param sender peer
72 * @param address the address 71 * @param address the address
73 * @param session session 72 * @param session session
74 * @return observed latency of the address, FOREVER if the address was 73 * @return observed latency of the address, FOREVER if the address was
@@ -76,8 +75,8 @@ GST_validation_set_address_use (const struct GNUNET_PeerIdentity *sender,
76 */ 75 */
77struct GNUNET_TIME_Relative 76struct GNUNET_TIME_Relative
78GST_validation_get_address_latency (const struct GNUNET_PeerIdentity *sender, 77GST_validation_get_address_latency (const struct GNUNET_PeerIdentity *sender,
79 const struct GNUNET_HELLO_Address *address, 78 const struct GNUNET_HELLO_Address *address,
80 struct Session *session); 79 struct Session *session);
81 80
82 81
83/** 82/**
@@ -91,8 +90,8 @@ GST_validation_get_address_latency (const struct GNUNET_PeerIdentity *sender,
91void 90void
92GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, 91GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
93 const struct GNUNET_MessageHeader *hdr, 92 const struct GNUNET_MessageHeader *hdr,
94 const struct GNUNET_HELLO_Address *sender_address, 93 const struct GNUNET_HELLO_Address *sender_address,
95 struct Session *session); 94 struct Session *session);
96 95
97 96
98/** 97/**
@@ -138,7 +137,8 @@ typedef void (*GST_ValidationAddressCallback) (void *cls,
138 valid_until, 137 valid_until,
139 struct GNUNET_TIME_Absolute 138 struct GNUNET_TIME_Absolute
140 validation_block, 139 validation_block,
141 const struct GNUNET_HELLO_Address *address); 140 const struct GNUNET_HELLO_Address
141 * address);
142 142
143 143
144/** 144/**