aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-10-04 15:53:31 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-10-04 15:53:31 +0000
commit87322b3289b601a2b9ac69fb47f613930060c742 (patch)
tree60a747c8e19a731af9f55011eb728ddbeeda1bd6 /src/transport/plugin_transport_http.h
parentc0903135587174db426e04f7a50f1f319be9fad3 (diff)
downloadgnunet-87322b3289b601a2b9ac69fb47f613930060c742.tar.gz
gnunet-87322b3289b601a2b9ac69fb47f613930060c742.zip
implemented: client-only mode
Diffstat (limited to 'src/transport/plugin_transport_http.h')
-rw-r--r--src/transport/plugin_transport_http.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h
index 9b057d1b0..e62c980b4 100644
--- a/src/transport/plugin_transport_http.h
+++ b/src/transport/plugin_transport_http.h
@@ -42,9 +42,9 @@
42#include <curl/curl.h> 42#include <curl/curl.h>
43 43
44 44
45#define DEBUG_HTTP GNUNET_YES 45#define DEBUG_HTTP GNUNET_NO
46#define VERBOSE_SERVER GNUNET_YES 46#define VERBOSE_SERVER GNUNET_NO
47#define VERBOSE_CLIENT GNUNET_YES 47#define VERBOSE_CLIENT GNUNET_NO
48#define VERBOSE_CURL GNUNET_EXTRA_LOGGING 48#define VERBOSE_CURL GNUNET_EXTRA_LOGGING
49 49
50#if BUILD_HTTPS 50#if BUILD_HTTPS
@@ -143,6 +143,12 @@ struct Plugin
143 int ipv6; 143 int ipv6;
144 144
145 /** 145 /**
146 * Does plugin just use outbound connections and not accept inbound?
147 */
148
149 int client_only;
150
151 /**
146 * Port used 152 * Port used
147 */ 153 */
148 uint16_t port; 154 uint16_t port;