gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36157 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r36157 - gnunet/src/include
Date: Fri, 31 Jul 2015 14:19:05 +0200

Author: burdges
Date: 2015-07-31 14:19:05 +0200 (Fri, 31 Jul 2015)
New Revision: 36157

Modified:
   gnunet/src/include/gnunet_connection_lib.h
Log:
Export proxy methods



Modified: gnunet/src/include/gnunet_connection_lib.h
===================================================================
--- gnunet/src/include/gnunet_connection_lib.h  2015-07-31 12:17:39 UTC (rev 
36156)
+++ gnunet/src/include/gnunet_connection_lib.h  2015-07-31 12:19:05 UTC (rev 
36157)
@@ -359,7 +359,27 @@
                                                 *th);
 
 
+/**
+ * Create a connection to be proxied using a given connection.
+ *
+ * @param cph connection to proxy server
+ * @return connection to be proxied
+ */
+struct GNUNET_CONNECTION_Handle *
+GNUNET_CONNECTION_create_proxied_from_handshake (struct 
GNUNET_CONNECTION_Handle *cph);
 
+
+/**
+ * Activate proxied connection and destroy initial proxy handshake connection. 
+ * There must not be any pending requests for reading or writing to the
+ * proxy hadshake connection at this time.
+ *
+ * @param proxied connection connection to proxy server
+ */
+void
+GNUNET_CONNECTION_acivate_proxied (struct GNUNET_CONNECTION_Handle *proxied);
+
+
 #if 0                           /* keep Emacsens' auto-indent happy */
 {
 #endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]