diff options
Diffstat (limited to 'src/transport/plugin_transport_http.h')
-rw-r--r-- | src/transport/plugin_transport_http.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 | |||
115 | int max_connections; | 115 | int max_connections; |
116 | 116 | ||
117 | 117 | ||
118 | |||
118 | /* Plugin values */ | 119 | /* Plugin values */ |
119 | 120 | ||
120 | 121 | ||
121 | int cur_connections; | 122 | int cur_connections; |
123 | uint32_t last_tag; | ||
122 | 124 | ||
123 | /* | 125 | /* |
124 | * Server handles | 126 | * Server handles |
@@ -134,6 +136,12 @@ struct Plugin | |||
134 | char *key; | 136 | char *key; |
135 | char *cert; | 137 | char *cert; |
136 | 138 | ||
139 | struct Session *server_semi_head; | ||
140 | |||
141 | struct Session *server_semi_tail; | ||
142 | |||
143 | |||
144 | |||
137 | /* | 145 | /* |
138 | * Client handles | 146 | * Client handles |
139 | */ | 147 | */ |
@@ -219,9 +227,18 @@ struct Session | |||
219 | void *client_put; | 227 | void *client_put; |
220 | void *client_get; | 228 | void *client_get; |
221 | 229 | ||
230 | void *server_put; | ||
231 | void *server_get; | ||
232 | |||
233 | uint32_t tag; | ||
222 | 234 | ||
223 | }; | 235 | }; |
224 | 236 | ||
237 | struct Session * | ||
238 | create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target, | ||
239 | const void *addr, size_t addrlen, | ||
240 | GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls); | ||
241 | |||
225 | const char * | 242 | const char * |
226 | http_plugin_address_to_string (void *cls, const void *addr, size_t addrlen); | 243 | http_plugin_address_to_string (void *cls, const void *addr, size_t addrlen); |
227 | 244 | ||