diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
commit | 16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch) | |
tree | e09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/transport/gnunet-service-transport_validation.h | |
parent | 4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff) | |
download | gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip |
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.h')
-rw-r--r-- | src/transport/gnunet-service-transport_validation.h | 32 |
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 | */ |
37 | void GST_validation_start (void); | 37 | void |
38 | GST_validation_start (void); | ||
38 | 39 | ||
39 | 40 | ||
40 | /** | 41 | /** |
41 | * Stop the validation subsystem. | 42 | * Stop the validation subsystem. |
42 | */ | 43 | */ |
43 | void GST_validation_stop (void); | 44 | void |
45 | GST_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 | */ |
57 | void GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | 59 | void |
58 | const struct GNUNET_MessageHeader *hdr, | 60 | GST_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 | */ |
72 | void GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender, | 74 | void |
73 | const struct GNUNET_MessageHeader *hdr); | 75 | GST_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 | */ |
82 | void GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello); | 85 | void |
86 | GST_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 | */ |
125 | void GST_validation_get_addresses (const struct GNUNET_PeerIdentity *target, | 129 | void |
126 | GST_ValidationAddressCallback cb, | 130 | GST_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 |