diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
commit | 5746309cb4be2073d550ad7a6885e918631dbc38 (patch) | |
tree | 89455bc4aadf977816b38df13f990372cd81d71a /src/transport/plugin_transport_template.c | |
parent | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff) | |
download | gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip |
indentation
Diffstat (limited to 'src/transport/plugin_transport_template.c')
-rw-r--r-- | src/transport/plugin_transport_template.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c index d83807a36..3ad8014c5 100644 --- a/src/transport/plugin_transport_template.c +++ b/src/transport/plugin_transport_template.c | |||
@@ -151,18 +151,14 @@ struct Plugin | |||
151 | * and does NOT mean that the message was not transmitted (DV) | 151 | * and does NOT mean that the message was not transmitted (DV) |
152 | */ | 152 | */ |
153 | static ssize_t | 153 | static ssize_t |
154 | template_plugin_send (void *cls, | 154 | template_plugin_send (void *cls, const struct GNUNET_PeerIdentity *target, |
155 | const struct GNUNET_PeerIdentity *target, | 155 | const char *msgbuf, size_t msgbuf_size, |
156 | const char *msgbuf, | ||
157 | size_t msgbuf_size, | ||
158 | unsigned int priority, | 156 | unsigned int priority, |
159 | struct GNUNET_TIME_Relative timeout, | 157 | struct GNUNET_TIME_Relative timeout, |
160 | struct Session *session, | 158 | struct Session *session, const void *addr, size_t addrlen, |
161 | const void *addr, | ||
162 | size_t addrlen, | ||
163 | int force_address, | 159 | int force_address, |
164 | GNUNET_TRANSPORT_TransmitContinuation | 160 | GNUNET_TRANSPORT_TransmitContinuation cont, |
165 | cont, void *cont_cls) | 161 | void *cont_cls) |
166 | { | 162 | { |
167 | int bytes_sent = 0; | 163 | int bytes_sent = 0; |
168 | 164 | ||
@@ -203,10 +199,8 @@ template_plugin_disconnect (void *cls, const struct GNUNET_PeerIdentity *target) | |||
203 | * @param asc_cls closure for asc | 199 | * @param asc_cls closure for asc |
204 | */ | 200 | */ |
205 | static void | 201 | static void |
206 | template_plugin_address_pretty_printer (void *cls, | 202 | template_plugin_address_pretty_printer (void *cls, const char *type, |
207 | const char *type, | 203 | const void *addr, size_t addrlen, |
208 | const void *addr, | ||
209 | size_t addrlen, | ||
210 | int numeric, | 204 | int numeric, |
211 | struct GNUNET_TIME_Relative timeout, | 205 | struct GNUNET_TIME_Relative timeout, |
212 | GNUNET_TRANSPORT_AddressStringCallback | 206 | GNUNET_TRANSPORT_AddressStringCallback |