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.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/transport/gnunet-service-transport_validation.h b/src/transport/gnunet-service-transport_validation.h
index bdf8bd9ed..86ede1576 100644
--- a/src/transport/gnunet-service-transport_validation.h
+++ b/src/transport/gnunet-service-transport_validation.h
@@ -54,13 +54,12 @@ void GST_validation_stop (void);
54 * if we did not initiate the connection 54 * if we did not initiate the connection
55 * @param sender_address_len number of bytes in sender_address 55 * @param sender_address_len number of bytes in sender_address
56 */ 56 */
57void 57void GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
58GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, 58 const struct GNUNET_MessageHeader *hdr,
59 const struct GNUNET_MessageHeader *hdr, 59 const char *plugin_name,
60 const char *plugin_name, 60 struct Session *session,
61 struct Session *session, 61 const void *sender_address,
62 const void *sender_address, 62 size_t sender_address_len);
63 size_t sender_address_len);
64 63
65 64
66/** 65/**
@@ -70,9 +69,8 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
70 * @param sender peer sending the PONG 69 * @param sender peer sending the PONG
71 * @param hdr the PONG 70 * @param hdr the PONG
72 */ 71 */
73void 72void GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender,
74GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender, 73 const struct GNUNET_MessageHeader *hdr);
75 const struct GNUNET_MessageHeader *hdr);
76 74
77 75
78/** 76/**
@@ -124,9 +122,9 @@ typedef void (*GST_ValidationAddressCallback) (void *cls,
124 * @param cb_cls closure for 'cb' 122 * @param cb_cls closure for 'cb'
125 * @return context to cancel, NULL if 'snapshot_only' is GNUNET_YES 123 * @return context to cancel, NULL if 'snapshot_only' is GNUNET_YES
126 */ 124 */
127void 125void GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target,
128GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target, 126 GST_ValidationAddressCallback cb,
129 GST_ValidationAddressCallback cb, void *cb_cls); 127 void *cb_cls);
130 128
131 129
132#endif 130#endif