aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
commit83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch)
treed0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/transport/plugin_transport_http.h
parent28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff)
downloadgnunet-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.h20
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
457struct GNUNET_TIME_Relative 457struct GNUNET_TIME_Relative
458http_plugin_receive (void *cls, const struct GNUNET_PeerIdentity * peer, 458http_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
464const char * 463const char *
465http_plugin_address_to_string (void *cls, const void *addr, size_t addrlen); 464http_plugin_address_to_string (void *cls, const void *addr, size_t addrlen);
@@ -483,7 +482,7 @@ int
483server_disconnect (struct Session *s); 482server_disconnect (struct Session *s);
484 483
485int 484int
486server_send (struct Session *s, struct HTTP_Message * msg); 485server_send (struct Session *s, struct HTTP_Message *msg);
487 486
488int 487int
489server_start (struct Plugin *plugin); 488server_start (struct Plugin *plugin);
@@ -492,8 +491,7 @@ void
492server_stop (struct Plugin *plugin); 491server_stop (struct Plugin *plugin);
493 492
494void 493void
495notify_session_end (void *cls, 494notify_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 */