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.h32
1 files changed, 18 insertions, 14 deletions
diff --git a/src/transport/gnunet-service-transport_validation.h b/src/transport/gnunet-service-transport_validation.h
index 86ede1576..1840c0919 100644
--- a/src/transport/gnunet-service-transport_validation.h
+++ b/src/transport/gnunet-service-transport_validation.h
@@ -34,13 +34,15 @@
34/** 34/**
35 * Start the validation subsystem. 35 * Start the validation subsystem.
36 */ 36 */
37void GST_validation_start (void); 37void
38GST_validation_start (void);
38 39
39 40
40/** 41/**
41 * Stop the validation subsystem. 42 * Stop the validation subsystem.
42 */ 43 */
43void GST_validation_stop (void); 44void
45GST_validation_stop (void);
44 46
45 47
46/** 48/**
@@ -54,12 +56,12 @@ void GST_validation_stop (void);
54 * if we did not initiate the connection 56 * if we did not initiate the connection
55 * @param sender_address_len number of bytes in sender_address 57 * @param sender_address_len number of bytes in sender_address
56 */ 58 */
57void GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, 59void
58 const struct GNUNET_MessageHeader *hdr, 60GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
59 const char *plugin_name, 61 const struct GNUNET_MessageHeader *hdr,
60 struct Session *session, 62 const char *plugin_name, struct Session *session,
61 const void *sender_address, 63 const void *sender_address,
62 size_t sender_address_len); 64 size_t sender_address_len);
63 65
64 66
65/** 67/**
@@ -69,8 +71,9 @@ void GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
69 * @param sender peer sending the PONG 71 * @param sender peer sending the PONG
70 * @param hdr the PONG 72 * @param hdr the PONG
71 */ 73 */
72void GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender, 74void
73 const struct GNUNET_MessageHeader *hdr); 75GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender,
76 const struct GNUNET_MessageHeader *hdr);
74 77
75 78
76/** 79/**
@@ -79,7 +82,8 @@ void GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender,
79 * 82 *
80 * @param hello the HELLO we received 83 * @param hello the HELLO we received
81 */ 84 */
82void GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello); 85void
86GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello);
83 87
84 88
85/** 89/**
@@ -122,9 +126,9 @@ typedef void (*GST_ValidationAddressCallback) (void *cls,
122 * @param cb_cls closure for 'cb' 126 * @param cb_cls closure for 'cb'
123 * @return context to cancel, NULL if 'snapshot_only' is GNUNET_YES 127 * @return context to cancel, NULL if 'snapshot_only' is GNUNET_YES
124 */ 128 */
125void GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target, 129void
126 GST_ValidationAddressCallback cb, 130GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target,
127 void *cb_cls); 131 GST_ValidationAddressCallback cb, void *cb_cls);
128 132
129 133
130#endif 134#endif