aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_template.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-06-11 05:04:27 +0000
committerChristian Grothoff <christian@grothoff.org>2009-06-11 05:04:27 +0000
commitd69f6f4b6394ea1ee30fcb17ef4031ed620cb3a3 (patch)
tree5e7c4eeb6324aee882fb61e25edf7a88233f334f /src/transport/plugin_transport_template.c
parent60fb1d8676db1d92c9de10d203d248163e04d01f (diff)
downloadgnunet-d69f6f4b6394ea1ee30fcb17ef4031ed620cb3a3.tar.gz
gnunet-d69f6f4b6394ea1ee30fcb17ef4031ed620cb3a3.zip
API improvements
Diffstat (limited to 'src/transport/plugin_transport_template.c')
-rw-r--r--src/transport/plugin_transport_template.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c
index 1c8b06c61..496e2cf78 100644
--- a/src/transport/plugin_transport_template.c
+++ b/src/transport/plugin_transport_template.c
@@ -139,6 +139,7 @@ struct Plugin
139 * 139 *
140 * @param cls closure 140 * @param cls closure
141 * @param target who should receive this message 141 * @param target who should receive this message
142 * @param priority how important is the message
142 * @param msg1 first message to transmit 143 * @param msg1 first message to transmit
143 * @param msg2 second message to transmit (can be NULL) 144 * @param msg2 second message to transmit (can be NULL)
144 * @param timeout how long until we give up? 145 * @param timeout how long until we give up?
@@ -150,6 +151,7 @@ struct Plugin
150static void * 151static void *
151template_plugin_send_to (void *cls, 152template_plugin_send_to (void *cls,
152 const struct GNUNET_PeerIdentity *target, 153 const struct GNUNET_PeerIdentity *target,
154 unsigned int priority,
153 const struct GNUNET_MessageHeader *msg1, 155 const struct GNUNET_MessageHeader *msg1,
154 const struct GNUNET_MessageHeader *msg2, 156 const struct GNUNET_MessageHeader *msg2,
155 struct GNUNET_TIME_Relative timeout, 157 struct GNUNET_TIME_Relative timeout,
@@ -171,6 +173,7 @@ template_plugin_send_to (void *cls,
171 * @param service_context value passed to the transport-service 173 * @param service_context value passed to the transport-service
172 * to identify the neighbour 174 * to identify the neighbour
173 * @param target who should receive this message 175 * @param target who should receive this message
176 * @param priority how important is the message
174 * @param msg the message to transmit 177 * @param msg the message to transmit
175 * @param cont continuation to call once the message has 178 * @param cont continuation to call once the message has
176 * been transmitted (or if the transport is ready 179 * been transmitted (or if the transport is ready
@@ -185,6 +188,7 @@ template_plugin_send (void *cls,
185 void *plugin_context, 188 void *plugin_context,
186 struct ReadyList *service_context, 189 struct ReadyList *service_context,
187 const struct GNUNET_PeerIdentity *target, 190 const struct GNUNET_PeerIdentity *target,
191 unsigned int priority,
188 const struct GNUNET_MessageHeader *msg, 192 const struct GNUNET_MessageHeader *msg,
189 struct GNUNET_TIME_Relative timeout, 193 struct GNUNET_TIME_Relative timeout,
190 GNUNET_TRANSPORT_TransmitContinuation cont, 194 GNUNET_TRANSPORT_TransmitContinuation cont,