diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
commit | 83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch) | |
tree | d0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/transport/plugin_transport_http.h | |
parent | 28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff) | |
download | gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip |
curly wars / auto-indentation
Diffstat (limited to 'src/transport/plugin_transport_http.h')
-rw-r--r-- | src/transport/plugin_transport_http.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h index dd0bc4b9d..7ace96cb6 100644 --- a/src/transport/plugin_transport_http.h +++ b/src/transport/plugin_transport_http.h | |||
@@ -228,12 +228,12 @@ struct Plugin | |||
228 | /** | 228 | /** |
229 | * IPv4 server socket to bind to | 229 | * IPv4 server socket to bind to |
230 | */ | 230 | */ |
231 | struct sockaddr_in * server_addr_v4; | 231 | struct sockaddr_in *server_addr_v4; |
232 | 232 | ||
233 | /** | 233 | /** |
234 | * IPv6 server socket to bind to | 234 | * IPv6 server socket to bind to |
235 | */ | 235 | */ |
236 | struct sockaddr_in6 * server_addr_v6; | 236 | struct sockaddr_in6 *server_addr_v6; |
237 | 237 | ||
238 | /** | 238 | /** |
239 | * Server semi connections | 239 | * Server semi connections |
@@ -455,11 +455,10 @@ create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target, | |||
455 | GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls); | 455 | GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls); |
456 | 456 | ||
457 | struct GNUNET_TIME_Relative | 457 | struct GNUNET_TIME_Relative |
458 | http_plugin_receive (void *cls, const struct GNUNET_PeerIdentity * peer, | 458 | http_plugin_receive (void *cls, const struct GNUNET_PeerIdentity *peer, |
459 | const struct GNUNET_MessageHeader * message, | 459 | const struct GNUNET_MessageHeader *message, |
460 | struct Session * session, | 460 | struct Session *session, const char *sender_address, |
461 | const char *sender_address, | 461 | uint16_t sender_address_len); |
462 | uint16_t sender_address_len); | ||
463 | 462 | ||
464 | const char * | 463 | const char * |
465 | http_plugin_address_to_string (void *cls, const void *addr, size_t addrlen); | 464 | http_plugin_address_to_string (void *cls, const void *addr, size_t addrlen); |
@@ -483,7 +482,7 @@ int | |||
483 | server_disconnect (struct Session *s); | 482 | server_disconnect (struct Session *s); |
484 | 483 | ||
485 | int | 484 | int |
486 | server_send (struct Session *s, struct HTTP_Message * msg); | 485 | server_send (struct Session *s, struct HTTP_Message *msg); |
487 | 486 | ||
488 | int | 487 | int |
489 | server_start (struct Plugin *plugin); | 488 | server_start (struct Plugin *plugin); |
@@ -492,8 +491,7 @@ void | |||
492 | server_stop (struct Plugin *plugin); | 491 | server_stop (struct Plugin *plugin); |
493 | 492 | ||
494 | void | 493 | void |
495 | notify_session_end (void *cls, | 494 | notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, |
496 | const struct GNUNET_PeerIdentity * | 495 | struct Session *s); |
497 | peer, struct Session * s); | ||
498 | 496 | ||
499 | /* end of plugin_transport_http.h */ | 497 | /* end of plugin_transport_http.h */ |