diff options
author | Willow Liquorice <willow@howhill.com> | 2022-08-26 20:33:40 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-30 09:41:54 +0200 |
commit | e1aa9919fe30e9193e6467d60a34e22b4ae091cf (patch) | |
tree | 45be7f61e948fd2d3dde4e6ce13d6d4fc5b76511 /src/include/gnunet_ats_service.h | |
parent | e5f227e7c3335d41ebfd844e3b50468cac66f5ed (diff) | |
download | gnunet-e1aa9919fe30e9193e6467d60a34e22b4ae091cf.tar.gz gnunet-e1aa9919fe30e9193e6467d60a34e22b4ae091cf.zip |
-Second pass through ATS subsystem
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r-- | src/include/gnunet_ats_service.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index 4e7a314d7..11a65c4f5 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -228,7 +228,7 @@ GNUNET_ATS_connectivity_suggest (struct GNUNET_ATS_ConnectivityHandle *ch, | |||
228 | /** | 228 | /** |
229 | * We no longer care about being connected to a peer. | 229 | * We no longer care about being connected to a peer. |
230 | * | 230 | * |
231 | * @param sh handle | 231 | * @param sh handle to stop |
232 | */ | 232 | */ |
233 | void | 233 | void |
234 | GNUNET_ATS_connectivity_suggest_cancel (struct | 234 | GNUNET_ATS_connectivity_suggest_cancel (struct |
@@ -373,7 +373,7 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_AddressRecord *ar, | |||
373 | /** | 373 | /** |
374 | * An address got destroyed, stop using it as a valid address. | 374 | * An address got destroyed, stop using it as a valid address. |
375 | * | 375 | * |
376 | * @param ar address record to destroy, it's validation has | 376 | * @param ar address record to destroy, its validation has |
377 | * expired and ATS may no longer use it | 377 | * expired and ATS may no longer use it |
378 | */ | 378 | */ |
379 | void | 379 | void |
@@ -524,7 +524,7 @@ GNUNET_ATS_reserve_bandwidth (struct GNUNET_ATS_PerformanceHandle *ph, | |||
524 | /** | 524 | /** |
525 | * Cancel request for reserving bandwidth. | 525 | * Cancel request for reserving bandwidth. |
526 | * | 526 | * |
527 | * @param rc context returned by the original GNUNET_ATS_reserve_bandwidth call | 527 | * @param rc context returned by the original #GNUNET_ATS_reserve_bandwidth() call |
528 | */ | 528 | */ |
529 | void | 529 | void |
530 | GNUNET_ATS_reserve_bandwidth_cancel (struct GNUNET_ATS_ReservationContext *rc); | 530 | GNUNET_ATS_reserve_bandwidth_cancel (struct GNUNET_ATS_ReservationContext *rc); |
@@ -572,7 +572,7 @@ enum GNUNET_ATS_PreferenceKind | |||
572 | 572 | ||
573 | 573 | ||
574 | /** | 574 | /** |
575 | * Convert a GNUNET_ATS_PreferenceType to a string | 575 | * Convert an `enum GNUNET_ATS_PreferenceType` to a string |
576 | * | 576 | * |
577 | * @param type the preference type | 577 | * @param type the preference type |
578 | * @return a string or NULL if invalid | 578 | * @return a string or NULL if invalid |
@@ -582,12 +582,13 @@ GNUNET_ATS_print_preference_type (enum GNUNET_ATS_PreferenceKind type); | |||
582 | 582 | ||
583 | 583 | ||
584 | /** | 584 | /** |
585 | * Change preferences for the given peer. Preference changes are forgotten if peers | 585 | * Change preferences for the given peer. Preference changes are |
586 | * disconnect. | 586 | * forgotten if peers disconnect. |
587 | * | 587 | * |
588 | * @param ph performance handle @param peer identifies the peer | 588 | * @param ph performance handle |
589 | * @param peer identifies the peer | ||
589 | * @param ... #GNUNET_ATS_PREFERENCE_END-terminated specification of the | 590 | * @param ... #GNUNET_ATS_PREFERENCE_END-terminated specification of the |
590 | * desired changes | 591 | * desired changes |
591 | */ | 592 | */ |
592 | void | 593 | void |
593 | GNUNET_ATS_performance_change_preference (struct | 594 | GNUNET_ATS_performance_change_preference (struct |