aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_ats.c
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_ats.c
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_ats.c')
-rw-r--r--src/transport/gnunet-service-transport_ats.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/transport/gnunet-service-transport_ats.c b/src/transport/gnunet-service-transport_ats.c
index 5fcd8f479..d6bc836d3 100644
--- a/src/transport/gnunet-service-transport_ats.c
+++ b/src/transport/gnunet-service-transport_ats.c
@@ -50,7 +50,7 @@ struct AddressInfo
50 /** 50 /**
51 * Session (can be NULL) 51 * Session (can be NULL)
52 */ 52 */
53 struct Session *session; 53 struct GNUNET_ATS_Session *session;
54 54
55 /** 55 /**
56 * Record with ATS API for the address. 56 * Record with ATS API for the address.
@@ -114,7 +114,7 @@ struct FindClosure
114 /** 114 /**
115 * Session to look for (only used if the address is inbound). 115 * Session to look for (only used if the address is inbound).
116 */ 116 */
117 struct Session *session; 117 struct GNUNET_ATS_Session *session;
118 118
119 /** 119 /**
120 * Address to look for. 120 * Address to look for.
@@ -188,7 +188,7 @@ find_ai_cb (void *cls,
188 */ 188 */
189static struct AddressInfo * 189static struct AddressInfo *
190find_ai (const struct GNUNET_HELLO_Address *address, 190find_ai (const struct GNUNET_HELLO_Address *address,
191 struct Session *session) 191 struct GNUNET_ATS_Session *session)
192{ 192{
193 struct FindClosure fc; 193 struct FindClosure fc;
194 194
@@ -267,7 +267,7 @@ find_ai_no_session (const struct GNUNET_HELLO_Address *address)
267 */ 267 */
268int 268int
269GST_ats_is_known (const struct GNUNET_HELLO_Address *address, 269GST_ats_is_known (const struct GNUNET_HELLO_Address *address,
270 struct Session *session) 270 struct GNUNET_ATS_Session *session)
271{ 271{
272 return (NULL != find_ai (address, session)) ? GNUNET_YES : GNUNET_NO; 272 return (NULL != find_ai (address, session)) ? GNUNET_YES : GNUNET_NO;
273} 273}
@@ -328,7 +328,7 @@ unblock_address (void *cls,
328 */ 328 */
329void 329void
330GST_ats_block_address (const struct GNUNET_HELLO_Address *address, 330GST_ats_block_address (const struct GNUNET_HELLO_Address *address,
331 struct Session *session) 331 struct GNUNET_ATS_Session *session)
332{ 332{
333 struct AddressInfo *ai; 333 struct AddressInfo *ai;
334 334
@@ -395,7 +395,7 @@ GST_ats_block_address (const struct GNUNET_HELLO_Address *address,
395 */ 395 */
396void 396void
397GST_ats_block_reset (const struct GNUNET_HELLO_Address *address, 397GST_ats_block_reset (const struct GNUNET_HELLO_Address *address,
398 struct Session *session) 398 struct GNUNET_ATS_Session *session)
399{ 399{
400 struct AddressInfo *ai; 400 struct AddressInfo *ai;
401 401
@@ -423,7 +423,7 @@ GST_ats_block_reset (const struct GNUNET_HELLO_Address *address,
423 */ 423 */
424void 424void
425GST_ats_add_inbound_address (const struct GNUNET_HELLO_Address *address, 425GST_ats_add_inbound_address (const struct GNUNET_HELLO_Address *address,
426 struct Session *session, 426 struct GNUNET_ATS_Session *session,
427 const struct GNUNET_ATS_Properties *prop) 427 const struct GNUNET_ATS_Properties *prop)
428{ 428{
429 struct GNUNET_ATS_AddressRecord *ar; 429 struct GNUNET_ATS_AddressRecord *ar;
@@ -533,7 +533,7 @@ GST_ats_add_address (const struct GNUNET_HELLO_Address *address,
533 */ 533 */
534void 534void
535GST_ats_new_session (const struct GNUNET_HELLO_Address *address, 535GST_ats_new_session (const struct GNUNET_HELLO_Address *address,
536 struct Session *session) 536 struct GNUNET_ATS_Session *session)
537{ 537{
538 struct AddressInfo *ai; 538 struct AddressInfo *ai;
539 539
@@ -611,7 +611,7 @@ destroy_ai (struct AddressInfo *ai)
611 */ 611 */
612void 612void
613GST_ats_del_session (const struct GNUNET_HELLO_Address *address, 613GST_ats_del_session (const struct GNUNET_HELLO_Address *address,
614 struct Session *session) 614 struct GNUNET_ATS_Session *session)
615{ 615{
616 struct AddressInfo *ai; 616 struct AddressInfo *ai;
617 617