From 063adb71c2a42c2733e0665caefabf1dd3e74844 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 16 Sep 2011 12:38:26 +0000 Subject: --- src/transport/plugin_transport_http.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (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 8ea1b03cf..11b369d40 100644 --- a/src/transport/plugin_transport_http.h +++ b/src/transport/plugin_transport_http.h @@ -54,6 +54,9 @@ #define LIBGNUNET_PLUGIN_TRANSPORT_DONE libgnunet_plugin_transport_http_done #endif +#define INBOUND GNUNET_YES +#define OUTBOUND GNUNET_NO + #define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3) @@ -227,13 +230,16 @@ struct Session void *client_put; void *client_get; - void *server_put; - void *server_get; + void *server_recv; + void *server_send; uint32_t tag; }; +void +delete_session (struct Session *s); + struct Session * create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target, const void *addr, size_t addrlen, -- cgit v1.2.3