diff options
Diffstat (limited to 'src/transport/plugin_transport_http.h')
-rw-r--r-- | src/transport/plugin_transport_http.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h index 8ea1b03cf..11b369d40 100644 --- a/src/transport/plugin_transport_http.h +++ b/src/transport/plugin_transport_http.h | |||
@@ -54,6 +54,9 @@ | |||
54 | #define LIBGNUNET_PLUGIN_TRANSPORT_DONE libgnunet_plugin_transport_http_done | 54 | #define LIBGNUNET_PLUGIN_TRANSPORT_DONE libgnunet_plugin_transport_http_done |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #define INBOUND GNUNET_YES | ||
58 | #define OUTBOUND GNUNET_NO | ||
59 | |||
57 | 60 | ||
58 | #define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3) | 61 | #define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3) |
59 | 62 | ||
@@ -227,13 +230,16 @@ struct Session | |||
227 | void *client_put; | 230 | void *client_put; |
228 | void *client_get; | 231 | void *client_get; |
229 | 232 | ||
230 | void *server_put; | 233 | void *server_recv; |
231 | void *server_get; | 234 | void *server_send; |
232 | 235 | ||
233 | uint32_t tag; | 236 | uint32_t tag; |
234 | 237 | ||
235 | }; | 238 | }; |
236 | 239 | ||
240 | void | ||
241 | delete_session (struct Session *s); | ||
242 | |||
237 | struct Session * | 243 | struct Session * |
238 | create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target, | 244 | create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target, |
239 | const void *addr, size_t addrlen, | 245 | const void *addr, size_t addrlen, |