aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-29 20:47:18 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-29 20:47:18 +0000
commit71ea5bd2d05058008e604ffd42993be9c7250e04 (patch)
treea5074671ddfaa9d1621a4182fc95a91a98b3d536 /src/include/gnunet_ats_service.h
parentb335777fd435142c16eb05e86c8a64a4b1a45447 (diff)
downloadgnunet-71ea5bd2d05058008e604ffd42993be9c7250e04.tar.gz
gnunet-71ea5bd2d05058008e604ffd42993be9c7250e04.zip
-fixing indentation
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r--src/include/gnunet_ats_service.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index 8c9be13d4..ecbdd2f70 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -448,7 +448,9 @@ struct Session;
448 * @param ats_count number of performance records in 'ats' 448 * @param ats_count number of performance records in 'ats'
449 */ 449 */
450typedef void (*GNUNET_ATS_AddressSuggestionCallback) (void *cls, 450typedef void (*GNUNET_ATS_AddressSuggestionCallback) (void *cls,
451 const struct GNUNET_HELLO_Address *address, 451 const struct
452 GNUNET_HELLO_Address *
453 address,
452 struct Session * session, 454 struct Session * session,
453 struct 455 struct
454 GNUNET_BANDWIDTH_Value32NBO 456 GNUNET_BANDWIDTH_Value32NBO
@@ -504,7 +506,7 @@ GNUNET_ATS_suggest_address (struct GNUNET_ATS_SchedulingHandle *sh,
504 */ 506 */
505void 507void
506GNUNET_ATS_suggest_address_cancel (struct GNUNET_ATS_SchedulingHandle *sh, 508GNUNET_ATS_suggest_address_cancel (struct GNUNET_ATS_SchedulingHandle *sh,
507 const struct GNUNET_PeerIdentity *peer); 509 const struct GNUNET_PeerIdentity *peer);
508 510
509/** 511/**
510 * We have updated performance statistics for a given address. Note 512 * We have updated performance statistics for a given address. Note
@@ -522,7 +524,7 @@ GNUNET_ATS_suggest_address_cancel (struct GNUNET_ATS_SchedulingHandle *sh,
522 */ 524 */
523void 525void
524GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *sh, 526GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *sh,
525 const struct GNUNET_HELLO_Address *address, 527 const struct GNUNET_HELLO_Address *address,
526 struct Session *session, 528 struct Session *session,
527 const struct GNUNET_ATS_Information *ats, 529 const struct GNUNET_ATS_Information *ats,
528 uint32_t ats_count); 530 uint32_t ats_count);
@@ -540,8 +542,7 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *sh,
540void 542void
541GNUNET_ATS_address_in_use (struct GNUNET_ATS_SchedulingHandle *sh, 543GNUNET_ATS_address_in_use (struct GNUNET_ATS_SchedulingHandle *sh,
542 const struct GNUNET_HELLO_Address *address, 544 const struct GNUNET_HELLO_Address *address,
543 struct Session *session, 545 struct Session *session, int in_use);
544 int in_use);
545 546
546/** 547/**
547 * A session got destroyed, stop including it as a valid address. 548 * A session got destroyed, stop including it as a valid address.
@@ -553,7 +554,7 @@ GNUNET_ATS_address_in_use (struct GNUNET_ATS_SchedulingHandle *sh,
553void 554void
554GNUNET_ATS_address_destroyed (struct GNUNET_ATS_SchedulingHandle *sh, 555GNUNET_ATS_address_destroyed (struct GNUNET_ATS_SchedulingHandle *sh,
555 const struct GNUNET_HELLO_Address *address, 556 const struct GNUNET_HELLO_Address *address,
556 struct Session *session); 557 struct Session *session);
557 558
558 559
559/* ******************************** Performance API ***************************** */ 560/* ******************************** Performance API ***************************** */
@@ -575,7 +576,9 @@ struct GNUNET_ATS_PerformanceHandle;
575 * @param ats_count number of performance records in 'ats' 576 * @param ats_count number of performance records in 'ats'
576 */ 577 */
577typedef void (*GNUNET_ATS_PeerInformationCallback) (void *cls, 578typedef void (*GNUNET_ATS_PeerInformationCallback) (void *cls,
578 const struct GNUNET_HELLO_Address *address, 579 const struct
580 GNUNET_HELLO_Address *
581 address,
579 struct 582 struct
580 GNUNET_BANDWIDTH_Value32NBO 583 GNUNET_BANDWIDTH_Value32NBO
581 bandwidth_out, 584 bandwidth_out,