aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index 1b4a7c103..792f777ed 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -632,6 +632,7 @@ process_pending_messages (struct Session *session)
632 * 632 *
633 * @param cls closure 633 * @param cls closure
634 * @param target who should receive this message 634 * @param target who should receive this message
635 * @param priority how important is the message
635 * @param msg1 first message to transmit 636 * @param msg1 first message to transmit
636 * @param msg2 second message to transmit (can be NULL) 637 * @param msg2 second message to transmit (can be NULL)
637 * @param timeout how long should we try to transmit these? 638 * @param timeout how long should we try to transmit these?
@@ -643,6 +644,7 @@ process_pending_messages (struct Session *session)
643static void * 644static void *
644tcp_plugin_send_to (void *cls, 645tcp_plugin_send_to (void *cls,
645 const struct GNUNET_PeerIdentity *target, 646 const struct GNUNET_PeerIdentity *target,
647 unsigned int priority,
646 const struct GNUNET_MessageHeader *msg1, 648 const struct GNUNET_MessageHeader *msg1,
647 const struct GNUNET_MessageHeader *msg2, 649 const struct GNUNET_MessageHeader *msg2,
648 struct GNUNET_TIME_Relative timeout, 650 struct GNUNET_TIME_Relative timeout,
@@ -971,6 +973,7 @@ session_try_connect (void *cls,
971 * @param service_context value passed to the transport-service 973 * @param service_context value passed to the transport-service
972 * to identify the neighbour 974 * to identify the neighbour
973 * @param target who should receive this message 975 * @param target who should receive this message
976 * @param priority how important is the message
974 * @param msg the message to transmit 977 * @param msg the message to transmit
975 * @param cont continuation to call once the message has 978 * @param cont continuation to call once the message has
976 * been transmitted (or if the transport is ready 979 * been transmitted (or if the transport is ready
@@ -984,7 +987,8 @@ static void *
984tcp_plugin_send (void *cls, 987tcp_plugin_send (void *cls,
985 void *plugin_context, 988 void *plugin_context,
986 struct ReadyList *service_context, 989 struct ReadyList *service_context,
987 const struct GNUNET_PeerIdentity *target, 990 const struct GNUNET_PeerIdentity *target,
991 unsigned int priority,
988 const struct GNUNET_MessageHeader *msg, 992 const struct GNUNET_MessageHeader *msg,
989 struct GNUNET_TIME_Relative timeout, 993 struct GNUNET_TIME_Relative timeout,
990 GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls) 994 GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls)