aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-03 22:15:09 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-03 22:15:09 +0000
commit2d6e9a9f1135bf0c673cb0de48c9bcad1a065993 (patch)
tree67fc0d66d8bc6c9a744a24cb72f435d598f56360 /src/include
parentea0217374e9d9fcbdcde0d8b1fabc64e64510269 (diff)
downloadgnunet-2d6e9a9f1135bf0c673cb0de48c9bcad1a065993.tar.gz
gnunet-2d6e9a9f1135bf0c673cb0de48c9bcad1a065993.zip
stuff
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_transport_service.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h
index 8d1eb2921..98ef8c229 100644
--- a/src/include/gnunet_transport_service.h
+++ b/src/include/gnunet_transport_service.h
@@ -491,6 +491,18 @@ void GNUNET_TRANSPORT_disconnect (struct GNUNET_TRANSPORT_Handle *handle);
491 491
492 492
493/** 493/**
494 * Ask the transport service to establish a connection to
495 * the given peer.
496 *
497 * @param handle connection to transport service
498 * @param target who we should try to connect to
499 */
500void
501GNUNET_TRANSPORT_try_connect (struct GNUNET_TRANSPORT_Handle *handle,
502 const struct GNUNET_PeerIdentity *target);
503
504
505/**
494 * Set the share of incoming/outgoing bandwidth for the given 506 * Set the share of incoming/outgoing bandwidth for the given
495 * peer to the specified amount. 507 * peer to the specified amount.
496 * 508 *
@@ -503,9 +515,7 @@ void
503GNUNET_TRANSPORT_set_quota (struct GNUNET_TRANSPORT_Handle *handle, 515GNUNET_TRANSPORT_set_quota (struct GNUNET_TRANSPORT_Handle *handle,
504 const struct GNUNET_PeerIdentity *target, 516 const struct GNUNET_PeerIdentity *target,
505 struct GNUNET_BANDWIDTH_Value32NBO quota_in, 517 struct GNUNET_BANDWIDTH_Value32NBO quota_in,
506 struct GNUNET_BANDWIDTH_Value32NBO quota_out, 518 struct GNUNET_BANDWIDTH_Value32NBO quota_out);
507 struct GNUNET_TIME_Relative timeout,
508 GNUNET_SCHEDULER_Task cont, void *cont_cls);
509 519
510 520
511/** 521/**