diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.h')
-rw-r--r-- | src/transport/gnunet-service-transport_validation.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport_validation.h b/src/transport/gnunet-service-transport_validation.h index 374512e47..9768c425e 100644 --- a/src/transport/gnunet-service-transport_validation.h +++ b/src/transport/gnunet-service-transport_validation.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #define GNUNET_SERVICE_TRANSPORT_VALIDATION_H | 27 | #define GNUNET_SERVICE_TRANSPORT_VALIDATION_H |
28 | 28 | ||
29 | #include "gnunet_statistics_service.h" | 29 | #include "gnunet_statistics_service.h" |
30 | #include "gnunet_transport_validation.h" | ||
31 | #include "gnunet_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
32 | 31 | ||
33 | 32 | ||
@@ -49,7 +48,7 @@ GST_validation_stop (void); | |||
49 | * | 48 | * |
50 | */ | 49 | */ |
51 | int | 50 | int |
52 | GST_validation_handle_ping (const GNUNET_PeerIdentity *sender, | 51 | GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, |
53 | const struct GNUNET_MessageHeader *hdr, | 52 | const struct GNUNET_MessageHeader *hdr, |
54 | const char *plugin_name, | 53 | const char *plugin_name, |
55 | const void *sender_address, | 54 | const void *sender_address, |
@@ -59,7 +58,7 @@ GST_validation_handle_ping (const GNUNET_PeerIdentity *sender, | |||
59 | * | 58 | * |
60 | */ | 59 | */ |
61 | int | 60 | int |
62 | GST_validation_handle_pong (const GNUNET_PeerIdentity *sender, | 61 | GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender, |
63 | const struct GNUNET_MessageHeader *hdr, | 62 | const struct GNUNET_MessageHeader *hdr, |
64 | const char *plugin_name, | 63 | const char *plugin_name, |
65 | const void *sender_address, | 64 | const void *sender_address, |
@@ -84,7 +83,7 @@ struct GST_ValidationIteratorContext; | |||
84 | * is a time in the future if we're currently denying re-validation | 83 | * is a time in the future if we're currently denying re-validation |
85 | */ | 84 | */ |
86 | typedef void (*GST_ValidationAddressCallback)(void *cls, | 85 | typedef void (*GST_ValidationAddressCallback)(void *cls, |
87 | const GNUNET_PeerIdentity *target, | 86 | const struct GNUNET_PeerIdentity *target, |
88 | struct GNUNET_TIME_Absolute last_validated_at, | 87 | struct GNUNET_TIME_Absolute last_validated_at, |
89 | struct GNUNET_TIME_Absolute validation_block, | 88 | struct GNUNET_TIME_Absolute validation_block, |
90 | const char *plugin_name, | 89 | const char *plugin_name, |
@@ -92,7 +91,7 @@ typedef void (*GST_ValidationAddressCallback)(void *cls, | |||
92 | size_t plugin_address_len); | 91 | size_t plugin_address_len); |
93 | 92 | ||
94 | struct GST_ValidationIteratorContext * | 93 | struct GST_ValidationIteratorContext * |
95 | GST_validation_get_addresses (const GNUNET_PeerIdentity *target, | 94 | GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target, |
96 | GST_ValidationAddressCallback cb, | 95 | GST_ValidationAddressCallback cb, |
97 | void *cb_cls); | 96 | void *cb_cls); |
98 | 97 | ||