aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet-new_connection.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-31 11:44:08 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-31 11:44:08 +0100
commit5198a0e5b21f8bd0d13f2817602be401f96b726d (patch)
tree187dfd54a6e1b97c9b5d10e9bceb707e7877c98d /src/cadet/gnunet-service-cadet-new_connection.h
parent07a1059ce5ec359a6228bde8bfe2b22428a81f69 (diff)
downloadgnunet-5198a0e5b21f8bd0d13f2817602be401f96b726d.tar.gz
gnunet-5198a0e5b21f8bd0d13f2817602be401f96b726d.zip
do not recompute off if we can just pass it in
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_connection.h')
-rw-r--r--src/cadet/gnunet-service-cadet-new_connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_connection.h b/src/cadet/gnunet-service-cadet-new_connection.h
index 61d9d5d78..73388be7f 100644
--- a/src/cadet/gnunet-service-cadet-new_connection.h
+++ b/src/cadet/gnunet-service-cadet-new_connection.h
@@ -78,6 +78,7 @@ GCC_destroy_without_tunnel (struct CadetConnection *cc);
78 * 78 *
79 * @param destination where to go 79 * @param destination where to go
80 * @param path which path to take (may not be the full path) 80 * @param path which path to take (may not be the full path)
81 * @param off offset of @a destination on @a path
81 * @param options options for the connection 82 * @param options options for the connection
82 * @param ct which tunnel uses this connection 83 * @param ct which tunnel uses this connection
83 * @param ready_cb function to call when ready to transmit 84 * @param ready_cb function to call when ready to transmit
@@ -87,6 +88,7 @@ GCC_destroy_without_tunnel (struct CadetConnection *cc);
87struct CadetConnection * 88struct CadetConnection *
88GCC_create (struct CadetPeer *destination, 89GCC_create (struct CadetPeer *destination,
89 struct CadetPeerPath *path, 90 struct CadetPeerPath *path,
91 unsigned int off,
90 enum GNUNET_CADET_ChannelOption options, 92 enum GNUNET_CADET_ChannelOption options,
91 struct CadetTConnection *ct, 93 struct CadetTConnection *ct,
92 GCC_ReadyCallback ready_cb, 94 GCC_ReadyCallback ready_cb,