From 4878053408a3681dca18b6a264d2b6ec719e79b0 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 15 Sep 2011 15:54:05 +0000 Subject: server side connection accepting and merging --- src/transport/plugin_transport_http.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/transport/plugin_transport_http.h') diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h index 24752aff3..8ea1b03cf 100644 --- a/src/transport/plugin_transport_http.h +++ b/src/transport/plugin_transport_http.h @@ -115,10 +115,12 @@ struct Plugin int max_connections; + /* Plugin values */ int cur_connections; + uint32_t last_tag; /* * Server handles @@ -134,6 +136,12 @@ struct Plugin char *key; char *cert; + struct Session *server_semi_head; + + struct Session *server_semi_tail; + + + /* * Client handles */ @@ -219,9 +227,18 @@ struct Session void *client_put; void *client_get; + void *server_put; + void *server_get; + + uint32_t tag; }; +struct Session * +create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target, + const void *addr, size_t addrlen, + GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls); + const char * http_plugin_address_to_string (void *cls, const void *addr, size_t addrlen); -- cgit v1.2.3