aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-18 12:33:21 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-18 12:33:21 +0000
commit9cd0d5068f3341fe8451a61872894f28a5ac9047 (patch)
tree390b09e837978c1dbef176950b04f42ecf39e140 /src/transport/gnunet-service-transport_neighbours.h
parent38d26a302cba9de8362960186b645e8f2133a538 (diff)
downloadgnunet-9cd0d5068f3341fe8451a61872894f28a5ac9047.tar.gz
gnunet-9cd0d5068f3341fe8451a61872894f28a5ac9047.zip
rename 'struct Session' to 'struct GNUNET_ATS_Session' to satisfy naming conventions
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h
index a6c9f2f53..b7864399d 100644
--- a/src/transport/gnunet-service-transport_neighbours.h
+++ b/src/transport/gnunet-service-transport_neighbours.h
@@ -194,7 +194,7 @@ GST_neighbours_iterate (GST_NeighbourIterator cb, void *cb_cls);
194 */ 194 */
195int 195int
196GST_neighbours_session_terminated (const struct GNUNET_PeerIdentity *peer, 196GST_neighbours_session_terminated (const struct GNUNET_PeerIdentity *peer,
197 struct Session *session); 197 struct GNUNET_ATS_Session *session);
198 198
199 199
200/** 200/**
@@ -221,7 +221,7 @@ GST_neighbours_notify_data_recv (const struct GNUNET_HELLO_Address *address,
221 */ 221 */
222void 222void
223GST_neighbours_notify_data_sent (const struct GNUNET_HELLO_Address *address, 223GST_neighbours_notify_data_sent (const struct GNUNET_HELLO_Address *address,
224 struct Session *session, 224 struct GNUNET_ATS_Session *session,
225 size_t size); 225 size_t size);
226 226
227 227
@@ -236,7 +236,7 @@ GST_neighbours_notify_data_sent (const struct GNUNET_HELLO_Address *address,
236 */ 236 */
237void 237void
238GST_neighbours_switch_to_address (const struct GNUNET_HELLO_Address *address, 238GST_neighbours_switch_to_address (const struct GNUNET_HELLO_Address *address,
239 struct Session *session, 239 struct GNUNET_ATS_Session *session,
240 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, 240 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
241 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out); 241 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out);
242 242
@@ -245,7 +245,7 @@ GST_neighbours_switch_to_address (const struct GNUNET_HELLO_Address *address,
245 * We received a 'SESSION_CONNECT' message from the other peer. 245 * We received a 'SESSION_CONNECT' message from the other peer.
246 * Consider switching to it. 246 * Consider switching to it.
247 * 247 *
248 * @param message possibly a 'struct SessionConnectMessage' (check format) 248 * @param message possibly a 'struct GNUNET_ATS_SessionConnectMessage' (check format)
249 * @param peer identity of the peer to switch the address for 249 * @param peer identity of the peer to switch the address for
250 * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error 250 * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error
251 */ 251 */
@@ -258,7 +258,7 @@ GST_neighbours_handle_session_syn (const struct GNUNET_MessageHeader *message,
258 * We received a 'SESSION_CONNECT_ACK' message from the other peer. 258 * We received a 'SESSION_CONNECT_ACK' message from the other peer.
259 * Consider switching to it. 259 * Consider switching to it.
260 * 260 *
261 * @param message possibly a `struct SessionConnectMessage` (check format) 261 * @param message possibly a `struct GNUNET_ATS_SessionConnectMessage` (check format)
262 * @param address address of the other peer 262 * @param address address of the other peer
263 * @param session session to use (or NULL) 263 * @param session session to use (or NULL)
264 * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error 264 * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error
@@ -266,7 +266,7 @@ GST_neighbours_handle_session_syn (const struct GNUNET_MessageHeader *message,
266int 266int
267GST_neighbours_handle_session_syn_ack (const struct GNUNET_MessageHeader *message, 267GST_neighbours_handle_session_syn_ack (const struct GNUNET_MessageHeader *message,
268 const struct GNUNET_HELLO_Address *address, 268 const struct GNUNET_HELLO_Address *address,
269 struct Session *session); 269 struct GNUNET_ATS_Session *session);
270 270
271 271
272/** 272/**
@@ -274,7 +274,7 @@ GST_neighbours_handle_session_syn_ack (const struct GNUNET_MessageHeader *messag
274 * If we sent a 'CONNECT_ACK' last, this means we are now 274 * If we sent a 'CONNECT_ACK' last, this means we are now
275 * connected. Otherwise, do nothing. 275 * connected. Otherwise, do nothing.
276 * 276 *
277 * @param message possibly a 'struct SessionConnectMessage' (check format) 277 * @param message possibly a 'struct GNUNET_ATS_SessionConnectMessage' (check format)
278 * @param address address of the other peer 278 * @param address address of the other peer
279 * @param session session to use (or NULL) 279 * @param session session to use (or NULL)
280 * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error 280 * @return #GNUNET_OK if the message was fine, #GNUNET_SYSERR on serious error
@@ -282,7 +282,7 @@ GST_neighbours_handle_session_syn_ack (const struct GNUNET_MessageHeader *messag
282int 282int
283GST_neighbours_handle_session_ack (const struct GNUNET_MessageHeader *message, 283GST_neighbours_handle_session_ack (const struct GNUNET_MessageHeader *message,
284 const struct GNUNET_HELLO_Address *address, 284 const struct GNUNET_HELLO_Address *address,
285 struct Session *session); 285 struct GNUNET_ATS_Session *session);
286 286
287 287
288/** 288/**