diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-05 12:52:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-05 12:52:20 +0000 |
commit | c55971f17dc99f9833af48e078c8f681be771cb7 (patch) | |
tree | 544fd671b67903506419c98d463d086a696e25a1 /src/include/gnunet_ats_service.h | |
parent | 15dd8e6cc1199d611d804853e134882bf13b234a (diff) | |
download | gnunet-c55971f17dc99f9833af48e078c8f681be771cb7.tar.gz gnunet-c55971f17dc99f9833af48e078c8f681be771cb7.zip |
big ATS refactoring, no serious semantic changes should stem from this
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r-- | src/include/gnunet_ats_service.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index 380a2a7af..8c3c5361e 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -704,14 +704,16 @@ struct GNUNET_ATS_ReservationContext; | |||
704 | * @param amount reserve N bytes for receiving, negative | 704 | * @param amount reserve N bytes for receiving, negative |
705 | * amounts can be used to undo a (recent) reservation; | 705 | * amounts can be used to undo a (recent) reservation; |
706 | * @param rcb function to call with the resulting reservation information | 706 | * @param rcb function to call with the resulting reservation information |
707 | * @param rcb_cls closure for info | 707 | * @param rcb_cls closure for @a rcb |
708 | * @return NULL on error | 708 | * @return NULL on error |
709 | * @deprecated will be replaced soon | 709 | * @deprecated will be replaced soon |
710 | */ | 710 | */ |
711 | struct GNUNET_ATS_ReservationContext * | 711 | struct GNUNET_ATS_ReservationContext * |
712 | GNUNET_ATS_reserve_bandwidth (struct GNUNET_ATS_PerformanceHandle *ph, | 712 | GNUNET_ATS_reserve_bandwidth (struct GNUNET_ATS_PerformanceHandle *ph, |
713 | const struct GNUNET_PeerIdentity *peer, int32_t amount, | 713 | const struct GNUNET_PeerIdentity *peer, |
714 | GNUNET_ATS_ReservationCallback rcb, void *rcb_cls); | 714 | int32_t amount, |
715 | GNUNET_ATS_ReservationCallback rcb, | ||
716 | void *rcb_cls); | ||
715 | 717 | ||
716 | 718 | ||
717 | /** | 719 | /** |
@@ -786,7 +788,8 @@ GNUNET_ATS_print_preference_type (uint32_t type); | |||
786 | */ | 788 | */ |
787 | void | 789 | void |
788 | GNUNET_ATS_performance_change_preference (struct GNUNET_ATS_PerformanceHandle *ph, | 790 | GNUNET_ATS_performance_change_preference (struct GNUNET_ATS_PerformanceHandle *ph, |
789 | const struct GNUNET_PeerIdentity *peer, ...); | 791 | const struct GNUNET_PeerIdentity *peer, |
792 | ...); | ||
790 | 793 | ||
791 | 794 | ||
792 | /** | 795 | /** |
@@ -808,8 +811,9 @@ GNUNET_ATS_performance_change_preference (struct GNUNET_ATS_PerformanceHandle *p | |||
808 | */ | 811 | */ |
809 | void | 812 | void |
810 | GNUNET_ATS_performance_give_feedback (struct GNUNET_ATS_PerformanceHandle *ph, | 813 | GNUNET_ATS_performance_give_feedback (struct GNUNET_ATS_PerformanceHandle *ph, |
811 | const struct GNUNET_PeerIdentity *peer, | 814 | const struct GNUNET_PeerIdentity *peer, |
812 | const struct GNUNET_TIME_Relative scope, ...); | 815 | const struct GNUNET_TIME_Relative scope, |
816 | ...); | ||
813 | 817 | ||
814 | #endif | 818 | #endif |
815 | /* end of file gnunet-service-transport_ats.h */ | 819 | /* end of file gnunet-service-transport_ats.h */ |