diff options
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r-- | src/include/gnunet_ats_service.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index 898a06654..421855710 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -522,6 +522,19 @@ void | |||
522 | GNUNET_ATS_suggest_address_cancel (struct GNUNET_ATS_SchedulingHandle *sh, | 522 | GNUNET_ATS_suggest_address_cancel (struct GNUNET_ATS_SchedulingHandle *sh, |
523 | const struct GNUNET_PeerIdentity *peer); | 523 | const struct GNUNET_PeerIdentity *peer); |
524 | 524 | ||
525 | |||
526 | /** | ||
527 | * Returns where the address is located: LAN or WAN or ... | ||
528 | * @param addr address | ||
529 | * @param addrlen address length | ||
530 | * @return location as GNUNET_ATS_Information | ||
531 | */ | ||
532 | struct GNUNET_ATS_Information | ||
533 | GNUNET_ATS_address_get_type (struct GNUNET_ATS_SchedulingHandle *sh, | ||
534 | const struct sockaddr * addr, | ||
535 | socklen_t addrlen); | ||
536 | |||
537 | |||
525 | /** | 538 | /** |
526 | * We have updated performance statistics for a given address. Note | 539 | * We have updated performance statistics for a given address. Note |
527 | * that this function can be called for addresses that are currently | 540 | * that this function can be called for addresses that are currently |