aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-17 07:55:41 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-17 07:55:41 +0000
commita2d9b4434076254811584a4a0ffa8881d0903db8 (patch)
tree4f5a2ee5daaabdedb45aa5e7e1d03e3c0f28ed0e /src/ats/ats_api.c
parent4b5e8dcb8d6f0d29fffb823e600c73be404d9b39 (diff)
downloadgnunet-a2d9b4434076254811584a4a0ffa8881d0903db8.tar.gz
gnunet-a2d9b4434076254811584a4a0ffa8881d0903db8.zip
move GNUNET_TRANSPORT_ATS_ to GNUNET_ATS_
Diffstat (limited to 'src/ats/ats_api.c')
-rw-r--r--src/ats/ats_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ats/ats_api.c b/src/ats/ats_api.c
index 29a273e3e..61d3895d2 100644
--- a/src/ats/ats_api.c
+++ b/src/ats/ats_api.c
@@ -523,7 +523,7 @@ update_session (void *cls, const GNUNET_HashCode * key, void *value)
523static struct AllocationRecord * 523static struct AllocationRecord *
524create_allocation_record (const char *plugin_name, struct Session *session, 524create_allocation_record (const char *plugin_name, struct Session *session,
525 const void *plugin_addr, size_t plugin_addr_len, 525 const void *plugin_addr, size_t plugin_addr_len,
526 const struct GNUNET_TRANSPORT_ATS_Information *ats, 526 const struct GNUNET_ATS_Information *ats,
527 uint32_t ats_count) 527 uint32_t ats_count)
528{ 528{
529 struct AllocationRecord *ar; 529 struct AllocationRecord *ar;
@@ -539,7 +539,7 @@ create_allocation_record (const char *plugin_name, struct Session *session,
539 GNUNET_assert (ats_count > 0); 539 GNUNET_assert (ats_count > 0);
540 GNUNET_array_grow (ar->ats, ar->ats_count, ats_count); 540 GNUNET_array_grow (ar->ats, ar->ats_count, ats_count);
541 memcpy (ar->ats, ats, 541 memcpy (ar->ats, ats,
542 ats_count * sizeof (struct GNUNET_TRANSPORT_ATS_Information)); 542 ats_count * sizeof (struct GNUNET_ATS_Information));
543 ar->connected = GNUNET_SYSERR; /* aka: not known / no change */ 543 ar->connected = GNUNET_SYSERR; /* aka: not known / no change */
544 return ar; 544 return ar;
545} 545}
@@ -587,7 +587,7 @@ GNUNET_ATS_peer_connect (struct GNUNET_ATS_SchedulingHandle *atc,
587 const struct GNUNET_PeerIdentity *peer, 587 const struct GNUNET_PeerIdentity *peer,
588 const char *plugin_name, struct Session *session, 588 const char *plugin_name, struct Session *session,
589 const void *plugin_addr, size_t plugin_addr_len, 589 const void *plugin_addr, size_t plugin_addr_len,
590 const struct GNUNET_TRANSPORT_ATS_Information *ats, 590 const struct GNUNET_ATS_Information *ats,
591 uint32_t ats_count) 591 uint32_t ats_count)
592{ 592{
593 struct AllocationRecord *ar; 593 struct AllocationRecord *ar;
@@ -761,7 +761,7 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *atc,
761 struct GNUNET_TIME_Absolute valid_until, 761 struct GNUNET_TIME_Absolute valid_until,
762 const char *plugin_name, struct Session *session, 762 const char *plugin_name, struct Session *session,
763 const void *plugin_addr, size_t plugin_addr_len, 763 const void *plugin_addr, size_t plugin_addr_len,
764 const struct GNUNET_TRANSPORT_ATS_Information *ats, 764 const struct GNUNET_ATS_Information *ats,
765 uint32_t ats_count) 765 uint32_t ats_count)
766{ 766{
767 struct AllocationRecord *ar; 767 struct AllocationRecord *ar;